335 lines
10 KiB
Smali
335 lines
10 KiB
Smali
|
.class Landroidx/work/impl/model/WorkSpecDao_Impl$1;
|
||
|
.super Landroidx/room/EntityInsertionAdapter;
|
||
|
.source "WorkSpecDao_Impl.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Landroidx/work/impl/model/WorkSpecDao_Impl;-><init>(Landroidx/room/RoomDatabase;)V
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x0
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Landroidx/room/EntityInsertionAdapter<",
|
||
|
"Landroidx/work/impl/model/WorkSpec;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic this$0:Landroidx/work/impl/model/WorkSpecDao_Impl;
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Landroidx/work/impl/model/WorkSpecDao_Impl;Landroidx/room/RoomDatabase;)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-object p1, p0, Landroidx/work/impl/model/WorkSpecDao_Impl$1;->this$0:Landroidx/work/impl/model/WorkSpecDao_Impl;
|
||
|
|
||
|
invoke-direct {p0, p2}, Landroidx/room/EntityInsertionAdapter;-><init>(Landroidx/room/RoomDatabase;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public bind(Landroidx/sqlite/db/SupportSQLiteStatement;Landroidx/work/impl/model/WorkSpec;)V
|
||
|
.locals 10
|
||
|
|
||
|
iget-object v0, p2, Landroidx/work/impl/model/WorkSpec;->id:Ljava/lang/String;
|
||
|
|
||
|
const/4 v1, 0x1
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindNull(I)V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
iget-object v0, p2, Landroidx/work/impl/model/WorkSpec;->id:Ljava/lang/String;
|
||
|
|
||
|
invoke-interface {p1, v1, v0}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindString(ILjava/lang/String;)V
|
||
|
|
||
|
:goto_0
|
||
|
iget-object v0, p2, Landroidx/work/impl/model/WorkSpec;->state:Landroidx/work/WorkInfo$State;
|
||
|
|
||
|
invoke-static {v0}, Landroidx/work/impl/model/WorkTypeConverters;->stateToInt(Landroidx/work/WorkInfo$State;)I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, 0x2
|
||
|
|
||
|
int-to-long v2, v0
|
||
|
|
||
|
invoke-interface {p1, v1, v2, v3}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindLong(IJ)V
|
||
|
|
||
|
iget-object v0, p2, Landroidx/work/impl/model/WorkSpec;->workerClassName:Ljava/lang/String;
|
||
|
|
||
|
const/4 v1, 0x3
|
||
|
|
||
|
if-nez v0, :cond_1
|
||
|
|
||
|
invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindNull(I)V
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_1
|
||
|
iget-object v0, p2, Landroidx/work/impl/model/WorkSpec;->workerClassName:Ljava/lang/String;
|
||
|
|
||
|
invoke-interface {p1, v1, v0}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindString(ILjava/lang/String;)V
|
||
|
|
||
|
:goto_1
|
||
|
iget-object v0, p2, Landroidx/work/impl/model/WorkSpec;->inputMergerClassName:Ljava/lang/String;
|
||
|
|
||
|
const/4 v1, 0x4
|
||
|
|
||
|
if-nez v0, :cond_2
|
||
|
|
||
|
invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindNull(I)V
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_2
|
||
|
iget-object v0, p2, Landroidx/work/impl/model/WorkSpec;->inputMergerClassName:Ljava/lang/String;
|
||
|
|
||
|
invoke-interface {p1, v1, v0}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindString(ILjava/lang/String;)V
|
||
|
|
||
|
:goto_2
|
||
|
iget-object v0, p2, Landroidx/work/impl/model/WorkSpec;->input:Landroidx/work/Data;
|
||
|
|
||
|
invoke-static {v0}, Landroidx/work/Data;->toByteArray(Landroidx/work/Data;)[B
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const/4 v1, 0x5
|
||
|
|
||
|
if-nez v0, :cond_3
|
||
|
|
||
|
invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindNull(I)V
|
||
|
|
||
|
goto :goto_3
|
||
|
|
||
|
:cond_3
|
||
|
invoke-interface {p1, v1, v0}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindBlob(I[B)V
|
||
|
|
||
|
:goto_3
|
||
|
iget-object v0, p2, Landroidx/work/impl/model/WorkSpec;->output:Landroidx/work/Data;
|
||
|
|
||
|
invoke-static {v0}, Landroidx/work/Data;->toByteArray(Landroidx/work/Data;)[B
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const/4 v1, 0x6
|
||
|
|
||
|
if-nez v0, :cond_4
|
||
|
|
||
|
invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindNull(I)V
|
||
|
|
||
|
goto :goto_4
|
||
|
|
||
|
:cond_4
|
||
|
invoke-interface {p1, v1, v0}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindBlob(I[B)V
|
||
|
|
||
|
:goto_4
|
||
|
const/4 v0, 0x7
|
||
|
|
||
|
iget-wide v1, p2, Landroidx/work/impl/model/WorkSpec;->initialDelay:J
|
||
|
|
||
|
invoke-interface {p1, v0, v1, v2}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindLong(IJ)V
|
||
|
|
||
|
const/16 v0, 0x8
|
||
|
|
||
|
iget-wide v1, p2, Landroidx/work/impl/model/WorkSpec;->intervalDuration:J
|
||
|
|
||
|
invoke-interface {p1, v0, v1, v2}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindLong(IJ)V
|
||
|
|
||
|
const/16 v0, 0x9
|
||
|
|
||
|
iget-wide v1, p2, Landroidx/work/impl/model/WorkSpec;->flexDuration:J
|
||
|
|
||
|
invoke-interface {p1, v0, v1, v2}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindLong(IJ)V
|
||
|
|
||
|
const/16 v0, 0xa
|
||
|
|
||
|
iget v1, p2, Landroidx/work/impl/model/WorkSpec;->runAttemptCount:I
|
||
|
|
||
|
int-to-long v1, v1
|
||
|
|
||
|
invoke-interface {p1, v0, v1, v2}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindLong(IJ)V
|
||
|
|
||
|
iget-object v0, p2, Landroidx/work/impl/model/WorkSpec;->backoffPolicy:Landroidx/work/BackoffPolicy;
|
||
|
|
||
|
invoke-static {v0}, Landroidx/work/impl/model/WorkTypeConverters;->backoffPolicyToInt(Landroidx/work/BackoffPolicy;)I
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/16 v1, 0xb
|
||
|
|
||
|
int-to-long v2, v0
|
||
|
|
||
|
invoke-interface {p1, v1, v2, v3}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindLong(IJ)V
|
||
|
|
||
|
const/16 v0, 0xc
|
||
|
|
||
|
iget-wide v1, p2, Landroidx/work/impl/model/WorkSpec;->backoffDelayDuration:J
|
||
|
|
||
|
invoke-interface {p1, v0, v1, v2}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindLong(IJ)V
|
||
|
|
||
|
const/16 v0, 0xd
|
||
|
|
||
|
iget-wide v1, p2, Landroidx/work/impl/model/WorkSpec;->periodStartTime:J
|
||
|
|
||
|
invoke-interface {p1, v0, v1, v2}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindLong(IJ)V
|
||
|
|
||
|
const/16 v0, 0xe
|
||
|
|
||
|
iget-wide v1, p2, Landroidx/work/impl/model/WorkSpec;->minimumRetentionDuration:J
|
||
|
|
||
|
invoke-interface {p1, v0, v1, v2}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindLong(IJ)V
|
||
|
|
||
|
const/16 v0, 0xf
|
||
|
|
||
|
iget-wide v1, p2, Landroidx/work/impl/model/WorkSpec;->scheduleRequestedAt:J
|
||
|
|
||
|
invoke-interface {p1, v0, v1, v2}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindLong(IJ)V
|
||
|
|
||
|
iget-object p2, p2, Landroidx/work/impl/model/WorkSpec;->constraints:Landroidx/work/Constraints;
|
||
|
|
||
|
const/16 v0, 0x16
|
||
|
|
||
|
const/16 v1, 0x15
|
||
|
|
||
|
const/16 v2, 0x14
|
||
|
|
||
|
const/16 v3, 0x13
|
||
|
|
||
|
const/16 v4, 0x12
|
||
|
|
||
|
const/16 v5, 0x11
|
||
|
|
||
|
const/16 v6, 0x10
|
||
|
|
||
|
const/16 v7, 0x17
|
||
|
|
||
|
if-eqz p2, :cond_6
|
||
|
|
||
|
invoke-virtual {p2}, Landroidx/work/Constraints;->getRequiredNetworkType()Landroidx/work/NetworkType;
|
||
|
|
||
|
move-result-object v8
|
||
|
|
||
|
invoke-static {v8}, Landroidx/work/impl/model/WorkTypeConverters;->networkTypeToInt(Landroidx/work/NetworkType;)I
|
||
|
|
||
|
move-result v8
|
||
|
|
||
|
int-to-long v8, v8
|
||
|
|
||
|
invoke-interface {p1, v6, v8, v9}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindLong(IJ)V
|
||
|
|
||
|
invoke-virtual {p2}, Landroidx/work/Constraints;->requiresCharging()Z
|
||
|
|
||
|
move-result v6
|
||
|
|
||
|
int-to-long v8, v6
|
||
|
|
||
|
invoke-interface {p1, v5, v8, v9}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindLong(IJ)V
|
||
|
|
||
|
invoke-virtual {p2}, Landroidx/work/Constraints;->requiresDeviceIdle()Z
|
||
|
|
||
|
move-result v5
|
||
|
|
||
|
int-to-long v5, v5
|
||
|
|
||
|
invoke-interface {p1, v4, v5, v6}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindLong(IJ)V
|
||
|
|
||
|
invoke-virtual {p2}, Landroidx/work/Constraints;->requiresBatteryNotLow()Z
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
int-to-long v4, v4
|
||
|
|
||
|
invoke-interface {p1, v3, v4, v5}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindLong(IJ)V
|
||
|
|
||
|
invoke-virtual {p2}, Landroidx/work/Constraints;->requiresStorageNotLow()Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
int-to-long v3, v3
|
||
|
|
||
|
invoke-interface {p1, v2, v3, v4}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindLong(IJ)V
|
||
|
|
||
|
invoke-virtual {p2}, Landroidx/work/Constraints;->getTriggerContentUpdateDelay()J
|
||
|
|
||
|
move-result-wide v2
|
||
|
|
||
|
invoke-interface {p1, v1, v2, v3}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindLong(IJ)V
|
||
|
|
||
|
invoke-virtual {p2}, Landroidx/work/Constraints;->getTriggerMaxContentDelay()J
|
||
|
|
||
|
move-result-wide v1
|
||
|
|
||
|
invoke-interface {p1, v0, v1, v2}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindLong(IJ)V
|
||
|
|
||
|
invoke-virtual {p2}, Landroidx/work/Constraints;->getContentUriTriggers()Landroidx/work/ContentUriTriggers;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
invoke-static {p2}, Landroidx/work/impl/model/WorkTypeConverters;->contentUriTriggersToByteArray(Landroidx/work/ContentUriTriggers;)[B
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
if-nez p2, :cond_5
|
||
|
|
||
|
invoke-interface {p1, v7}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindNull(I)V
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_5
|
||
|
invoke-interface {p1, v7, p2}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindBlob(I[B)V
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_6
|
||
|
invoke-interface {p1, v6}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindNull(I)V
|
||
|
|
||
|
invoke-interface {p1, v5}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindNull(I)V
|
||
|
|
||
|
invoke-interface {p1, v4}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindNull(I)V
|
||
|
|
||
|
invoke-interface {p1, v3}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindNull(I)V
|
||
|
|
||
|
invoke-interface {p1, v2}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindNull(I)V
|
||
|
|
||
|
invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindNull(I)V
|
||
|
|
||
|
invoke-interface {p1, v0}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindNull(I)V
|
||
|
|
||
|
invoke-interface {p1, v7}, Landroidx/sqlite/db/SupportSQLiteStatement;->bindNull(I)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public bridge synthetic bind(Landroidx/sqlite/db/SupportSQLiteStatement;Ljava/lang/Object;)V
|
||
|
.locals 0
|
||
|
|
||
|
check-cast p2, Landroidx/work/impl/model/WorkSpec;
|
||
|
|
||
|
invoke-virtual {p0, p1, p2}, Landroidx/work/impl/model/WorkSpecDao_Impl$1;->bind(Landroidx/sqlite/db/SupportSQLiteStatement;Landroidx/work/impl/model/WorkSpec;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public createQuery()Ljava/lang/String;
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "INSERT OR IGNORE INTO `WorkSpec`(`id`,`state`,`worker_class_name`,`input_merger_class_name`,`input`,`output`,`initial_delay`,`interval_duration`,`flex_duration`,`run_attempt_count`,`backoff_policy`,`backoff_delay_duration`,`period_start_time`,`minimum_retention_duration`,`schedule_requested_at`,`required_network_type`,`requires_charging`,`requires_device_idle`,`requires_battery_not_low`,`requires_storage_not_low`,`trigger_content_update_delay`,`trigger_max_content_delay`,`content_uri_triggers`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)"
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|