mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 16:42:30 -06:00
462 lines
12 KiB
Smali
462 lines
12 KiB
Smali
.class public final Landroidx/room/InvalidationTracker$ObserverWrapper;
|
|
.super Ljava/lang/Object;
|
|
.source "InvalidationTracker.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/room/InvalidationTracker;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "ObserverWrapper"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
|
value = "SMAP\nInvalidationTracker.kt\nKotlin\n*S Kotlin\n*F\n+ 1 InvalidationTracker.kt\nandroidx/room/InvalidationTracker$ObserverWrapper\n+ 2 _Arrays.kt\nkotlin/collections/ArraysKt___ArraysKt\n*L\n1#1,846:1\n13638#2,3:847\n12708#2,2:850\n13543#2:852\n13543#2,2:853\n13544#2:855\n*S KotlinDebug\n*F\n+ 1 InvalidationTracker.kt\nandroidx/room/InvalidationTracker$ObserverWrapper\n*L\n619#1:847,3\n641#1:850,2\n647#1:852\n648#1:853,2\n647#1:855\n*E\n"
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u00008\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0015\n\u0000\n\u0002\u0010\u0011\n\u0002\u0010\u000e\n\u0002\u0008\u0004\n\u0002\u0010\"\n\u0002\u0008\u0004\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0006\u0008\u0000\u0018\u00002\u00020\u0001B%\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u000e\u0010\u0006\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\u00080\u0007\u00a2\u0006\u0002\u0010\tJ\u001d\u0010\u0011\u001a\u00020\u00122\u000e\u0010\u0013\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u00140\rH\u0000\u00a2\u0006\u0002\u0008\u0015J\u001f\u0010\u0016\u001a\u00020\u00122\u000e\u0010\u0017\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\u00080\u0007H\u0000\u00a2\u0006\u0004\u0008\u0018\u0010\u0019R\u0014\u0010\u0002\u001a\u00020\u0003X\u0080\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\n\u0010\u000bR\u0014\u0010\u000c\u001a\u0008\u0012\u0004\u0012\u00020\u00080\rX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u0004\u001a\u00020\u0005X\u0080\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u000e\u0010\u000fR\u0018\u0010\u0006\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\u00080\u0007X\u0082\u0004\u00a2\u0006\u0004\n\u0002\u0010\u0010\u00a8\u0006\u001a"
|
|
}
|
|
d2 = {
|
|
"Landroidx/room/InvalidationTracker$ObserverWrapper;",
|
|
"",
|
|
"observer",
|
|
"Landroidx/room/InvalidationTracker$Observer;",
|
|
"tableIds",
|
|
"",
|
|
"tableNames",
|
|
"",
|
|
"",
|
|
"(Landroidx/room/InvalidationTracker$Observer;[I[Ljava/lang/String;)V",
|
|
"getObserver$room_runtime_release",
|
|
"()Landroidx/room/InvalidationTracker$Observer;",
|
|
"singleTableSet",
|
|
"",
|
|
"getTableIds$room_runtime_release",
|
|
"()[I",
|
|
"[Ljava/lang/String;",
|
|
"notifyByTableInvalidStatus",
|
|
"",
|
|
"invalidatedTablesIds",
|
|
"",
|
|
"notifyByTableInvalidStatus$room_runtime_release",
|
|
"notifyByTableNames",
|
|
"tables",
|
|
"notifyByTableNames$room_runtime_release",
|
|
"([Ljava/lang/String;)V",
|
|
"room-runtime_release"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x7,
|
|
0x1
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final observer:Landroidx/room/InvalidationTracker$Observer;
|
|
|
|
.field private final singleTableSet:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private final tableIds:[I
|
|
|
|
.field private final tableNames:[Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/room/InvalidationTracker$Observer;[I[Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
const-string v0, "observer"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "tableIds"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "tableNames"
|
|
|
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 589
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->observer:Landroidx/room/InvalidationTracker$Observer;
|
|
|
|
iput-object p2, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->tableIds:[I
|
|
|
|
iput-object p3, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->tableNames:[Ljava/lang/String;
|
|
|
|
.line 594
|
|
array-length p1, p3
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
move p1, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move p1, v1
|
|
|
|
:goto_0
|
|
xor-int/2addr p1, v0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 595
|
|
aget-object p1, p3, v1
|
|
|
|
invoke-static {p1}, Lkotlin/collections/SetsKt;->setOf(Ljava/lang/Object;)Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_1
|
|
|
|
.line 597
|
|
:cond_1
|
|
invoke-static {}, Lkotlin/collections/SetsKt;->emptySet()Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_1
|
|
iput-object p1, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->singleTableSet:Ljava/util/Set;
|
|
|
|
.line 601
|
|
array-length p0, p2
|
|
|
|
array-length p1, p3
|
|
|
|
if-ne p0, p1, :cond_2
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
new-instance p0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p1, "Check failed."
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getObserver$room_runtime_release()Landroidx/room/InvalidationTracker$Observer;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->observer:Landroidx/room/InvalidationTracker$Observer;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final getTableIds$room_runtime_release()[I
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->tableIds:[I
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public final notifyByTableInvalidStatus$room_runtime_release(Ljava/util/Set;)V
|
|
.locals 8
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/Integer;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "invalidatedTablesIds"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->tableIds:[I
|
|
|
|
.line 611
|
|
array-length v1, v0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-eq v1, v2, :cond_2
|
|
|
|
.line 618
|
|
invoke-static {}, Lkotlin/collections/SetsKt;->createSetBuilder()Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->tableIds:[I
|
|
|
|
.line 848
|
|
array-length v4, v1
|
|
|
|
move v5, v3
|
|
|
|
:goto_0
|
|
if-ge v3, v4, :cond_1
|
|
|
|
aget v6, v1, v3
|
|
|
|
add-int/lit8 v7, v5, 0x1
|
|
|
|
.line 620
|
|
invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-interface {p1, v6}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_0
|
|
|
|
iget-object v6, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->tableNames:[Ljava/lang/String;
|
|
|
|
.line 621
|
|
aget-object v5, v6, v5
|
|
|
|
invoke-interface {v0, v5}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_0
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
move v5, v7
|
|
|
|
goto :goto_0
|
|
|
|
.line 618
|
|
:cond_1
|
|
invoke-static {v0}, Lkotlin/collections/SetsKt;->build(Ljava/util/Set;)Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_1
|
|
|
|
.line 613
|
|
:cond_2
|
|
aget v0, v0, v3
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {p1, v0}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
iget-object p1, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->singleTableSet:Ljava/util/Set;
|
|
|
|
goto :goto_1
|
|
|
|
.line 616
|
|
:cond_3
|
|
invoke-static {}, Lkotlin/collections/SetsKt;->emptySet()Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_1
|
|
|
|
.line 612
|
|
:cond_4
|
|
invoke-static {}, Lkotlin/collections/SetsKt;->emptySet()Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
.line 627
|
|
:goto_1
|
|
move-object v0, p1
|
|
|
|
check-cast v0, Ljava/util/Collection;
|
|
|
|
invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
xor-int/2addr v0, v2
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
iget-object p0, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->observer:Landroidx/room/InvalidationTracker$Observer;
|
|
|
|
.line 628
|
|
invoke-virtual {p0, p1}, Landroidx/room/InvalidationTracker$Observer;->onInvalidated(Ljava/util/Set;)V
|
|
|
|
:cond_5
|
|
return-void
|
|
.end method
|
|
|
|
.method public final notifyByTableNames$room_runtime_release([Ljava/lang/String;)V
|
|
.locals 11
|
|
|
|
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$ObserverWrapper;->tableNames:[Ljava/lang/String;
|
|
|
|
.line 639
|
|
array-length v0, v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eq v0, v1, :cond_3
|
|
|
|
.line 646
|
|
invoke-static {}, Lkotlin/collections/SetsKt;->createSetBuilder()Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
.line 852
|
|
array-length v3, p1
|
|
|
|
move v4, v2
|
|
|
|
:goto_0
|
|
if-ge v4, v3, :cond_2
|
|
|
|
aget-object v5, p1, v4
|
|
|
|
iget-object v6, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->tableNames:[Ljava/lang/String;
|
|
|
|
.line 853
|
|
array-length v7, v6
|
|
|
|
move v8, v2
|
|
|
|
:goto_1
|
|
if-ge v8, v7, :cond_1
|
|
|
|
aget-object v9, v6, v8
|
|
|
|
.line 649
|
|
invoke-static {v9, v5, v1}, Lkotlin/text/StringsKt;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
|
|
|
|
move-result v10
|
|
|
|
if-eqz v10, :cond_0
|
|
|
|
.line 650
|
|
invoke-interface {v0, v9}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_0
|
|
add-int/lit8 v8, v8, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 646
|
|
:cond_2
|
|
invoke-static {v0}, Lkotlin/collections/SetsKt;->build(Ljava/util/Set;)Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_3
|
|
|
|
.line 850
|
|
:cond_3
|
|
array-length v0, p1
|
|
|
|
move v3, v2
|
|
|
|
:goto_2
|
|
if-ge v3, v0, :cond_5
|
|
|
|
aget-object v4, p1, v3
|
|
|
|
iget-object v5, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->tableNames:[Ljava/lang/String;
|
|
|
|
.line 641
|
|
aget-object v5, v5, v2
|
|
|
|
invoke-static {v4, v5, v1}, Lkotlin/text/StringsKt;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_4
|
|
|
|
iget-object p1, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->singleTableSet:Ljava/util/Set;
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
.line 644
|
|
:cond_5
|
|
invoke-static {}, Lkotlin/collections/SetsKt;->emptySet()Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_3
|
|
|
|
.line 640
|
|
:cond_6
|
|
invoke-static {}, Lkotlin/collections/SetsKt;->emptySet()Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
.line 657
|
|
:goto_3
|
|
move-object v0, p1
|
|
|
|
check-cast v0, Ljava/util/Collection;
|
|
|
|
invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
xor-int/2addr v0, v1
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
iget-object p0, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->observer:Landroidx/room/InvalidationTracker$Observer;
|
|
|
|
.line 658
|
|
invoke-virtual {p0, p1}, Landroidx/room/InvalidationTracker$Observer;->onInvalidated(Ljava/util/Set;)V
|
|
|
|
:cond_7
|
|
return-void
|
|
.end method
|