mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 09:32:27 -06:00
1962 lines
62 KiB
Smali
1962 lines
62 KiB
Smali
|
.class public Landroidx/room/InvalidationTracker;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "InvalidationTracker.kt"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/MemberClasses;
|
||
|
value = {
|
||
|
Landroidx/room/InvalidationTracker$ObserverWrapper;,
|
||
|
Landroidx/room/InvalidationTracker$Observer;,
|
||
|
Landroidx/room/InvalidationTracker$ObservedTableTracker;,
|
||
|
Landroidx/room/InvalidationTracker$WeakObserver;,
|
||
|
Landroidx/room/InvalidationTracker$Companion;
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
||
|
value = "SMAP\nInvalidationTracker.kt\nKotlin\n*S Kotlin\n*F\n+ 1 InvalidationTracker.kt\nandroidx/room/InvalidationTracker\n+ 2 _Maps.kt\nkotlin/collections/MapsKt___MapsKt\n+ 3 _Arrays.kt\nkotlin/collections/ArraysKt___ArraysKt\n+ 4 ArraysJVM.kt\nkotlin/collections/ArraysKt__ArraysJVMKt\n+ 5 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,846:1\n211#2,2:847\n11335#3:849\n11670#3,3:850\n13543#3,2:853\n13543#3,2:855\n13638#3,3:861\n37#4,2:857\n1851#5,2:859\n*S KotlinDebug\n*F\n+ 1 InvalidationTracker.kt\nandroidx/room/InvalidationTracker\n*L\n102#1:847,2\n251#1:849\n251#1:850,3\n272#1:853,2\n288#1:855,2\n496#1:861,3\n295#1:857,2\n472#1:859,2\n*E\n"
|
||
|
.end annotation
|
||
|
|
||
|
.annotation runtime Lkotlin/Metadata;
|
||
|
d1 = {
|
||
|
"\u0000\u00ac\u0001\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0011\n\u0002\u0010\u000e\n\u0002\u0008\u0002\n\u0002\u0010$\n\u0000\n\u0002\u0010\"\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0007\n\u0002\u0010\u000b\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0004\n\u0002\u0010\u0008\n\u0002\u0008\u0008\n\u0002\u0010\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0006\n\u0002\u0018\u0002\n\u0002\u0008\u0010\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0010\u0008\u0016\u0018\u0000 f2\u00020\u0001:\u0005fghijB#\u0008\u0017\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0012\u0010\u0004\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\u00060\u0005\"\u00020\u0006\u00a2\u0006\u0002\u0010\u0007BV\u0008\u0007\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0012\u0010\u0008\u001a\u000e\u0012\u0004\u0012\u00020\u0006\u0012\u0004\u0012\u00020\u00060\t\u0012\u001d\u0010\n\u001a\u0019\u0012\u0004\u0012\u00020\u0006\u0012\u000f\u0012\r\u0012\u0004\u0012\u00020\u00060\u000b\u00a2\u0006\u0002\u0008\u000c0\t\u0012\u0012\u0010\u0004\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\u00060\u0005\"\u00020\u0006\u00a2\u0006\u0002\u0010\rJ\u0010\u00108\u001a\u0002092\u0006\u0010:\u001a\u00020\"H\u0017J\u0010\u0010;\u001a\u0002092\u0006\u0010:\u001a\u00020\"H\u0017J7\u0010<\u001a\u0008\u0012\u0004\u0012\u0002H>0=\"\u0004\u0008\u0000\u0010>2\u000e\u0010\u0004\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\u00060\u00052\u000c\u0010?\u001a\u0008\u0012\u0004\u0012\u0002H>0@H\u0017\u00a2\u0006\u0002\u0010AJ?\u0010<\u001a\u0008\u0012\u0004\u0012\u0002H>0=\"\u0004\u0008\u0000\u0010>2\u000e\u0010\u0004\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\u00060\u00052\u0006\u0010B\u001a\u00020\u00192\u000c\u0010?\u001a\u0008\u0012\u0004\u0012\u0002H>0@H\u0017\u00a2\u0006\u0002\u0010CJ\r\u0010D\u001a\u00020\u0019H\u0000\u00a2\u0006\u0002\u0008EJ\u0015\u0010F\u001a\u0002092\u0006\u0010\u0002\u001a\u00020GH\u0000\u00a2\u0006\u0002\u0008HJ!\u0010I\u001a\u0002092\u0012\u0010J\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\u00060\u0005\"\u00020\u0006H\u0007\u00a2\u0006\u0002\u0010KJ\r\u0010L\u001a\u000209H\u0000\u00a2\u0006\u0002\u0008MJ\u0008\u0010N\u001a\u000209H\u0016J\u0008\u0010O\u001a\u000209H\u0017J\u0010\u0010P\u001a\u0002092\u0006\u0010:\u001a\u00020\"H\u0017J%\u0010Q\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\u00060\u00052\u000e\u0010R\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\u00060\u0005H\u0002\u00a2\u0006\u0002\u0010SJ\u0015\u0010T\u001a\u0002092\u0006\u0010\u000e\u001a\u00020\u000fH\u0000\u00a2\u0006\u0002\u0008UJ%\u0010V\u001a\u0002092\u0006\u0010W\u001a\u00020X2\u0006\u0010Y\u001a\u00020\u00062\u0006\u0010Z\u001a\u00020[H\u0000\u00a2\u0006\u0002\u0008\\J\u0018\u0010]\u001a\u0002092\u0006\u0010^\u001a\u00020G2\u0006\u0010_\u001a\u000200H\u0002J\r\u0010`\u001a\u000209H\u0000\u00a2\u0006\u0002\u0008aJ\u0018\u0010b\u001a\u0002092\u0006\u0010^\u001a\u00020G2\u0006\u0010_\u001a\u000200H\u0002J\r\u0010c\u001a\u000209H\u0000\u00a2\u0006\u0002\u0008dJ\u0015\u0010c\u001a\u0002092\u0006\u0010\u0002\u001a\u00020GH\u0000\u00a2\u0006\u0002\u0008dJ%\u0010e\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\u00060\u00052\u000e\u0010\u0004\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\u00060\u0005H\u0002\u00a2\u0006\u0002\u0010SR\u0010\u0010\u000e\u001a\u0004\u0018\u00010\u000fX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u001c\u0010\u0010\u001a\u0004\u0018\u00010\u0011X\u0080\u000e\u00a2\u0006\u000e\n\u0000\u001a\u0004\u0008\u0012\u0010\u0013\"\u0004\u0008\u0014\u0010\u0015R\u0014\u0010\u0002\u001a\u00020\u0003X\u0080\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0016\u0010\u0017R\u000e\u0010\u0018\u001a\u00020\u0019X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u001a\u001
|
||
|
}
|
||
|
d2 = {
|
||
|
"Landroidx/room/InvalidationTracker;",
|
||
|
"",
|
||
|
"database",
|
||
|
"Landroidx/room/RoomDatabase;",
|
||
|
"tableNames",
|
||
|
"",
|
||
|
"",
|
||
|
"(Landroidx/room/RoomDatabase;[Ljava/lang/String;)V",
|
||
|
"shadowTablesMap",
|
||
|
"",
|
||
|
"viewTables",
|
||
|
"",
|
||
|
"Lkotlin/jvm/JvmSuppressWildcards;",
|
||
|
"(Landroidx/room/RoomDatabase;Ljava/util/Map;Ljava/util/Map;[Ljava/lang/String;)V",
|
||
|
"autoCloser",
|
||
|
"Landroidx/room/AutoCloser;",
|
||
|
"cleanupStatement",
|
||
|
"Landroidx/sqlite/db/SupportSQLiteStatement;",
|
||
|
"getCleanupStatement$room_runtime_release",
|
||
|
"()Landroidx/sqlite/db/SupportSQLiteStatement;",
|
||
|
"setCleanupStatement$room_runtime_release",
|
||
|
"(Landroidx/sqlite/db/SupportSQLiteStatement;)V",
|
||
|
"getDatabase$room_runtime_release",
|
||
|
"()Landroidx/room/RoomDatabase;",
|
||
|
"initialized",
|
||
|
"",
|
||
|
"invalidationLiveDataContainer",
|
||
|
"Landroidx/room/InvalidationLiveDataContainer;",
|
||
|
"multiInstanceInvalidationClient",
|
||
|
"Landroidx/room/MultiInstanceInvalidationClient;",
|
||
|
"observedTableTracker",
|
||
|
"Landroidx/room/InvalidationTracker$ObservedTableTracker;",
|
||
|
"observerMap",
|
||
|
"Landroidx/arch/core/internal/SafeIterableMap;",
|
||
|
"Landroidx/room/InvalidationTracker$Observer;",
|
||
|
"Landroidx/room/InvalidationTracker$ObserverWrapper;",
|
||
|
"getObserverMap$room_runtime_release",
|
||
|
"()Landroidx/arch/core/internal/SafeIterableMap;",
|
||
|
"pendingRefresh",
|
||
|
"Ljava/util/concurrent/atomic/AtomicBoolean;",
|
||
|
"getPendingRefresh",
|
||
|
"()Ljava/util/concurrent/atomic/AtomicBoolean;",
|
||
|
"refreshRunnable",
|
||
|
"Ljava/lang/Runnable;",
|
||
|
"getRefreshRunnable$annotations",
|
||
|
"()V",
|
||
|
"syncTriggersLock",
|
||
|
"tableIdLookup",
|
||
|
"",
|
||
|
"getTableIdLookup$room_runtime_release",
|
||
|
"()Ljava/util/Map;",
|
||
|
"tablesNames",
|
||
|
"getTablesNames$room_runtime_release",
|
||
|
"()[Ljava/lang/String;",
|
||
|
"[Ljava/lang/String;",
|
||
|
"trackerLock",
|
||
|
"addObserver",
|
||
|
"",
|
||
|
"observer",
|
||
|
"addWeakObserver",
|
||
|
"createLiveData",
|
||
|
"Landroidx/lifecycle/LiveData;",
|
||
|
"T",
|
||
|
"computeFunction",
|
||
|
"Ljava/util/concurrent/Callable;",
|
||
|
"([Ljava/lang/String;Ljava/util/concurrent/Callable;)Landroidx/lifecycle/LiveData;",
|
||
|
"inTransaction",
|
||
|
"([Ljava/lang/String;ZLjava/util/concurrent/Callable;)Landroidx/lifecycle/LiveData;",
|
||
|
"ensureInitialization",
|
||
|
"ensureInitialization$room_runtime_release",
|
||
|
"internalInit",
|
||
|
"Landroidx/sqlite/db/SupportSQLiteDatabase;",
|
||
|
"internalInit$room_runtime_release",
|
||
|
"notifyObserversByTableNames",
|
||
|
"tables",
|
||
|
"([Ljava/lang/String;)V",
|
||
|
"onAutoCloseCallback",
|
||
|
"onAutoCloseCallback$room_runtime_release",
|
||
|
"refreshVersionsAsync",
|
||
|
"refreshVersionsSync",
|
||
|
"removeObserver",
|
||
|
"resolveViews",
|
||
|
"names",
|
||
|
"([Ljava/lang/String;)[Ljava/lang/String;",
|
||
|
"setAutoCloser",
|
||
|
"setAutoCloser$room_runtime_release",
|
||
|
"startMultiInstanceInvalidation",
|
||
|
"context",
|
||
|
"Landroid/content/Context;",
|
||
|
"name",
|
||
|
"serviceIntent",
|
||
|
"Landroid/content/Intent;",
|
||
|
"startMultiInstanceInvalidation$room_runtime_release",
|
||
|
"startTrackingTable",
|
||
|
"db",
|
||
|
"tableId",
|
||
|
"stopMultiInstanceInvalidation",
|
||
|
"stopMultiInstanceInvalidation$room_runtime_release",
|
||
|
"stopTrackingTable",
|
||
|
"syncTriggers",
|
||
|
"syncTriggers$room_runtime_release",
|
||
|
"validateAndResolveTableNames",
|
||
|
"Companion",
|
||
|
"ObservedTableTracker",
|
||
|
"Observer",
|
||
|
"ObserverWrapper",
|
||
|
"WeakObserver",
|
||
|
"room-runtime_release"
|
||
|
}
|
||
|
k = 0x1
|
||
|
mv = {
|
||
|
0x1,
|
||
|
0x7,
|
||
|
0x1
|
||
|
}
|
||
|
xi = 0x30
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field private static final CREATE_TRACKING_TABLE_SQL:Ljava/lang/String; = "CREATE TEMP TABLE room_table_modification_log (table_id INTEGER PRIMARY KEY, invalidated INTEGER NOT NULL DEFAULT 0)"
|
||
|
|
||
|
.field public static final Companion:Landroidx/room/InvalidationTracker$Companion;
|
||
|
|
||
|
.field private static final INVALIDATED_COLUMN_NAME:Ljava/lang/String; = "invalidated"
|
||
|
|
||
|
.field public static final RESET_UPDATED_TABLES_SQL:Ljava/lang/String; = "UPDATE room_table_modification_log SET invalidated = 0 WHERE invalidated = 1"
|
||
|
|
||
|
.field public static final SELECT_UPDATED_TABLES_SQL:Ljava/lang/String; = "SELECT * FROM room_table_modification_log WHERE invalidated = 1;"
|
||
|
|
||
|
.field private static final TABLE_ID_COLUMN_NAME:Ljava/lang/String; = "table_id"
|
||
|
|
||
|
.field private static final TRIGGERS:[Ljava/lang/String;
|
||
|
|
||
|
.field private static final UPDATE_TABLE_NAME:Ljava/lang/String; = "room_table_modification_log"
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field private autoCloser:Landroidx/room/AutoCloser;
|
||
|
|
||
|
.field private volatile cleanupStatement:Landroidx/sqlite/db/SupportSQLiteStatement;
|
||
|
|
||
|
.field private final database:Landroidx/room/RoomDatabase;
|
||
|
|
||
|
.field private volatile initialized:Z
|
||
|
|
||
|
.field private final invalidationLiveDataContainer:Landroidx/room/InvalidationLiveDataContainer;
|
||
|
|
||
|
.field private multiInstanceInvalidationClient:Landroidx/room/MultiInstanceInvalidationClient;
|
||
|
|
||
|
.field private final observedTableTracker:Landroidx/room/InvalidationTracker$ObservedTableTracker;
|
||
|
|
||
|
.field private final observerMap:Landroidx/arch/core/internal/SafeIterableMap;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Landroidx/arch/core/internal/SafeIterableMap<",
|
||
|
"Landroidx/room/InvalidationTracker$Observer;",
|
||
|
"Landroidx/room/InvalidationTracker$ObserverWrapper;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field private final pendingRefresh:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||
|
|
||
|
.field public final refreshRunnable:Ljava/lang/Runnable;
|
||
|
|
||
|
.field private final shadowTablesMap:Ljava/util/Map;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/util/Map<",
|
||
|
"Ljava/lang/String;",
|
||
|
"Ljava/lang/String;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field private final syncTriggersLock:Ljava/lang/Object;
|
||
|
|
||
|
.field private final tableIdLookup:Ljava/util/Map;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/util/Map<",
|
||
|
"Ljava/lang/String;",
|
||
|
"Ljava/lang/Integer;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
.field private final tablesNames:[Ljava/lang/String;
|
||
|
|
||
|
.field private final trackerLock:Ljava/lang/Object;
|
||
|
|
||
|
.field private final viewTables:Ljava/util/Map;
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/util/Map<",
|
||
|
"Ljava/lang/String;",
|
||
|
"Ljava/util/Set<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
.end field
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method static constructor <clinit>()V
|
||
|
.locals 3
|
||
|
|
||
|
new-instance v0, Landroidx/room/InvalidationTracker$Companion;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
invoke-direct {v0, v1}, Landroidx/room/InvalidationTracker$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
||
|
|
||
|
sput-object v0, Landroidx/room/InvalidationTracker;->Companion:Landroidx/room/InvalidationTracker$Companion;
|
||
|
|
||
|
const-string v0, "DELETE"
|
||
|
|
||
|
const-string v1, "INSERT"
|
||
|
|
||
|
const-string v2, "UPDATE"
|
||
|
|
||
|
.line 814
|
||
|
filled-new-array {v2, v0, v1}, [Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
sput-object v0, Landroidx/room/InvalidationTracker;->TRIGGERS:[Ljava/lang/String;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public varargs constructor <init>(Landroidx/room/RoomDatabase;Ljava/util/Map;Ljava/util/Map;[Ljava/lang/String;)V
|
||
|
.locals 5
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(",
|
||
|
"Landroidx/room/RoomDatabase;",
|
||
|
"Ljava/util/Map<",
|
||
|
"Ljava/lang/String;",
|
||
|
"Ljava/lang/String;",
|
||
|
">;",
|
||
|
"Ljava/util/Map<",
|
||
|
"Ljava/lang/String;",
|
||
|
"Ljava/util/Set<",
|
||
|
"Ljava/lang/String;",
|
||
|
">;>;[",
|
||
|
"Ljava/lang/String;",
|
||
|
")V"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "database"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "shadowTablesMap"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "viewTables"
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "tableNames"
|
||
|
|
||
|
invoke-static {p4, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 56
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
iput-object p1, p0, Landroidx/room/InvalidationTracker;->database:Landroidx/room/RoomDatabase;
|
||
|
|
||
|
iput-object p2, p0, Landroidx/room/InvalidationTracker;->shadowTablesMap:Ljava/util/Map;
|
||
|
|
||
|
iput-object p3, p0, Landroidx/room/InvalidationTracker;->viewTables:Ljava/util/Map;
|
||
|
|
||
|
.line 69
|
||
|
new-instance p2, Ljava/util/concurrent/atomic/AtomicBoolean;
|
||
|
|
||
|
const/4 p3, 0x0
|
||
|
|
||
|
invoke-direct {p2, p3}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V
|
||
|
|
||
|
iput-object p2, p0, Landroidx/room/InvalidationTracker;->pendingRefresh:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||
|
|
||
|
.line 77
|
||
|
new-instance p2, Landroidx/room/InvalidationTracker$ObservedTableTracker;
|
||
|
|
||
|
array-length v0, p4
|
||
|
|
||
|
invoke-direct {p2, v0}, Landroidx/room/InvalidationTracker$ObservedTableTracker;-><init>(I)V
|
||
|
|
||
|
iput-object p2, p0, Landroidx/room/InvalidationTracker;->observedTableTracker:Landroidx/room/InvalidationTracker$ObservedTableTracker;
|
||
|
|
||
|
.line 80
|
||
|
new-instance p2, Landroidx/room/InvalidationLiveDataContainer;
|
||
|
|
||
|
invoke-direct {p2, p1}, Landroidx/room/InvalidationLiveDataContainer;-><init>(Landroidx/room/RoomDatabase;)V
|
||
|
|
||
|
iput-object p2, p0, Landroidx/room/InvalidationTracker;->invalidationLiveDataContainer:Landroidx/room/InvalidationLiveDataContainer;
|
||
|
|
||
|
.line 83
|
||
|
new-instance p1, Landroidx/arch/core/internal/SafeIterableMap;
|
||
|
|
||
|
invoke-direct {p1}, Landroidx/arch/core/internal/SafeIterableMap;-><init>()V
|
||
|
|
||
|
iput-object p1, p0, Landroidx/room/InvalidationTracker;->observerMap:Landroidx/arch/core/internal/SafeIterableMap;
|
||
|
|
||
|
.line 87
|
||
|
new-instance p1, Ljava/lang/Object;
|
||
|
|
||
|
invoke-direct {p1}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
iput-object p1, p0, Landroidx/room/InvalidationTracker;->syncTriggersLock:Ljava/lang/Object;
|
||
|
|
||
|
.line 89
|
||
|
new-instance p1, Ljava/lang/Object;
|
||
|
|
||
|
invoke-direct {p1}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
iput-object p1, p0, Landroidx/room/InvalidationTracker;->trackerLock:Ljava/lang/Object;
|
||
|
|
||
|
.line 92
|
||
|
new-instance p1, Ljava/util/LinkedHashMap;
|
||
|
|
||
|
invoke-direct {p1}, Ljava/util/LinkedHashMap;-><init>()V
|
||
|
|
||
|
check-cast p1, Ljava/util/Map;
|
||
|
|
||
|
iput-object p1, p0, Landroidx/room/InvalidationTracker;->tableIdLookup:Ljava/util/Map;
|
||
|
|
||
|
.line 93
|
||
|
array-length p1, p4
|
||
|
|
||
|
new-array p2, p1, [Ljava/lang/String;
|
||
|
|
||
|
:goto_0
|
||
|
const-string v0, "this as java.lang.String).toLowerCase(locale)"
|
||
|
|
||
|
const-string v1, "US"
|
||
|
|
||
|
if-ge p3, p1, :cond_2
|
||
|
|
||
|
.line 94
|
||
|
aget-object v2, p4, p3
|
||
|
|
||
|
sget-object v3, Ljava/util/Locale;->US:Ljava/util/Locale;
|
||
|
|
||
|
invoke-static {v3, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {v2, v3}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-static {v2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
iget-object v4, p0, Landroidx/room/InvalidationTracker;->tableIdLookup:Ljava/util/Map;
|
||
|
|
||
|
.line 95
|
||
|
invoke-interface {v4, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
iget-object v3, p0, Landroidx/room/InvalidationTracker;->shadowTablesMap:Ljava/util/Map;
|
||
|
|
||
|
.line 96
|
||
|
aget-object v4, p4, p3
|
||
|
|
||
|
invoke-interface {v3, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
check-cast v3, Ljava/lang/String;
|
||
|
|
||
|
if-eqz v3, :cond_0
|
||
|
|
||
|
sget-object v4, Ljava/util/Locale;->US:Ljava/util/Locale;
|
||
|
|
||
|
invoke-static {v4, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {v3, v4}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-static {v1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
:goto_1
|
||
|
if-nez v1, :cond_1
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:cond_1
|
||
|
move-object v2, v1
|
||
|
|
||
|
.line 97
|
||
|
:goto_2
|
||
|
aput-object v2, p2, p3
|
||
|
|
||
|
add-int/lit8 p3, p3, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_2
|
||
|
iput-object p2, p0, Landroidx/room/InvalidationTracker;->tablesNames:[Ljava/lang/String;
|
||
|
|
||
|
iget-object p1, p0, Landroidx/room/InvalidationTracker;->shadowTablesMap:Ljava/util/Map;
|
||
|
|
||
|
.line 847
|
||
|
invoke-interface {p1}, Ljava/util/Map;->entrySet()Ljava/util/Set;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
:cond_3
|
||
|
:goto_3
|
||
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result p2
|
||
|
|
||
|
if-eqz p2, :cond_4
|
||
|
|
||
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
check-cast p2, Ljava/util/Map$Entry;
|
||
|
|
||
|
.line 103
|
||
|
invoke-interface {p2}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p3
|
||
|
|
||
|
check-cast p3, Ljava/lang/String;
|
||
|
|
||
|
sget-object p4, Ljava/util/Locale;->US:Ljava/util/Locale;
|
||
|
|
||
|
invoke-static {p4, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p3, p4}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p3
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
iget-object p4, p0, Landroidx/room/InvalidationTracker;->tableIdLookup:Ljava/util/Map;
|
||
|
|
||
|
.line 104
|
||
|
invoke-interface {p4, p3}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result p4
|
||
|
|
||
|
if-eqz p4, :cond_3
|
||
|
|
||
|
.line 105
|
||
|
invoke-interface {p2}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
check-cast p2, Ljava/lang/String;
|
||
|
|
||
|
sget-object p4, Ljava/util/Locale;->US:Ljava/util/Locale;
|
||
|
|
||
|
invoke-static {p4, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p2, p4}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
iget-object p4, p0, Landroidx/room/InvalidationTracker;->tableIdLookup:Ljava/util/Map;
|
||
|
|
||
|
.line 106
|
||
|
invoke-static {p4, p3}, Lkotlin/collections/MapsKt;->getValue(Ljava/util/Map;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p3
|
||
|
|
||
|
invoke-interface {p4, p2, p3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
goto :goto_3
|
||
|
|
||
|
.line 349
|
||
|
:cond_4
|
||
|
new-instance p1, Landroidx/room/InvalidationTracker$refreshRunnable$1;
|
||
|
|
||
|
invoke-direct {p1, p0}, Landroidx/room/InvalidationTracker$refreshRunnable$1;-><init>(Landroidx/room/InvalidationTracker;)V
|
||
|
|
||
|
check-cast p1, Ljava/lang/Runnable;
|
||
|
|
||
|
iput-object p1, p0, Landroidx/room/InvalidationTracker;->refreshRunnable:Ljava/lang/Runnable;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public varargs constructor <init>(Landroidx/room/RoomDatabase;[Ljava/lang/String;)V
|
||
|
.locals 3
|
||
|
|
||
|
const-string v0, "database"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "tableNames"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 120
|
||
|
invoke-static {}, Lkotlin/collections/MapsKt;->emptyMap()Ljava/util/Map;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 121
|
||
|
invoke-static {}, Lkotlin/collections/MapsKt;->emptyMap()Ljava/util/Map;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 122
|
||
|
array-length v2, p2
|
||
|
|
||
|
invoke-static {p2, v2}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p2
|
||
|
|
||
|
check-cast p2, [Ljava/lang/String;
|
||
|
|
||
|
.line 118
|
||
|
invoke-direct {p0, p1, v0, v1, p2}, Landroidx/room/InvalidationTracker;-><init>(Landroidx/room/RoomDatabase;Ljava/util/Map;Ljava/util/Map;[Ljava/lang/String;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static final synthetic access$getAutoCloser$p(Landroidx/room/InvalidationTracker;)Landroidx/room/AutoCloser;
|
||
|
.locals 0
|
||
|
|
||
|
.line 56
|
||
|
iget-object p0, p0, Landroidx/room/InvalidationTracker;->autoCloser:Landroidx/room/AutoCloser;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public static synthetic getRefreshRunnable$annotations()V
|
||
|
.locals 0
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method private final resolveViews([Ljava/lang/String;)[Ljava/lang/String;
|
||
|
.locals 9
|
||
|
|
||
|
.line 287
|
||
|
invoke-static {}, Lkotlin/collections/SetsKt;->createSetBuilder()Ljava/util/Set;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 855
|
||
|
array-length v1, p1
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
move v3, v2
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v3, v1, :cond_1
|
||
|
|
||
|
aget-object v4, p1, v3
|
||
|
|
||
|
iget-object v5, p0, Landroidx/room/InvalidationTracker;->viewTables:Ljava/util/Map;
|
||
|
|
||
|
.line 289
|
||
|
sget-object v6, Ljava/util/Locale;->US:Ljava/util/Locale;
|
||
|
|
||
|
const-string v7, "US"
|
||
|
|
||
|
invoke-static {v6, v7}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {v4, v6}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v6
|
||
|
|
||
|
const-string v8, "this as java.lang.String).toLowerCase(locale)"
|
||
|
|
||
|
invoke-static {v6, v8}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-interface {v5, v6}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v5
|
||
|
|
||
|
if-eqz v5, :cond_0
|
||
|
|
||
|
iget-object v5, p0, Landroidx/room/InvalidationTracker;->viewTables:Ljava/util/Map;
|
||
|
|
||
|
.line 290
|
||
|
sget-object v6, Ljava/util/Locale;->US:Ljava/util/Locale;
|
||
|
|
||
|
invoke-static {v6, v7}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {v4, v6}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
invoke-static {v4, v8}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-interface {v5, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
invoke-static {v4}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
|
||
|
|
||
|
check-cast v4, Ljava/util/Collection;
|
||
|
|
||
|
invoke-interface {v0, v4}, Ljava/util/Set;->addAll(Ljava/util/Collection;)Z
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
.line 292
|
||
|
:cond_0
|
||
|
invoke-interface {v0, v4}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
:goto_1
|
||
|
add-int/lit8 v3, v3, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 287
|
||
|
:cond_1
|
||
|
invoke-static {v0}, Lkotlin/collections/SetsKt;->build(Ljava/util/Set;)Ljava/util/Set;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
check-cast p0, Ljava/util/Collection;
|
||
|
|
||
|
new-array p1, v2, [Ljava/lang/String;
|
||
|
|
||
|
.line 858
|
||
|
invoke-interface {p0, p1}, Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
const-string p1, "null cannot be cast to non-null type kotlin.Array<T of kotlin.collections.ArraysKt__ArraysJVMKt.toTypedArray>"
|
||
|
|
||
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
check-cast p0, [Ljava/lang/String;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method private final startTrackingTable(Landroidx/sqlite/db/SupportSQLiteDatabase;I)V
|
||
|
.locals 6
|
||
|
|
||
|
.line 205
|
||
|
new-instance v0, Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v1, "INSERT OR IGNORE INTO room_table_modification_log VALUES("
|
||
|
|
||
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
const-string v1, ", 0)"
|
||
|
|
||
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 204
|
||
|
invoke-interface {p1, v0}, Landroidx/sqlite/db/SupportSQLiteDatabase;->execSQL(Ljava/lang/String;)V
|
||
|
|
||
|
iget-object p0, p0, Landroidx/room/InvalidationTracker;->tablesNames:[Ljava/lang/String;
|
||
|
|
||
|
.line 207
|
||
|
aget-object p0, p0, p2
|
||
|
|
||
|
sget-object v0, Landroidx/room/InvalidationTracker;->TRIGGERS:[Ljava/lang/String;
|
||
|
|
||
|
.line 208
|
||
|
array-length v1, v0
|
||
|
|
||
|
const/4 v2, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v2, v1, :cond_0
|
||
|
|
||
|
aget-object v3, v0, v2
|
||
|
|
||
|
.line 209
|
||
|
new-instance v4, Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v5, "CREATE TEMP TRIGGER IF NOT EXISTS "
|
||
|
|
||
|
invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
sget-object v5, Landroidx/room/InvalidationTracker;->Companion:Landroidx/room/InvalidationTracker$Companion;
|
||
|
|
||
|
.line 211
|
||
|
invoke-virtual {v5, p0, v3}, Landroidx/room/InvalidationTracker$Companion;->getTriggerName$room_runtime_release(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v5
|
||
|
|
||
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v5, " AFTER "
|
||
|
|
||
|
.line 212
|
||
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
.line 213
|
||
|
invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v3, " ON `"
|
||
|
|
||
|
.line 214
|
||
|
invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
.line 215
|
||
|
invoke-virtual {v4, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v3, "` BEGIN UPDATE room_table_modification_log SET invalidated = 1 WHERE table_id = "
|
||
|
|
||
|
.line 216
|
||
|
invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
.line 221
|
||
|
invoke-virtual {v4, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v3, " AND invalidated = 0; END"
|
||
|
|
||
|
.line 222
|
||
|
invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
.line 209
|
||
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v3
|
||
|
|
||
|
const-string v4, "StringBuilder().apply(builderAction).toString()"
|
||
|
|
||
|
invoke-static {v3, v4}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 226
|
||
|
invoke-interface {p1, v3}, Landroidx/sqlite/db/SupportSQLiteDatabase;->execSQL(Ljava/lang/String;)V
|
||
|
|
||
|
add-int/lit8 v2, v2, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method private final stopTrackingTable(Landroidx/sqlite/db/SupportSQLiteDatabase;I)V
|
||
|
.locals 5
|
||
|
|
||
|
iget-object p0, p0, Landroidx/room/InvalidationTracker;->tablesNames:[Ljava/lang/String;
|
||
|
|
||
|
.line 193
|
||
|
aget-object p0, p0, p2
|
||
|
|
||
|
sget-object p2, Landroidx/room/InvalidationTracker;->TRIGGERS:[Ljava/lang/String;
|
||
|
|
||
|
.line 194
|
||
|
array-length v0, p2
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v1, v0, :cond_0
|
||
|
|
||
|
aget-object v2, p2, v1
|
||
|
|
||
|
.line 195
|
||
|
new-instance v3, Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v4, "DROP TRIGGER IF EXISTS "
|
||
|
|
||
|
invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
sget-object v4, Landroidx/room/InvalidationTracker;->Companion:Landroidx/room/InvalidationTracker$Companion;
|
||
|
|
||
|
.line 197
|
||
|
invoke-virtual {v4, p0, v2}, Landroidx/room/InvalidationTracker$Companion;->getTriggerName$room_runtime_release(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
.line 195
|
||
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
const-string v3, "StringBuilder().apply(builderAction).toString()"
|
||
|
|
||
|
invoke-static {v2, v3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 199
|
||
|
invoke-interface {p1, v2}, Landroidx/sqlite/db/SupportSQLiteDatabase;->execSQL(Ljava/lang/String;)V
|
||
|
|
||
|
add-int/lit8 v1, v1, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
:cond_0
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method private final validateAndResolveTableNames([Ljava/lang/String;)[Ljava/lang/String;
|
||
|
.locals 6
|
||
|
|
||
|
.line 271
|
||
|
invoke-direct {p0, p1}, Landroidx/room/InvalidationTracker;->resolveViews([Ljava/lang/String;)[Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
.line 853
|
||
|
array-length v0, p1
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v1, v0, :cond_1
|
||
|
|
||
|
aget-object v2, p1, v1
|
||
|
|
||
|
iget-object v3, p0, Landroidx/room/InvalidationTracker;->tableIdLookup:Ljava/util/Map;
|
||
|
|
||
|
.line 273
|
||
|
sget-object v4, Ljava/util/Locale;->US:Ljava/util/Locale;
|
||
|
|
||
|
const-string v5, "US"
|
||
|
|
||
|
invoke-static {v4, v5}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {v2, v4}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
const-string v5, "this as java.lang.String).toLowerCase(locale)"
|
||
|
|
||
|
invoke-static {v4, v5}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-interface {v3, v4}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
||
|
|
||
|
move-result v3
|
||
|
|
||
|
if-eqz v3, :cond_0
|
||
|
|
||
|
add-int/lit8 v1, v1, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 274
|
||
|
:cond_0
|
||
|
new-instance p0, Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string p1, "There is no table with name "
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 273
|
||
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
||
|
|
||
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p1
|
||
|
|
||
|
:cond_1
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public addObserver(Landroidx/room/InvalidationTracker$Observer;)V
|
||
|
.locals 8
|
||
|
|
||
|
const-string v0, "observer"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 250
|
||
|
invoke-virtual {p1}, Landroidx/room/InvalidationTracker$Observer;->getTables$room_runtime_release()[Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-direct {p0, v0}, Landroidx/room/InvalidationTracker;->resolveViews([Ljava/lang/String;)[Ljava/lang/String;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 849
|
||
|
new-instance v1, Ljava/util/ArrayList;
|
||
|
|
||
|
array-length v2, v0
|
||
|
|
||
|
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(I)V
|
||
|
|
||
|
check-cast v1, Ljava/util/Collection;
|
||
|
|
||
|
.line 850
|
||
|
array-length v2, v0
|
||
|
|
||
|
const/4 v3, 0x0
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v3, v2, :cond_1
|
||
|
|
||
|
aget-object v4, v0, v3
|
||
|
|
||
|
iget-object v5, p0, Landroidx/room/InvalidationTracker;->tableIdLookup:Ljava/util/Map;
|
||
|
|
||
|
.line 252
|
||
|
sget-object v6, Ljava/util/Locale;->US:Ljava/util/Locale;
|
||
|
|
||
|
const-string v7, "US"
|
||
|
|
||
|
invoke-static {v6, v7}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {v4, v6}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v6
|
||
|
|
||
|
const-string v7, "this as java.lang.String).toLowerCase(locale)"
|
||
|
|
||
|
invoke-static {v6, v7}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-interface {v5, v6}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v5
|
||
|
|
||
|
check-cast v5, Ljava/lang/Integer;
|
||
|
|
||
|
if-eqz v5, :cond_0
|
||
|
|
||
|
invoke-virtual {v5}, Ljava/lang/Integer;->intValue()I
|
||
|
|
||
|
move-result v4
|
||
|
|
||
|
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||
|
|
||
|
move-result-object v4
|
||
|
|
||
|
.line 851
|
||
|
invoke-interface {v1, v4}, Ljava/util/Collection;->add(Ljava/lang/Object;)Z
|
||
|
|
||
|
add-int/lit8 v3, v3, 0x1
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 253
|
||
|
:cond_0
|
||
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
||
|
|
||
|
new-instance p1, Ljava/lang/StringBuilder;
|
||
|
|
||
|
const-string v0, "There is no table with name "
|
||
|
|
||
|
invoke-direct {p1, v0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
||
|
|
||
|
throw p0
|
||
|
|
||
|
.line 852
|
||
|
:cond_1
|
||
|
check-cast v1, Ljava/util/List;
|
||
|
|
||
|
.line 849
|
||
|
check-cast v1, Ljava/util/Collection;
|
||
|
|
||
|
.line 254
|
||
|
invoke-static {v1}, Lkotlin/collections/CollectionsKt;->toIntArray(Ljava/util/Collection;)[I
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
.line 256
|
||
|
new-instance v2, Landroidx/room/InvalidationTracker$ObserverWrapper;
|
||
|
|
||
|
invoke-direct {v2, p1, v1, v0}, Landroidx/room/InvalidationTracker$ObserverWrapper;-><init>(Landroidx/room/InvalidationTracker$Observer;[I[Ljava/lang/String;)V
|
||
|
|
||
|
iget-object v0, p0, Landroidx/room/InvalidationTracker;->observerMap:Landroidx/arch/core/internal/SafeIterableMap;
|
||
|
|
||
|
.line 262
|
||
|
monitor-enter v0
|
||
|
|
||
|
:try_start_0
|
||
|
iget-object v3, p0, Landroidx/room/InvalidationTracker;->observerMap:Landroidx/arch/core/internal/SafeIterableMap;
|
||
|
|
||
|
.line 263
|
||
|
invoke-virtual {v3, p1, v2}, Landroidx/arch/core/internal/SafeIterableMap;->putIfAbsent(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
check-cast p1, Landroidx/room/InvalidationTracker$ObserverWrapper;
|
||
|
:try_end_0
|
||
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||
|
|
||
|
.line 262
|
||
|
monitor-exit v0
|
||
|
|
||
|
if-nez p1, :cond_2
|
||
|
|
||
|
iget-object p1, p0, Landroidx/room/InvalidationTracker;->observedTableTracker:Landroidx/room/InvalidationTracker$ObservedTableTracker;
|
||
|
|
||
|
.line 265
|
||
|
array-length v0, v1
|
||
|
|
||
|
invoke-static {v1, v0}, Ljava/util/Arrays;->copyOf([II)[I
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {p1, v0}, Landroidx/room/InvalidationTracker$ObservedTableTracker;->onAdded([I)Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-eqz p1, :cond_2
|
||
|
|
||
|
.line 266
|
||
|
invoke-virtual {p0}, Landroidx/room/InvalidationTracker;->syncTriggers$room_runtime_release()V
|
||
|
|
||
|
:cond_2
|
||
|
return-void
|
||
|
|
||
|
:catchall_0
|
||
|
move-exception p0
|
||
|
|
||
|
.line 262
|
||
|
monitor-exit v0
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public addWeakObserver(Landroidx/room/InvalidationTracker$Observer;)V
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "observer"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 309
|
||
|
new-instance v0, Landroidx/room/InvalidationTracker$WeakObserver;
|
||
|
|
||
|
invoke-direct {v0, p0, p1}, Landroidx/room/InvalidationTracker$WeakObserver;-><init>(Landroidx/room/InvalidationTracker;Landroidx/room/InvalidationTracker$Observer;)V
|
||
|
|
||
|
check-cast v0, Landroidx/room/InvalidationTracker$Observer;
|
||
|
|
||
|
invoke-virtual {p0, v0}, Landroidx/room/InvalidationTracker;->addObserver(Landroidx/room/InvalidationTracker$Observer;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public createLiveData([Ljava/lang/String;Ljava/util/concurrent/Callable;)Landroidx/lifecycle/LiveData;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">([",
|
||
|
"Ljava/lang/String;",
|
||
|
"Ljava/util/concurrent/Callable<",
|
||
|
"TT;>;)",
|
||
|
"Landroidx/lifecycle/LiveData<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.annotation runtime Lkotlin/Deprecated;
|
||
|
message = "Use [createLiveData(String[], boolean, Callable)]"
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "tableNames"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "computeFunction"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
.line 554
|
||
|
invoke-virtual {p0, p1, v0, p2}, Landroidx/room/InvalidationTracker;->createLiveData([Ljava/lang/String;ZLjava/util/concurrent/Callable;)Landroidx/lifecycle/LiveData;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public createLiveData([Ljava/lang/String;ZLjava/util/concurrent/Callable;)Landroidx/lifecycle/LiveData;
|
||
|
.locals 1
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"<T:",
|
||
|
"Ljava/lang/Object;",
|
||
|
">([",
|
||
|
"Ljava/lang/String;",
|
||
|
"Z",
|
||
|
"Ljava/util/concurrent/Callable<",
|
||
|
"TT;>;)",
|
||
|
"Landroidx/lifecycle/LiveData<",
|
||
|
"TT;>;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
const-string v0, "tableNames"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "computeFunction"
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
iget-object v0, p0, Landroidx/room/InvalidationTracker;->invalidationLiveDataContainer:Landroidx/room/InvalidationLiveDataContainer;
|
||
|
|
||
|
.line 579
|
||
|
invoke-direct {p0, p1}, Landroidx/room/InvalidationTracker;->validateAndResolveTableNames([Ljava/lang/String;)[Ljava/lang/String;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
.line 578
|
||
|
invoke-virtual {v0, p0, p2, p3}, Landroidx/room/InvalidationLiveDataContainer;->create([Ljava/lang/String;ZLjava/util/concurrent/Callable;)Landroidx/lifecycle/LiveData;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public final ensureInitialization$room_runtime_release()Z
|
||
|
.locals 2
|
||
|
|
||
|
iget-object v0, p0, Landroidx/room/InvalidationTracker;->database:Landroidx/room/RoomDatabase;
|
||
|
|
||
|
.line 332
|
||
|
invoke-virtual {v0}, Landroidx/room/RoomDatabase;->isOpen()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
return v1
|
||
|
|
||
|
:cond_0
|
||
|
iget-boolean v0, p0, Landroidx/room/InvalidationTracker;->initialized:Z
|
||
|
|
||
|
if-nez v0, :cond_1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/room/InvalidationTracker;->database:Landroidx/room/RoomDatabase;
|
||
|
|
||
|
.line 337
|
||
|
invoke-virtual {v0}, Landroidx/room/RoomDatabase;->getOpenHelper()Landroidx/sqlite/db/SupportSQLiteOpenHelper;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {v0}, Landroidx/sqlite/db/SupportSQLiteOpenHelper;->getWritableDatabase()Landroidx/sqlite/db/SupportSQLiteDatabase;
|
||
|
|
||
|
:cond_1
|
||
|
iget-boolean p0, p0, Landroidx/room/InvalidationTracker;->initialized:Z
|
||
|
|
||
|
if-nez p0, :cond_2
|
||
|
|
||
|
const-string p0, "ROOM"
|
||
|
|
||
|
const-string v0, "database is not initialized even though it is open"
|
||
|
|
||
|
.line 340
|
||
|
invoke-static {p0, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
||
|
|
||
|
return v1
|
||
|
|
||
|
:cond_2
|
||
|
const/4 p0, 0x1
|
||
|
|
||
|
return p0
|
||
|
.end method
|
||
|
|
||
|
.method public final getCleanupStatement$room_runtime_release()Landroidx/sqlite/db/SupportSQLiteStatement;
|
||
|
.locals 0
|
||
|
|
||
|
iget-object p0, p0, Landroidx/room/InvalidationTracker;->cleanupStatement:Landroidx/sqlite/db/SupportSQLiteStatement;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public final getDatabase$room_runtime_release()Landroidx/room/RoomDatabase;
|
||
|
.locals 0
|
||
|
|
||
|
iget-object p0, p0, Landroidx/room/InvalidationTracker;->database:Landroidx/room/RoomDatabase;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public final getObserverMap$room_runtime_release()Landroidx/arch/core/internal/SafeIterableMap;
|
||
|
.locals 0
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"()",
|
||
|
"Landroidx/arch/core/internal/SafeIterableMap<",
|
||
|
"Landroidx/room/InvalidationTracker$Observer;",
|
||
|
"Landroidx/room/InvalidationTracker$ObserverWrapper;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
iget-object p0, p0, Landroidx/room/InvalidationTracker;->observerMap:Landroidx/arch/core/internal/SafeIterableMap;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public final getPendingRefresh()Ljava/util/concurrent/atomic/AtomicBoolean;
|
||
|
.locals 0
|
||
|
|
||
|
iget-object p0, p0, Landroidx/room/InvalidationTracker;->pendingRefresh:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public final getTableIdLookup$room_runtime_release()Ljava/util/Map;
|
||
|
.locals 0
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"()",
|
||
|
"Ljava/util/Map<",
|
||
|
"Ljava/lang/String;",
|
||
|
"Ljava/lang/Integer;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
iget-object p0, p0, Landroidx/room/InvalidationTracker;->tableIdLookup:Ljava/util/Map;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public final getTablesNames$room_runtime_release()[Ljava/lang/String;
|
||
|
.locals 0
|
||
|
|
||
|
iget-object p0, p0, Landroidx/room/InvalidationTracker;->tablesNames:[Ljava/lang/String;
|
||
|
|
||
|
return-object p0
|
||
|
.end method
|
||
|
|
||
|
.method public final internalInit$room_runtime_release(Landroidx/sqlite/db/SupportSQLiteDatabase;)V
|
||
|
.locals 2
|
||
|
|
||
|
const-string v0, "database"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
iget-object v0, p0, Landroidx/room/InvalidationTracker;->trackerLock:Ljava/lang/Object;
|
||
|
|
||
|
.line 148
|
||
|
monitor-enter v0
|
||
|
|
||
|
:try_start_0
|
||
|
iget-boolean v1, p0, Landroidx/room/InvalidationTracker;->initialized:Z
|
||
|
|
||
|
if-eqz v1, :cond_0
|
||
|
|
||
|
const-string p0, "ROOM"
|
||
|
|
||
|
const-string p1, "Invalidation tracker is initialized twice :/."
|
||
|
|
||
|
.line 150
|
||
|
invoke-static {p0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
||
|
:try_end_0
|
||
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||
|
|
||
|
.line 151
|
||
|
monitor-exit v0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_0
|
||
|
:try_start_1
|
||
|
const-string v1, "PRAGMA temp_store = MEMORY;"
|
||
|
|
||
|
.line 156
|
||
|
invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteDatabase;->execSQL(Ljava/lang/String;)V
|
||
|
|
||
|
const-string v1, "PRAGMA recursive_triggers=\'ON\';"
|
||
|
|
||
|
.line 157
|
||
|
invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteDatabase;->execSQL(Ljava/lang/String;)V
|
||
|
|
||
|
const-string v1, "CREATE TEMP TABLE room_table_modification_log (table_id INTEGER PRIMARY KEY, invalidated INTEGER NOT NULL DEFAULT 0)"
|
||
|
|
||
|
.line 158
|
||
|
invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteDatabase;->execSQL(Ljava/lang/String;)V
|
||
|
|
||
|
.line 159
|
||
|
invoke-virtual {p0, p1}, Landroidx/room/InvalidationTracker;->syncTriggers$room_runtime_release(Landroidx/sqlite/db/SupportSQLiteDatabase;)V
|
||
|
|
||
|
const-string v1, "UPDATE room_table_modification_log SET invalidated = 0 WHERE invalidated = 1"
|
||
|
|
||
|
.line 160
|
||
|
invoke-interface {p1, v1}, Landroidx/sqlite/db/SupportSQLiteDatabase;->compileStatement(Ljava/lang/String;)Landroidx/sqlite/db/SupportSQLiteStatement;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
iput-object p1, p0, Landroidx/room/InvalidationTracker;->cleanupStatement:Landroidx/sqlite/db/SupportSQLiteStatement;
|
||
|
|
||
|
const/4 p1, 0x1
|
||
|
|
||
|
iput-boolean p1, p0, Landroidx/room/InvalidationTracker;->initialized:Z
|
||
|
|
||
|
.line 162
|
||
|
sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
||
|
:try_end_1
|
||
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
||
|
|
||
|
.line 148
|
||
|
monitor-exit v0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:catchall_0
|
||
|
move-exception p0
|
||
|
|
||
|
monitor-exit v0
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public final varargs notifyObserversByTableNames([Ljava/lang/String;)V
|
||
|
.locals 3
|
||
|
|
||
|
const-string v0, "tables"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
iget-object v0, p0, Landroidx/room/InvalidationTracker;->observerMap:Landroidx/arch/core/internal/SafeIterableMap;
|
||
|
|
||
|
.line 471
|
||
|
monitor-enter v0
|
||
|
|
||
|
:try_start_0
|
||
|
iget-object p0, p0, Landroidx/room/InvalidationTracker;->observerMap:Landroidx/arch/core/internal/SafeIterableMap;
|
||
|
|
||
|
.line 472
|
||
|
check-cast p0, Ljava/lang/Iterable;
|
||
|
|
||
|
.line 859
|
||
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
||
|
|
||
|
move-result-object p0
|
||
|
|
||
|
:cond_0
|
||
|
:goto_0
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
||
|
|
||
|
move-result v1
|
||
|
|
||
|
if-eqz v1, :cond_1
|
||
|
|
||
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Ljava/util/Map$Entry;
|
||
|
|
||
|
const-string v2, "(observer, wrapper)"
|
||
|
|
||
|
.line 472
|
||
|
invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
check-cast v2, Landroidx/room/InvalidationTracker$Observer;
|
||
|
|
||
|
invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
check-cast v1, Landroidx/room/InvalidationTracker$ObserverWrapper;
|
||
|
|
||
|
.line 473
|
||
|
invoke-virtual {v2}, Landroidx/room/InvalidationTracker$Observer;->isRemote$room_runtime_release()Z
|
||
|
|
||
|
move-result v2
|
||
|
|
||
|
if-nez v2, :cond_0
|
||
|
|
||
|
.line 474
|
||
|
invoke-virtual {v1, p1}, Landroidx/room/InvalidationTracker$ObserverWrapper;->notifyByTableNames$room_runtime_release([Ljava/lang/String;)V
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 477
|
||
|
:cond_1
|
||
|
sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
||
|
:try_end_0
|
||
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||
|
|
||
|
.line 471
|
||
|
monitor-exit v0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:catchall_0
|
||
|
move-exception p0
|
||
|
|
||
|
monitor-exit v0
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public final onAutoCloseCallback$room_runtime_release()V
|
||
|
.locals 2
|
||
|
|
||
|
iget-object v0, p0, Landroidx/room/InvalidationTracker;->trackerLock:Ljava/lang/Object;
|
||
|
|
||
|
.line 167
|
||
|
monitor-enter v0
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
:try_start_0
|
||
|
iput-boolean v1, p0, Landroidx/room/InvalidationTracker;->initialized:Z
|
||
|
|
||
|
iget-object p0, p0, Landroidx/room/InvalidationTracker;->observedTableTracker:Landroidx/room/InvalidationTracker$ObservedTableTracker;
|
||
|
|
||
|
.line 169
|
||
|
invoke-virtual {p0}, Landroidx/room/InvalidationTracker$ObservedTableTracker;->resetTriggerState()V
|
||
|
|
||
|
.line 170
|
||
|
sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
||
|
:try_end_0
|
||
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||
|
|
||
|
.line 167
|
||
|
monitor-exit v0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:catchall_0
|
||
|
move-exception p0
|
||
|
|
||
|
monitor-exit v0
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public refreshVersionsAsync()V
|
||
|
.locals 3
|
||
|
|
||
|
iget-object v0, p0, Landroidx/room/InvalidationTracker;->pendingRefresh:Ljava/util/concurrent/atomic/AtomicBoolean;
|
||
|
|
||
|
const/4 v1, 0x0
|
||
|
|
||
|
const/4 v2, 0x1
|
||
|
|
||
|
.line 435
|
||
|
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/room/InvalidationTracker;->autoCloser:Landroidx/room/AutoCloser;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 440
|
||
|
invoke-virtual {v0}, Landroidx/room/AutoCloser;->incrementCountAndEnsureDbIsOpen()Landroidx/sqlite/db/SupportSQLiteDatabase;
|
||
|
|
||
|
:cond_0
|
||
|
iget-object v0, p0, Landroidx/room/InvalidationTracker;->database:Landroidx/room/RoomDatabase;
|
||
|
|
||
|
.line 441
|
||
|
invoke-virtual {v0}, Landroidx/room/RoomDatabase;->getQueryExecutor()Ljava/util/concurrent/Executor;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
iget-object p0, p0, Landroidx/room/InvalidationTracker;->refreshRunnable:Ljava/lang/Runnable;
|
||
|
|
||
|
invoke-interface {v0, p0}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
|
||
|
|
||
|
:cond_1
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public refreshVersionsSync()V
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/room/InvalidationTracker;->autoCloser:Landroidx/room/AutoCloser;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 454
|
||
|
invoke-virtual {v0}, Landroidx/room/AutoCloser;->incrementCountAndEnsureDbIsOpen()Landroidx/sqlite/db/SupportSQLiteDatabase;
|
||
|
|
||
|
.line 455
|
||
|
:cond_0
|
||
|
invoke-virtual {p0}, Landroidx/room/InvalidationTracker;->syncTriggers$room_runtime_release()V
|
||
|
|
||
|
iget-object p0, p0, Landroidx/room/InvalidationTracker;->refreshRunnable:Ljava/lang/Runnable;
|
||
|
|
||
|
.line 456
|
||
|
invoke-interface {p0}, Ljava/lang/Runnable;->run()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public removeObserver(Landroidx/room/InvalidationTracker$Observer;)V
|
||
|
.locals 2
|
||
|
|
||
|
const-string v0, "observer"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
iget-object v0, p0, Landroidx/room/InvalidationTracker;->observerMap:Landroidx/arch/core/internal/SafeIterableMap;
|
||
|
|
||
|
.line 323
|
||
|
monitor-enter v0
|
||
|
|
||
|
:try_start_0
|
||
|
iget-object v1, p0, Landroidx/room/InvalidationTracker;->observerMap:Landroidx/arch/core/internal/SafeIterableMap;
|
||
|
|
||
|
.line 324
|
||
|
invoke-virtual {v1, p1}, Landroidx/arch/core/internal/SafeIterableMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
check-cast p1, Landroidx/room/InvalidationTracker$ObserverWrapper;
|
||
|
:try_end_0
|
||
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
||
|
|
||
|
.line 323
|
||
|
monitor-exit v0
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
iget-object v0, p0, Landroidx/room/InvalidationTracker;->observedTableTracker:Landroidx/room/InvalidationTracker$ObservedTableTracker;
|
||
|
|
||
|
.line 326
|
||
|
invoke-virtual {p1}, Landroidx/room/InvalidationTracker$ObserverWrapper;->getTableIds$room_runtime_release()[I
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
array-length v1, p1
|
||
|
|
||
|
invoke-static {p1, v1}, Ljava/util/Arrays;->copyOf([II)[I
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
invoke-virtual {v0, p1}, Landroidx/room/InvalidationTracker$ObservedTableTracker;->onRemoved([I)Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
if-eqz p1, :cond_0
|
||
|
|
||
|
.line 327
|
||
|
invoke-virtual {p0}, Landroidx/room/InvalidationTracker;->syncTriggers$room_runtime_release()V
|
||
|
|
||
|
:cond_0
|
||
|
return-void
|
||
|
|
||
|
:catchall_0
|
||
|
move-exception p0
|
||
|
|
||
|
.line 323
|
||
|
monitor-exit v0
|
||
|
|
||
|
throw p0
|
||
|
.end method
|
||
|
|
||
|
.method public final setAutoCloser$room_runtime_release(Landroidx/room/AutoCloser;)V
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "autoCloser"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
iput-object p1, p0, Landroidx/room/InvalidationTracker;->autoCloser:Landroidx/room/AutoCloser;
|
||
|
|
||
|
.line 139
|
||
|
new-instance v0, Landroidx/room/InvalidationTracker$$ExternalSyntheticLambda0;
|
||
|
|
||
|
invoke-direct {v0, p0}, Landroidx/room/InvalidationTracker$$ExternalSyntheticLambda0;-><init>(Landroidx/room/InvalidationTracker;)V
|
||
|
|
||
|
invoke-virtual {p1, v0}, Landroidx/room/AutoCloser;->setAutoCloseCallback(Ljava/lang/Runnable;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public final setCleanupStatement$room_runtime_release(Landroidx/sqlite/db/SupportSQLiteStatement;)V
|
||
|
.locals 0
|
||
|
|
||
|
iput-object p1, p0, Landroidx/room/InvalidationTracker;->cleanupStatement:Landroidx/sqlite/db/SupportSQLiteStatement;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public final startMultiInstanceInvalidation$room_runtime_release(Landroid/content/Context;Ljava/lang/String;Landroid/content/Intent;)V
|
||
|
.locals 7
|
||
|
|
||
|
const-string v0, "context"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "name"
|
||
|
|
||
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
const-string v0, "serviceIntent"
|
||
|
|
||
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 178
|
||
|
new-instance v0, Landroidx/room/MultiInstanceInvalidationClient;
|
||
|
|
||
|
iget-object v1, p0, Landroidx/room/InvalidationTracker;->database:Landroidx/room/RoomDatabase;
|
||
|
|
||
|
.line 183
|
||
|
invoke-virtual {v1}, Landroidx/room/RoomDatabase;->getQueryExecutor()Ljava/util/concurrent/Executor;
|
||
|
|
||
|
move-result-object v6
|
||
|
|
||
|
move-object v1, v0
|
||
|
|
||
|
move-object v2, p1
|
||
|
|
||
|
move-object v3, p2
|
||
|
|
||
|
move-object v4, p3
|
||
|
|
||
|
move-object v5, p0
|
||
|
|
||
|
.line 178
|
||
|
invoke-direct/range {v1 .. v6}, Landroidx/room/MultiInstanceInvalidationClient;-><init>(Landroid/content/Context;Ljava/lang/String;Landroid/content/Intent;Landroidx/room/InvalidationTracker;Ljava/util/concurrent/Executor;)V
|
||
|
|
||
|
iput-object v0, p0, Landroidx/room/InvalidationTracker;->multiInstanceInvalidationClient:Landroidx/room/MultiInstanceInvalidationClient;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public final stopMultiInstanceInvalidation$room_runtime_release()V
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/room/InvalidationTracker;->multiInstanceInvalidationClient:Landroidx/room/MultiInstanceInvalidationClient;
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 188
|
||
|
invoke-virtual {v0}, Landroidx/room/MultiInstanceInvalidationClient;->stop()V
|
||
|
|
||
|
:cond_0
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
iput-object v0, p0, Landroidx/room/InvalidationTracker;->multiInstanceInvalidationClient:Landroidx/room/MultiInstanceInvalidationClient;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public final syncTriggers$room_runtime_release()V
|
||
|
.locals 1
|
||
|
|
||
|
iget-object v0, p0, Landroidx/room/InvalidationTracker;->database:Landroidx/room/RoomDatabase;
|
||
|
|
||
|
.line 529
|
||
|
invoke-virtual {v0}, Landroidx/room/RoomDatabase;->isOpen()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-nez v0, :cond_0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_0
|
||
|
iget-object v0, p0, Landroidx/room/InvalidationTracker;->database:Landroidx/room/RoomDatabase;
|
||
|
|
||
|
.line 532
|
||
|
invoke-virtual {v0}, Landroidx/room/RoomDatabase;->getOpenHelper()Landroidx/sqlite/db/SupportSQLiteOpenHelper;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-interface {v0}, Landroidx/sqlite/db/SupportSQLiteOpenHelper;->getWritableDatabase()Landroidx/sqlite/db/SupportSQLiteDatabase;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
invoke-virtual {p0, v0}, Landroidx/room/InvalidationTracker;->syncTriggers$room_runtime_release(Landroidx/sqlite/db/SupportSQLiteDatabase;)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public final syncTriggers$room_runtime_release(Landroidx/sqlite/db/SupportSQLiteDatabase;)V
|
||
|
.locals 9
|
||
|
|
||
|
const-string v0, "database"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
.line 481
|
||
|
invoke-interface {p1}, Landroidx/sqlite/db/SupportSQLiteDatabase;->inTransaction()Z
|
||
|
|
||
|
move-result v0
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_0
|
||
|
:try_start_0
|
||
|
iget-object v0, p0, Landroidx/room/InvalidationTracker;->database:Landroidx/room/RoomDatabase;
|
||
|
|
||
|
.line 486
|
||
|
invoke-virtual {v0}, Landroidx/room/RoomDatabase;->getCloseLock$room_runtime_release()Ljava/util/concurrent/locks/Lock;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
.line 487
|
||
|
invoke-interface {v0}, Ljava/util/concurrent/locks/Lock;->lock()V
|
||
|
:try_end_0
|
||
|
.catch Ljava/lang/IllegalStateException; {:try_start_0 .. :try_end_0} :catch_1
|
||
|
.catch Landroid/database/sqlite/SQLiteException; {:try_start_0 .. :try_end_0} :catch_0
|
||
|
|
||
|
:try_start_1
|
||
|
iget-object v1, p0, Landroidx/room/InvalidationTracker;->syncTriggersLock:Ljava/lang/Object;
|
||
|
|
||
|
.line 492
|
||
|
monitor-enter v1
|
||
|
:try_end_1
|
||
|
.catchall {:try_start_1 .. :try_end_1} :catchall_2
|
||
|
|
||
|
:try_start_2
|
||
|
iget-object v2, p0, Landroidx/room/InvalidationTracker;->observedTableTracker:Landroidx/room/InvalidationTracker$ObservedTableTracker;
|
||
|
|
||
|
.line 493
|
||
|
invoke-virtual {v2}, Landroidx/room/InvalidationTracker$ObservedTableTracker;->getTablesToSync()[I
|
||
|
|
||
|
move-result-object v2
|
||
|
:try_end_2
|
||
|
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
||
|
|
||
|
if-nez v2, :cond_1
|
||
|
|
||
|
:try_start_3
|
||
|
monitor-exit v1
|
||
|
:try_end_3
|
||
|
.catchall {:try_start_3 .. :try_end_3} :catchall_2
|
||
|
|
||
|
.line 510
|
||
|
:try_start_4
|
||
|
invoke-interface {v0}, Ljava/util/concurrent/locks/Lock;->unlock()V
|
||
|
:try_end_4
|
||
|
.catch Ljava/lang/IllegalStateException; {:try_start_4 .. :try_end_4} :catch_1
|
||
|
.catch Landroid/database/sqlite/SQLiteException; {:try_start_4 .. :try_end_4} :catch_0
|
||
|
|
||
|
return-void
|
||
|
|
||
|
:cond_1
|
||
|
:try_start_5
|
||
|
sget-object v3, Landroidx/room/InvalidationTracker;->Companion:Landroidx/room/InvalidationTracker$Companion;
|
||
|
|
||
|
.line 494
|
||
|
invoke-virtual {v3, p1}, Landroidx/room/InvalidationTracker$Companion;->beginTransactionInternal$room_runtime_release(Landroidx/sqlite/db/SupportSQLiteDatabase;)V
|
||
|
:try_end_5
|
||
|
.catchall {:try_start_5 .. :try_end_5} :catchall_1
|
||
|
|
||
|
.line 862
|
||
|
:try_start_6
|
||
|
array-length v3, v2
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
move v5, v4
|
||
|
|
||
|
:goto_0
|
||
|
if-ge v4, v3, :cond_4
|
||
|
|
||
|
aget v6, v2, v4
|
||
|
|
||
|
add-int/lit8 v7, v5, 0x1
|
||
|
|
||
|
const/4 v8, 0x1
|
||
|
|
||
|
if-eq v6, v8, :cond_3
|
||
|
|
||
|
const/4 v8, 0x2
|
||
|
|
||
|
if-eq v6, v8, :cond_2
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
.line 501
|
||
|
:cond_2
|
||
|
invoke-direct {p0, p1, v5}, Landroidx/room/InvalidationTracker;->stopTrackingTable(Landroidx/sqlite/db/SupportSQLiteDatabase;I)V
|
||
|
|
||
|
goto :goto_1
|
||
|
|
||
|
.line 499
|
||
|
:cond_3
|
||
|
invoke-direct {p0, p1, v5}, Landroidx/room/InvalidationTracker;->startTrackingTable(Landroidx/sqlite/db/SupportSQLiteDatabase;I)V
|
||
|
|
||
|
:goto_1
|
||
|
add-int/lit8 v4, v4, 0x1
|
||
|
|
||
|
move v5, v7
|
||
|
|
||
|
goto :goto_0
|
||
|
|
||
|
.line 504
|
||
|
:cond_4
|
||
|
invoke-interface {p1}, Landroidx/sqlite/db/SupportSQLiteDatabase;->setTransactionSuccessful()V
|
||
|
:try_end_6
|
||
|
.catchall {:try_start_6 .. :try_end_6} :catchall_0
|
||
|
|
||
|
.line 506
|
||
|
:try_start_7
|
||
|
invoke-interface {p1}, Landroidx/sqlite/db/SupportSQLiteDatabase;->endTransaction()V
|
||
|
|
||
|
.line 508
|
||
|
sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
||
|
:try_end_7
|
||
|
.catchall {:try_start_7 .. :try_end_7} :catchall_1
|
||
|
|
||
|
.line 492
|
||
|
:try_start_8
|
||
|
monitor-exit v1
|
||
|
:try_end_8
|
||
|
.catchall {:try_start_8 .. :try_end_8} :catchall_2
|
||
|
|
||
|
.line 510
|
||
|
:try_start_9
|
||
|
invoke-interface {v0}, Ljava/util/concurrent/locks/Lock;->unlock()V
|
||
|
:try_end_9
|
||
|
.catch Ljava/lang/IllegalStateException; {:try_start_9 .. :try_end_9} :catch_1
|
||
|
.catch Landroid/database/sqlite/SQLiteException; {:try_start_9 .. :try_end_9} :catch_0
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:catchall_0
|
||
|
move-exception p0
|
||
|
|
||
|
.line 506
|
||
|
:try_start_a
|
||
|
invoke-interface {p1}, Landroidx/sqlite/db/SupportSQLiteDatabase;->endTransaction()V
|
||
|
|
||
|
throw p0
|
||
|
:try_end_a
|
||
|
.catchall {:try_start_a .. :try_end_a} :catchall_1
|
||
|
|
||
|
:catchall_1
|
||
|
move-exception p0
|
||
|
|
||
|
.line 492
|
||
|
:try_start_b
|
||
|
monitor-exit v1
|
||
|
|
||
|
throw p0
|
||
|
:try_end_b
|
||
|
.catchall {:try_start_b .. :try_end_b} :catchall_2
|
||
|
|
||
|
:catchall_2
|
||
|
move-exception p0
|
||
|
|
||
|
.line 510
|
||
|
:try_start_c
|
||
|
invoke-interface {v0}, Ljava/util/concurrent/locks/Lock;->unlock()V
|
||
|
|
||
|
throw p0
|
||
|
:try_end_c
|
||
|
.catch Ljava/lang/IllegalStateException; {:try_start_c .. :try_end_c} :catch_1
|
||
|
.catch Landroid/database/sqlite/SQLiteException; {:try_start_c .. :try_end_c} :catch_0
|
||
|
|
||
|
:catch_0
|
||
|
move-exception p0
|
||
|
|
||
|
const-string p1, "ROOM"
|
||
|
|
||
|
const-string v0, "Cannot run invalidation tracker. Is the db closed?"
|
||
|
|
||
|
.line 516
|
||
|
check-cast p0, Ljava/lang/Throwable;
|
||
|
|
||
|
invoke-static {p1, v0, p0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
||
|
|
||
|
goto :goto_2
|
||
|
|
||
|
:catch_1
|
||
|
move-exception p0
|
||
|
|
||
|
const-string p1, "ROOM"
|
||
|
|
||
|
const-string v0, "Cannot run invalidation tracker. Is the db closed?"
|
||
|
|
||
|
.line 514
|
||
|
check-cast p0, Ljava/lang/Throwable;
|
||
|
|
||
|
invoke-static {p1, v0, p0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
|
||
|
|
||
|
:goto_2
|
||
|
return-void
|
||
|
.end method
|