169 lines
3.5 KiB
Smali
169 lines
3.5 KiB
Smali
.class public Lac/i$c;
|
|
.super Landroidx/room/c;
|
|
.source "SearchHistoryDao_Impl.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lac/i;-><init>(Landroidx/room/RoomDatabase;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Landroidx/room/c<",
|
|
"Lcom/skt/tmap/db/entity/SearchHistoryEntity;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic d:Lac/i;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lac/i;Landroidx/room/RoomDatabase;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x8010,
|
|
0x0
|
|
}
|
|
names = {
|
|
"this$0",
|
|
"database"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lac/i$c;->d:Lac/i;
|
|
|
|
invoke-direct {p0, p2}, Landroidx/room/c;-><init>(Landroidx/room/RoomDatabase;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public d()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "UPDATE OR ABORT `search_history` SET `id` = ?,`searchWord` = ?,`searchDate` = ? WHERE `id` = ?"
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public bridge synthetic g(Lc3/i;Ljava/lang/Object;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x1000,
|
|
0x1000
|
|
}
|
|
names = {
|
|
"stmt",
|
|
"value"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
check-cast p2, Lcom/skt/tmap/db/entity/SearchHistoryEntity;
|
|
|
|
invoke-virtual {p0, p1, p2}, Lac/i$c;->k(Lc3/i;Lcom/skt/tmap/db/entity/SearchHistoryEntity;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public k(Lc3/i;Lcom/skt/tmap/db/entity/SearchHistoryEntity;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"stmt",
|
|
"value"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p2}, Lcom/skt/tmap/db/entity/SearchHistoryEntity;->getId()I
|
|
|
|
move-result v0
|
|
|
|
int-to-long v0, v0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-interface {p1, v2, v0, v1}, Lc3/f;->O0(IJ)V
|
|
|
|
.line 2
|
|
invoke-virtual {p2}, Lcom/skt/tmap/db/entity/SearchHistoryEntity;->getSearchWord()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x2
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 3
|
|
invoke-interface {p1, v1}, Lc3/f;->h1(I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 4
|
|
:cond_0
|
|
invoke-virtual {p2}, Lcom/skt/tmap/db/entity/SearchHistoryEntity;->getSearchWord()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {p1, v1, v0}, Lc3/f;->x0(ILjava/lang/String;)V
|
|
|
|
.line 5
|
|
:goto_0
|
|
invoke-virtual {p2}, Lcom/skt/tmap/db/entity/SearchHistoryEntity;->getSearchDate()Ljava/util/Date;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lzb/a;->b(Ljava/util/Date;)Ljava/lang/Long;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x3
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 6
|
|
invoke-interface {p1, v1}, Lc3/f;->h1(I)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 7
|
|
:cond_1
|
|
invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
|
|
|
|
move-result-wide v2
|
|
|
|
invoke-interface {p1, v1, v2, v3}, Lc3/f;->O0(IJ)V
|
|
|
|
:goto_1
|
|
const/4 v0, 0x4
|
|
|
|
.line 8
|
|
invoke-virtual {p2}, Lcom/skt/tmap/db/entity/SearchHistoryEntity;->getId()I
|
|
|
|
move-result p2
|
|
|
|
int-to-long v1, p2
|
|
|
|
invoke-interface {p1, v0, v1, v2}, Lc3/f;->O0(IJ)V
|
|
|
|
return-void
|
|
.end method
|