Rabbit-R1/original r1/smali/smali_classes2/androidx/sqlite/util/ProcessLock$Companion.smali
2024-05-21 17:08:36 -04:00

126 lines
3.6 KiB
Smali

.class public final Landroidx/sqlite/util/ProcessLock$Companion;
.super Ljava/lang/Object;
.source "ProcessLock.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/sqlite/util/ProcessLock;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
.annotation system Ldalvik/annotation/SourceDebugExtension;
value = "SMAP\nProcessLock.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ProcessLock.kt\nandroidx/sqlite/util/ProcessLock$Companion\n+ 2 Maps.kt\nkotlin/collections/MapsKt__MapsKt\n*L\n1#1,101:1\n359#2,7:102\n*S KotlinDebug\n*F\n+ 1 ProcessLock.kt\nandroidx/sqlite/util/ProcessLock$Companion\n*L\n98#1:102,7\n*E\n"
.end annotation
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010%\n\u0002\u0018\u0002\n\u0002\u0008\u0003\u0008\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u0010\u0010\u0008\u001a\u00020\u00072\u0006\u0010\t\u001a\u00020\u0004H\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u001a\u0010\u0005\u001a\u000e\u0012\u0004\u0012\u00020\u0004\u0012\u0004\u0012\u00020\u00070\u0006X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u00a8\u0006\n"
}
d2 = {
"Landroidx/sqlite/util/ProcessLock$Companion;",
"",
"()V",
"TAG",
"",
"threadLocksMap",
"",
"Ljava/util/concurrent/locks/Lock;",
"getThreadLock",
"key",
"sqlite-framework_release"
}
k = 0x1
mv = {
0x1,
0x7,
0x1
}
xi = 0x30
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 93
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Landroidx/sqlite/util/ProcessLock$Companion;-><init>()V
return-void
.end method
.method public static final synthetic access$getThreadLock(Landroidx/sqlite/util/ProcessLock$Companion;Ljava/lang/String;)Ljava/util/concurrent/locks/Lock;
.locals 0
.line 93
invoke-direct {p0, p1}, Landroidx/sqlite/util/ProcessLock$Companion;->getThreadLock(Ljava/lang/String;)Ljava/util/concurrent/locks/Lock;
move-result-object p0
return-object p0
.end method
.method private final getThreadLock(Ljava/lang/String;)Ljava/util/concurrent/locks/Lock;
.locals 2
.line 97
invoke-static {}, Landroidx/sqlite/util/ProcessLock;->access$getThreadLocksMap$cp()Ljava/util/Map;
move-result-object p0
monitor-enter p0
.line 98
:try_start_0
invoke-static {}, Landroidx/sqlite/util/ProcessLock;->access$getThreadLocksMap$cp()Ljava/util/Map;
move-result-object v0
.line 102
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
if-nez v1, :cond_0
.line 98
new-instance v1, Ljava/util/concurrent/locks/ReentrantLock;
invoke-direct {v1}, Ljava/util/concurrent/locks/ReentrantLock;-><init>()V
check-cast v1, Ljava/util/concurrent/locks/Lock;
.line 105
invoke-interface {v0, p1, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 103
:cond_0
check-cast v1, Ljava/util/concurrent/locks/Lock;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 98
monitor-exit p0
return-object v1
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method