mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 16:42:30 -06:00
182 lines
7.3 KiB
Smali
182 lines
7.3 KiB
Smali
.class public final Landroidx/room/AutoClosingRoomOpenHelper;
|
|
.super Ljava/lang/Object;
|
|
.source "AutoClosingRoomOpenHelper.kt"
|
|
|
|
# interfaces
|
|
.implements Landroidx/sqlite/db/SupportSQLiteOpenHelper;
|
|
.implements Landroidx/room/DelegatingOpenHelper;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;,
|
|
Landroidx/room/AutoClosingRoomOpenHelper$KeepAliveCursor;,
|
|
Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSqliteStatement;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000>\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0008\u0005\n\u0002\u0010\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u000b\n\u0002\u0008\u0004\u0008\u0000\u0018\u00002\u00020\u00012\u00020\u0002:\u0003\u001a\u001b\u001cB\u0015\u0012\u0006\u0010\u0003\u001a\u00020\u0001\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\u0002\u0010\u0006J\u0008\u0010\u0015\u001a\u00020\u0016H\u0016J\u0011\u0010\u0017\u001a\u00020\u00162\u0006\u0010\u0018\u001a\u00020\u0019H\u0097\u0001R\u0010\u0010\u0004\u001a\u00020\u00058\u0000X\u0081\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0008X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\t\u001a\u0004\u0018\u00010\nX\u0096\u0005\u00a2\u0006\u0006\u001a\u0004\u0008\u000b\u0010\u000cR\u0014\u0010\u0003\u001a\u00020\u0001X\u0096\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\r\u0010\u000eR\u0014\u0010\u000f\u001a\u00020\u00108WX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u0011\u0010\u0012R\u0014\u0010\u0013\u001a\u00020\u00108WX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u0014\u0010\u0012\u00a8\u0006\u001d"
|
|
}
|
|
d2 = {
|
|
"Landroidx/room/AutoClosingRoomOpenHelper;",
|
|
"Landroidx/sqlite/db/SupportSQLiteOpenHelper;",
|
|
"Landroidx/room/DelegatingOpenHelper;",
|
|
"delegate",
|
|
"autoCloser",
|
|
"Landroidx/room/AutoCloser;",
|
|
"(Landroidx/sqlite/db/SupportSQLiteOpenHelper;Landroidx/room/AutoCloser;)V",
|
|
"autoClosingDb",
|
|
"Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;",
|
|
"databaseName",
|
|
"",
|
|
"getDatabaseName",
|
|
"()Ljava/lang/String;",
|
|
"getDelegate",
|
|
"()Landroidx/sqlite/db/SupportSQLiteOpenHelper;",
|
|
"readableDatabase",
|
|
"Landroidx/sqlite/db/SupportSQLiteDatabase;",
|
|
"getReadableDatabase",
|
|
"()Landroidx/sqlite/db/SupportSQLiteDatabase;",
|
|
"writableDatabase",
|
|
"getWritableDatabase",
|
|
"close",
|
|
"",
|
|
"setWriteAheadLoggingEnabled",
|
|
"enabled",
|
|
"",
|
|
"AutoClosingSupportSQLiteDatabase",
|
|
"AutoClosingSupportSqliteStatement",
|
|
"KeepAliveCursor",
|
|
"room-runtime_release"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x7,
|
|
0x1
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final autoCloser:Landroidx/room/AutoCloser;
|
|
|
|
.field private final autoClosingDb:Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;
|
|
|
|
.field private final delegate:Landroidx/sqlite/db/SupportSQLiteOpenHelper;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/sqlite/db/SupportSQLiteOpenHelper;Landroidx/room/AutoCloser;)V
|
|
.locals 1
|
|
|
|
const-string v0, "delegate"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "autoCloser"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 40
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/room/AutoClosingRoomOpenHelper;->delegate:Landroidx/sqlite/db/SupportSQLiteOpenHelper;
|
|
|
|
iput-object p2, p0, Landroidx/room/AutoClosingRoomOpenHelper;->autoCloser:Landroidx/room/AutoCloser;
|
|
|
|
.line 48
|
|
invoke-virtual {p0}, Landroidx/room/AutoClosingRoomOpenHelper;->getDelegate()Landroidx/sqlite/db/SupportSQLiteOpenHelper;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p2, p1}, Landroidx/room/AutoCloser;->init(Landroidx/sqlite/db/SupportSQLiteOpenHelper;)V
|
|
|
|
.line 49
|
|
new-instance p1, Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;
|
|
|
|
invoke-direct {p1, p2}, Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;-><init>(Landroidx/room/AutoCloser;)V
|
|
|
|
iput-object p1, p0, Landroidx/room/AutoClosingRoomOpenHelper;->autoClosingDb:Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public close()V
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/room/AutoClosingRoomOpenHelper;->autoClosingDb:Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;
|
|
|
|
.line 71
|
|
invoke-virtual {p0}, Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;->close()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getDatabaseName()Ljava/lang/String;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/room/AutoClosingRoomOpenHelper;->delegate:Landroidx/sqlite/db/SupportSQLiteOpenHelper;
|
|
|
|
invoke-interface {p0}, Landroidx/sqlite/db/SupportSQLiteOpenHelper;->getDatabaseName()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getDelegate()Landroidx/sqlite/db/SupportSQLiteOpenHelper;
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/room/AutoClosingRoomOpenHelper;->delegate:Landroidx/sqlite/db/SupportSQLiteOpenHelper;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getReadableDatabase()Landroidx/sqlite/db/SupportSQLiteDatabase;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/room/AutoClosingRoomOpenHelper;->autoClosingDb:Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;
|
|
|
|
.line 66
|
|
invoke-virtual {v0}, Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;->pokeOpen()V
|
|
|
|
iget-object p0, p0, Landroidx/room/AutoClosingRoomOpenHelper;->autoClosingDb:Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;
|
|
|
|
.line 67
|
|
check-cast p0, Landroidx/sqlite/db/SupportSQLiteDatabase;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getWritableDatabase()Landroidx/sqlite/db/SupportSQLiteDatabase;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/room/AutoClosingRoomOpenHelper;->autoClosingDb:Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;
|
|
|
|
.line 57
|
|
invoke-virtual {v0}, Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;->pokeOpen()V
|
|
|
|
iget-object p0, p0, Landroidx/room/AutoClosingRoomOpenHelper;->autoClosingDb:Landroidx/room/AutoClosingRoomOpenHelper$AutoClosingSupportSQLiteDatabase;
|
|
|
|
.line 58
|
|
check-cast p0, Landroidx/sqlite/db/SupportSQLiteDatabase;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setWriteAheadLoggingEnabled(Z)V
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/room/AutoClosingRoomOpenHelper;->delegate:Landroidx/sqlite/db/SupportSQLiteOpenHelper;
|
|
|
|
invoke-interface {p0, p1}, Landroidx/sqlite/db/SupportSQLiteOpenHelper;->setWriteAheadLoggingEnabled(Z)V
|
|
|
|
return-void
|
|
.end method
|