591 lines
14 KiB
Smali
591 lines
14 KiB
Smali
.class public Lb9/c$a;
|
|
.super Lb9/a;
|
|
.source "QueryConversationProject.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lb9/c;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "a"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lb9/a<",
|
|
"Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final q:[Ljava/lang/String;
|
|
|
|
|
|
# instance fields
|
|
.field public f:La9/a;
|
|
|
|
.field public g:I
|
|
|
|
.field public h:I
|
|
|
|
.field public i:I
|
|
|
|
.field public j:I
|
|
|
|
.field public k:I
|
|
|
|
.field public l:I
|
|
|
|
.field public m:I
|
|
|
|
.field public n:I
|
|
|
|
.field public o:I
|
|
|
|
.field public p:I
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 10
|
|
|
|
const-string v0, "_id"
|
|
|
|
const-string v1, "date"
|
|
|
|
const-string v2, "read"
|
|
|
|
const-string v3, "type"
|
|
|
|
const-string v4, "address"
|
|
|
|
const-string v5, "thread_id"
|
|
|
|
const-string v6, "m_id"
|
|
|
|
const-string v7, "body"
|
|
|
|
const-string v8, "sub"
|
|
|
|
const-string v9, "sub_cs"
|
|
|
|
.line 1
|
|
filled-new-array/range {v0 .. v9}, [Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lb9/c$a;->q:[Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lb9/a;-><init>()V
|
|
|
|
.line 2
|
|
new-instance v0, La9/a;
|
|
|
|
invoke-direct {v0}, La9/a;-><init>()V
|
|
|
|
iput-object v0, p0, Lb9/c$a;->f:La9/a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public c()[Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Lb9/c$a;->q:[Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public d()Ljava/lang/String;
|
|
.locals 4
|
|
|
|
.line 1
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
.line 2
|
|
iget-boolean v1, p0, Lb9/a;->c:Z
|
|
|
|
const-string v2, " "
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
const-string v1, "read"
|
|
|
|
const-string v3, "!=1"
|
|
|
|
.line 3
|
|
invoke-static {v0, v2, v1, v3, v2}, Landroidx/room/f;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
:cond_0
|
|
iget-object v1, p0, Lb9/a;->e:Ljava/lang/String;
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 5
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->length()I
|
|
|
|
move-result v1
|
|
|
|
if-lez v1, :cond_1
|
|
|
|
const-string v1, " AND "
|
|
|
|
.line 6
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 7
|
|
:cond_1
|
|
iget-object v1, p0, Lb9/a;->e:Ljava/lang/String;
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 8
|
|
:cond_2
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public e()[Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public g()Landroid/net/Uri;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Landroid/provider/Telephony$MmsSms;->CONTENT_CONVERSATIONS_URI:Landroid/net/Uri;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic h(Landroid/content/Context;Landroid/database/Cursor;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1, p2}, Lb9/c$a;->o(Landroid/content/Context;Landroid/database/Cursor;)Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public i(Landroid/content/Context;)Ljava/util/List;
|
|
.locals 8
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/content/Context;",
|
|
")",
|
|
"Ljava/util/List<",
|
|
"Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
|
|
|
|
move-result-object v0
|
|
|
|
.line 2
|
|
new-instance v6, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
const/4 v7, 0x0
|
|
|
|
.line 3
|
|
:try_start_0
|
|
invoke-virtual {p0}, Lb9/c$a;->g()Landroid/net/Uri;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p0}, Lb9/c$a;->c()[Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {p0}, Lb9/c$a;->d()Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {p0}, Lb9/c$a;->e()[Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
iget-object v5, p0, Lb9/a;->d:Ljava/lang/String;
|
|
|
|
invoke-virtual/range {v0 .. v5}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
|
|
|
|
move-result-object v7
|
|
|
|
if-eqz v7, :cond_1
|
|
|
|
.line 4
|
|
invoke-interface {v7}, Landroid/database/Cursor;->moveToFirst()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 5
|
|
invoke-virtual {p0, v7}, Lb9/c$a;->n(Landroid/database/Cursor;)V
|
|
|
|
.line 6
|
|
:cond_0
|
|
invoke-virtual {p0, p1, v7}, Lb9/c$a;->o(Landroid/content/Context;Landroid/database/Cursor;)Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;
|
|
|
|
move-result-object v0
|
|
|
|
.line 7
|
|
invoke-virtual {v6, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 8
|
|
invoke-interface {v7}, Landroid/database/Cursor;->moveToNext()Z
|
|
|
|
move-result v0
|
|
:try_end_0
|
|
.catch Landroid/database/sqlite/SQLiteException; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 9
|
|
:cond_1
|
|
:goto_0
|
|
invoke-static {v7}, Lcom/skt/aicloud/mobile/service/util/l;->b(Ljava/io/Closeable;)V
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
goto :goto_2
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 10
|
|
:try_start_1
|
|
invoke-static {}, Lb9/c;->a()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "loadAll() : SQLiteException(%s)"
|
|
|
|
const/4 v2, 0x1
|
|
|
|
new-array v2, v2, [Ljava/lang/Object;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-virtual {p1}, Landroid/database/sqlite/SQLiteException;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
aput-object p1, v2, v3
|
|
|
|
invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {v0, p1}, Lcom/beyless/android/lib/util/log/BLog;->e(Ljava/lang/String;Ljava/lang/String;)V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
goto :goto_0
|
|
|
|
:goto_1
|
|
return-object v6
|
|
|
|
.line 11
|
|
:goto_2
|
|
invoke-static {v7}, Lcom/skt/aicloud/mobile/service/util/l;->b(Ljava/io/Closeable;)V
|
|
|
|
.line 12
|
|
throw p1
|
|
.end method
|
|
|
|
.method public n(Landroid/database/Cursor;)V
|
|
.locals 1
|
|
|
|
const-string v0, "_id"
|
|
|
|
.line 1
|
|
invoke-interface {p1, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lb9/c$a;->g:I
|
|
|
|
const-string v0, "date"
|
|
|
|
.line 2
|
|
invoke-interface {p1, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lb9/c$a;->h:I
|
|
|
|
const-string v0, "read"
|
|
|
|
.line 3
|
|
invoke-interface {p1, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lb9/c$a;->i:I
|
|
|
|
const-string v0, "type"
|
|
|
|
.line 4
|
|
invoke-interface {p1, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lb9/c$a;->j:I
|
|
|
|
const-string v0, "address"
|
|
|
|
.line 5
|
|
invoke-interface {p1, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lb9/c$a;->k:I
|
|
|
|
const-string v0, "thread_id"
|
|
|
|
.line 6
|
|
invoke-interface {p1, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lb9/c$a;->l:I
|
|
|
|
const-string v0, "m_id"
|
|
|
|
.line 7
|
|
invoke-interface {p1, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lb9/c$a;->m:I
|
|
|
|
const-string v0, "body"
|
|
|
|
.line 8
|
|
invoke-interface {p1, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lb9/c$a;->n:I
|
|
|
|
const-string v0, "sub"
|
|
|
|
.line 9
|
|
invoke-interface {p1, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p0, Lb9/c$a;->o:I
|
|
|
|
const-string v0, "sub_cs"
|
|
|
|
.line 10
|
|
invoke-interface {p1, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lb9/c$a;->p:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public o(Landroid/content/Context;Landroid/database/Cursor;)Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;
|
|
.locals 4
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;
|
|
|
|
sget-object v1, Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData$Type;->CONVERSATION:Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData$Type;
|
|
|
|
invoke-direct {v0, v1}, Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;-><init>(Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData$Type;)V
|
|
|
|
.line 2
|
|
iget v1, p0, Lb9/c$a;->g:I
|
|
|
|
invoke-static {p2, v1}, Lcom/skt/aicloud/mobile/service/util/g;->c(Landroid/database/Cursor;I)J
|
|
|
|
move-result-wide v1
|
|
|
|
iput-wide v1, v0, Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;->b:J
|
|
|
|
.line 3
|
|
iget v1, p0, Lb9/c$a;->h:I
|
|
|
|
invoke-static {p2, v1}, Lcom/skt/aicloud/mobile/service/util/g;->c(Landroid/database/Cursor;I)J
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-virtual {v0, v1, v2}, Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;->m(J)V
|
|
|
|
.line 4
|
|
iget v1, p0, Lb9/c$a;->i:I
|
|
|
|
invoke-static {p2, v1}, Lcom/skt/aicloud/mobile/service/util/g;->a(Landroid/database/Cursor;I)I
|
|
|
|
move-result v1
|
|
|
|
iput v1, v0, Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;->c:I
|
|
|
|
.line 5
|
|
iget v1, p0, Lb9/c$a;->j:I
|
|
|
|
invoke-static {p2, v1}, Lcom/skt/aicloud/mobile/service/util/g;->a(Landroid/database/Cursor;I)I
|
|
|
|
move-result v1
|
|
|
|
iput v1, v0, Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;->g:I
|
|
|
|
.line 6
|
|
iget v1, p0, Lb9/c$a;->k:I
|
|
|
|
invoke-static {p2, v1}, Lcom/skt/aicloud/mobile/service/util/g;->e(Landroid/database/Cursor;I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, v0, Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;->i:Ljava/lang/String;
|
|
|
|
.line 7
|
|
iget v1, p0, Lb9/c$a;->l:I
|
|
|
|
invoke-static {p2, v1}, Lcom/skt/aicloud/mobile/service/util/g;->c(Landroid/database/Cursor;I)J
|
|
|
|
move-result-wide v1
|
|
|
|
iput-wide v1, v0, Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;->d:J
|
|
|
|
.line 8
|
|
iget v1, p0, Lb9/c$a;->m:I
|
|
|
|
invoke-static {p2, v1}, Lcom/skt/aicloud/mobile/service/util/g;->e(Landroid/database/Cursor;I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, v0, Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;->e:Ljava/lang/String;
|
|
|
|
.line 9
|
|
iget v1, p0, Lb9/c$a;->o:I
|
|
|
|
invoke-static {p2, v1}, Lcom/skt/aicloud/mobile/service/util/g;->e(Landroid/database/Cursor;I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, v0, Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;->V0:Ljava/lang/String;
|
|
|
|
.line 10
|
|
iget v1, p0, Lb9/c$a;->p:I
|
|
|
|
invoke-static {p2, v1}, Lcom/skt/aicloud/mobile/service/util/g;->e(Landroid/database/Cursor;I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
iput-object v1, v0, Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;->W0:Ljava/lang/String;
|
|
|
|
.line 11
|
|
iget-object v1, v0, Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;->e:Ljava/lang/String;
|
|
|
|
.line 12
|
|
invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
|
|
|
|
move-result-object p1
|
|
|
|
.line 13
|
|
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_1
|
|
|
|
const-string v2, "null"
|
|
|
|
invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 14
|
|
:cond_0
|
|
iget-boolean p2, p0, Lb9/a;->a:Z
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
.line 15
|
|
iget-object p2, p0, Lb9/c$a;->f:La9/a;
|
|
|
|
iget-wide v1, v0, Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;->d:J
|
|
|
|
iget-object v3, v0, Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;->e:Ljava/lang/String;
|
|
|
|
invoke-virtual {p2, p1, v1, v2, v3}, La9/a;->c(Landroid/content/ContentResolver;JLjava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
.line 16
|
|
iget-object v1, p0, Lb9/c$a;->f:La9/a;
|
|
|
|
invoke-virtual {v1, p1, p2}, La9/a;->g(Landroid/content/ContentResolver;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
.line 17
|
|
iput-object p1, v0, Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;->h:Ljava/lang/String;
|
|
|
|
goto :goto_1
|
|
|
|
.line 18
|
|
:cond_1
|
|
:goto_0
|
|
iget p1, p0, Lb9/c$a;->n:I
|
|
|
|
invoke-static {p2, p1}, Lcom/skt/aicloud/mobile/service/util/g;->e(Landroid/database/Cursor;I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, v0, Lcom/skt/aicloud/mobile/service/communication/message/model/TextMessageRawData;->h:Ljava/lang/String;
|
|
|
|
:cond_2
|
|
:goto_1
|
|
return-object v0
|
|
.end method
|