2020-05-17 12:40:10 +00:00
.class public L androidx/work/impl/model/WorkSpecDao_Impl$1 ;
.super L androidx/room/EntityInsertionAdapter ;
.source "WorkSpecDao_Impl.java"
# annotations
.annotation system L dalvik/annotation/EnclosingMethod ;
value = L androidx/work/impl/model/WorkSpecDao_Impl ;-> <init> ( L androidx/room/RoomDatabase ;) V
.end annotation
.annotation system L dalvik/annotation/InnerClass ;
accessFlags = 0x1
name = null
.end annotation
.annotation system L dalvik/annotation/Signature ;
value = {
"Landroidx/room/EntityInsertionAdapter<" ,
"Landroidx/work/impl/model/WorkSpec;" ,
">;"
}
.end annotation
# instance fields
.field public final synthetic this$0 : L androidx/work/impl/model/WorkSpecDao_Impl ;
# direct methods
.method public constructor <init> ( L androidx/work/impl/model/WorkSpecDao_Impl ;L androidx/room/RoomDatabase ;) V
.locals 0
iput-object p1 , p0 , L androidx/work/impl/model/WorkSpecDao_Impl$1 ;-> this$0 : L androidx/work/impl/model/WorkSpecDao_Impl ;
invoke-direct { p0 , p2 } , L androidx/room/EntityInsertionAdapter ;-> <init> ( L androidx/room/RoomDatabase ;) V
return-void
.end method
# virtual methods
.method public bind ( L androidx/sqlite/db/SupportSQLiteStatement ;L androidx/work/impl/model/WorkSpec ;) V
.locals 10
iget-object v0 , p2 , L androidx/work/impl/model/WorkSpec ;-> id : L java/lang/String ;
const/4 v1 , 0x1
if-nez v0 , :cond_0
invoke-interface { p1 , v1 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindNull ( I ) V
goto :goto_0
:cond_0
invoke-interface { p1 , v1 , v0 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindString ( I L java/lang/String ;) V
:goto_0
iget-object v0 , p2 , L androidx/work/impl/model/WorkSpec ;-> state : L androidx/work/WorkInfo$State ;
invoke-static { v0 } , L androidx/work/impl/model/WorkTypeConverters ;-> stateToInt ( L androidx/work/WorkInfo$State ;) I
move-result v0
const/4 v1 , 0x2
int-to-long v2 , v0
invoke-interface { p1 , v1 , v2 , v3 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindLong ( IJ ) V
iget-object v0 , p2 , L androidx/work/impl/model/WorkSpec ;-> workerClassName : L java/lang/String ;
const/4 v1 , 0x3
if-nez v0 , :cond_1
invoke-interface { p1 , v1 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindNull ( I ) V
goto :goto_1
:cond_1
invoke-interface { p1 , v1 , v0 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindString ( I L java/lang/String ;) V
:goto_1
iget-object v0 , p2 , L androidx/work/impl/model/WorkSpec ;-> inputMergerClassName : L java/lang/String ;
const/4 v1 , 0x4
if-nez v0 , :cond_2
invoke-interface { p1 , v1 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindNull ( I ) V
goto :goto_2
:cond_2
invoke-interface { p1 , v1 , v0 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindString ( I L java/lang/String ;) V
:goto_2
iget-object v0 , p2 , L androidx/work/impl/model/WorkSpec ;-> input : L androidx/work/Data ;
2020-09-16 23:45:23 +00:00
invoke-static { v0 } , L androidx/work/Data ;-> toByteArrayInternal ( L androidx/work/Data ;) [B
2020-05-17 12:40:10 +00:00
move-result-object v0
const/4 v1 , 0x5
if-nez v0 , :cond_3
invoke-interface { p1 , v1 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindNull ( I ) V
goto :goto_3
:cond_3
invoke-interface { p1 , v1 , v0 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindBlob ( I[B ) V
:goto_3
iget-object v0 , p2 , L androidx/work/impl/model/WorkSpec ;-> output : L androidx/work/Data ;
2020-09-16 23:45:23 +00:00
invoke-static { v0 } , L androidx/work/Data ;-> toByteArrayInternal ( L androidx/work/Data ;) [B
2020-05-17 12:40:10 +00:00
move-result-object v0
const/4 v1 , 0x6
if-nez v0 , :cond_4
invoke-interface { p1 , v1 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindNull ( I ) V
goto :goto_4
:cond_4
invoke-interface { p1 , v1 , v0 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindBlob ( I[B ) V
:goto_4
const/4 v0 , 0x7
iget-wide v1 , p2 , L androidx/work/impl/model/WorkSpec ;-> initialDelay : J
invoke-interface { p1 , v0 , v1 , v2 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindLong ( IJ ) V
const/16 v0 , 0x8
iget-wide v1 , p2 , L androidx/work/impl/model/WorkSpec ;-> intervalDuration : J
invoke-interface { p1 , v0 , v1 , v2 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindLong ( IJ ) V
const/16 v0 , 0x9
iget-wide v1 , p2 , L androidx/work/impl/model/WorkSpec ;-> flexDuration : J
invoke-interface { p1 , v0 , v1 , v2 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindLong ( IJ ) V
const/16 v0 , 0xa
iget v1 , p2 , L androidx/work/impl/model/WorkSpec ;-> runAttemptCount : I
int-to-long v1 , v1
invoke-interface { p1 , v0 , v1 , v2 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindLong ( IJ ) V
iget-object v0 , p2 , L androidx/work/impl/model/WorkSpec ;-> backoffPolicy : L androidx/work/BackoffPolicy ;
invoke-static { v0 } , L androidx/work/impl/model/WorkTypeConverters ;-> backoffPolicyToInt ( L androidx/work/BackoffPolicy ;) I
move-result v0
const/16 v1 , 0xb
int-to-long v2 , v0
invoke-interface { p1 , v1 , v2 , v3 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindLong ( IJ ) V
const/16 v0 , 0xc
iget-wide v1 , p2 , L androidx/work/impl/model/WorkSpec ;-> backoffDelayDuration : J
invoke-interface { p1 , v0 , v1 , v2 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindLong ( IJ ) V
const/16 v0 , 0xd
iget-wide v1 , p2 , L androidx/work/impl/model/WorkSpec ;-> periodStartTime : J
invoke-interface { p1 , v0 , v1 , v2 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindLong ( IJ ) V
const/16 v0 , 0xe
iget-wide v1 , p2 , L androidx/work/impl/model/WorkSpec ;-> minimumRetentionDuration : J
invoke-interface { p1 , v0 , v1 , v2 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindLong ( IJ ) V
const/16 v0 , 0xf
iget-wide v1 , p2 , L androidx/work/impl/model/WorkSpec ;-> scheduleRequestedAt : J
invoke-interface { p1 , v0 , v1 , v2 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindLong ( IJ ) V
2020-07-08 16:44:49 +00:00
iget-boolean v0 , p2 , L androidx/work/impl/model/WorkSpec ;-> runInForeground : Z
const/16 v1 , 0x10
int-to-long v2 , v0
invoke-interface { p1 , v1 , v2 , v3 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindLong ( IJ ) V
2020-05-17 12:40:10 +00:00
iget-object p2 , p2 , L androidx/work/impl/model/WorkSpec ;-> constraints : L androidx/work/Constraints ;
2020-07-08 16:44:49 +00:00
const/16 v0 , 0x17
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/16 v1 , 0x16
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/16 v2 , 0x15
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/16 v3 , 0x14
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/16 v4 , 0x13
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/16 v5 , 0x12
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/16 v6 , 0x11
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
const/16 v7 , 0x18
2020-05-17 12:40:10 +00:00
if-eqz p2 , :cond_6
invoke-virtual { p2 } , L androidx/work/Constraints ;-> getRequiredNetworkType ( ) L androidx/work/NetworkType ;
move-result-object v8
invoke-static { v8 } , L androidx/work/impl/model/WorkTypeConverters ;-> networkTypeToInt ( L androidx/work/NetworkType ;) I
move-result v8
int-to-long v8 , v8
invoke-interface { p1 , v6 , v8 , v9 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindLong ( IJ ) V
invoke-virtual { p2 } , L androidx/work/Constraints ;-> requiresCharging ( ) Z
move-result v6
int-to-long v8 , v6
invoke-interface { p1 , v5 , v8 , v9 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindLong ( IJ ) V
invoke-virtual { p2 } , L androidx/work/Constraints ;-> requiresDeviceIdle ( ) Z
move-result v5
int-to-long v5 , v5
invoke-interface { p1 , v4 , v5 , v6 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindLong ( IJ ) V
invoke-virtual { p2 } , L androidx/work/Constraints ;-> requiresBatteryNotLow ( ) Z
move-result v4
int-to-long v4 , v4
invoke-interface { p1 , v3 , v4 , v5 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindLong ( IJ ) V
invoke-virtual { p2 } , L androidx/work/Constraints ;-> requiresStorageNotLow ( ) Z
move-result v3
int-to-long v3 , v3
invoke-interface { p1 , v2 , v3 , v4 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindLong ( IJ ) V
invoke-virtual { p2 } , L androidx/work/Constraints ;-> getTriggerContentUpdateDelay ( ) J
move-result-wide v2
invoke-interface { p1 , v1 , v2 , v3 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindLong ( IJ ) V
invoke-virtual { p2 } , L androidx/work/Constraints ;-> getTriggerMaxContentDelay ( ) J
move-result-wide v1
invoke-interface { p1 , v0 , v1 , v2 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindLong ( IJ ) V
invoke-virtual { p2 } , L androidx/work/Constraints ;-> getContentUriTriggers ( ) L androidx/work/ContentUriTriggers ;
move-result-object p2
invoke-static { p2 } , L androidx/work/impl/model/WorkTypeConverters ;-> contentUriTriggersToByteArray ( L androidx/work/ContentUriTriggers ;) [B
move-result-object p2
if-nez p2 , :cond_5
invoke-interface { p1 , v7 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindNull ( I ) V
goto :goto_5
:cond_5
invoke-interface { p1 , v7 , p2 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindBlob ( I[B ) V
goto :goto_5
:cond_6
invoke-interface { p1 , v6 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindNull ( I ) V
invoke-interface { p1 , v5 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindNull ( I ) V
invoke-interface { p1 , v4 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindNull ( I ) V
invoke-interface { p1 , v3 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindNull ( I ) V
invoke-interface { p1 , v2 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindNull ( I ) V
invoke-interface { p1 , v1 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindNull ( I ) V
invoke-interface { p1 , v0 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindNull ( I ) V
invoke-interface { p1 , v7 } , L androidx/sqlite/db/SupportSQLiteProgram ;-> bindNull ( I ) V
:goto_5
return-void
.end method
.method public bridge synthetic bind ( L androidx/sqlite/db/SupportSQLiteStatement ;L java/lang/Object ;) V
.locals 0
check-cast p2 , L androidx/work/impl/model/WorkSpec ;
invoke-virtual { p0 , p1 , p2 } , L androidx/work/impl/model/WorkSpecDao_Impl$1 ;-> bind ( L androidx/sqlite/db/SupportSQLiteStatement ;L androidx/work/impl/model/WorkSpec ;) V
return-void
.end method
.method public createQuery ( ) L java/lang/String ;
.locals 1
2020-07-08 16:44:49 +00:00
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`,`run_in_foreground`,`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 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)"
2020-05-17 12:40:10 +00:00
return-object v0
.end method