package androidx.room; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteTransactionListener; import android.os.CancellationSignal; import android.util.Pair; import androidx.room.RoomDatabase; import androidx.sqlite.db.SupportSQLiteDatabase; import androidx.sqlite.db.SupportSQLiteQuery; import androidx.sqlite.db.SupportSQLiteStatement; import io.sentry.protocol.Device; import java.util.ArrayList; import java.util.List; import java.util.Locale; import java.util.concurrent.Executor; import kotlin.Metadata; import kotlin.collections.ArraysKt; import kotlin.collections.CollectionsKt; import kotlin.jvm.internal.Intrinsics; /* compiled from: QueryInterceptorDatabase.kt */ @Metadata(d1 = {"\u0000\u0088\u0001\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0007\n\u0002\u0010\t\n\u0002\b\n\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u0011\n\u0002\u0010\u0000\n\u0002\b\f\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\n\b\u0000\u0018\u00002\u00020\u0001B\u001d\u0012\u0006\u0010\u0002\u001a\u00020\u0001\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\u0006\u0010\u0005\u001a\u00020\u0006¢\u0006\u0002\u0010\u0007J\b\u0010'\u001a\u00020(H\u0016J\b\u0010)\u001a\u00020(H\u0016J\u0010\u0010*\u001a\u00020(2\u0006\u0010+\u001a\u00020,H\u0016J\u0010\u0010-\u001a\u00020(2\u0006\u0010+\u001a\u00020,H\u0016J\t\u0010.\u001a\u00020(H\u0096\u0001J\u0010\u0010/\u001a\u0002002\u0006\u00101\u001a\u00020\u000bH\u0016J4\u00102\u001a\u00020\"2\u0006\u00103\u001a\u00020\u000b2\b\u00104\u001a\u0004\u0018\u00010\u000b2\u0012\u00105\u001a\u000e\u0012\b\b\u0001\u0012\u0004\u0018\u000107\u0018\u000106H\u0096\u0001¢\u0006\u0002\u00108J\t\u00109\u001a\u00020(H\u0097\u0001J\t\u0010:\u001a\u00020\u000fH\u0096\u0001J\b\u0010;\u001a\u00020(H\u0016J,\u0010<\u001a\u00020(2\u0006\u00101\u001a\u00020\u000b2\u0014\b\u0001\u0010=\u001a\u000e\u0012\b\b\u0001\u0012\u0004\u0018\u000107\u0018\u000106H\u0096\u0001¢\u0006\u0002\u0010>J\u0010\u0010?\u001a\u00020(2\u0006\u00101\u001a\u00020\u000bH\u0016J'\u0010?\u001a\u00020(2\u0006\u00101\u001a\u00020\u000b2\u0010\u0010=\u001a\f\u0012\b\b\u0001\u0012\u0004\u0018\u00010706H\u0016¢\u0006\u0002\u0010>J\t\u0010@\u001a\u00020\u000fH\u0096\u0001J!\u0010A\u001a\u00020\u00172\u0006\u00103\u001a\u00020\u000b2\u0006\u0010B\u001a\u00020\"2\u0006\u0010C\u001a\u00020DH\u0096\u0001J\u0011\u0010E\u001a\u00020\u000f2\u0006\u0010F\u001a\u00020\"H\u0096\u0001J\u0010\u0010G\u001a\u00020H2\u0006\u0010G\u001a\u00020IH\u0016J\u001a\u0010G\u001a\u00020H2\u0006\u0010G\u001a\u00020I2\b\u0010J\u001a\u0004\u0018\u00010KH\u0016J\u0010\u0010G\u001a\u00020H2\u0006\u0010G\u001a\u00020\u000bH\u0016J'\u0010G\u001a\u00020H2\u0006\u0010G\u001a\u00020\u000b2\u0010\u0010=\u001a\f\u0012\b\b\u0001\u0012\u0004\u0018\u00010706H\u0016¢\u0006\u0002\u0010LJ\u0011\u0010M\u001a\u00020(2\u0006\u0010N\u001a\u00020\u000fH\u0097\u0001J\u0011\u0010O\u001a\u00020(2\u0006\u0010P\u001a\u00020QH\u0096\u0001J\u0011\u0010R\u001a\u00020(2\u0006\u0010S\u001a\u00020\"H\u0096\u0001J\u0011\u0010T\u001a\u00020\u00172\u0006\u0010U\u001a\u00020\u0017H\u0096\u0001J\b\u0010V\u001a\u00020(H\u0016JD\u0010W\u001a\u00020\"2\u0006\u00103\u001a\u00020\u000b2\u0006\u0010B\u001a\u00020\"2\u0006\u0010C\u001a\u00020D2\b\u00104\u001a\u0004\u0018\u00010\u000b2\u0012\u00105\u001a\u000e\u0012\b\b\u0001\u0012\u0004\u0018\u000107\u0018\u000106H\u0096\u0001¢\u0006\u0002\u0010XJ\t\u0010Y\u001a\u00020\u000fH\u0096\u0001J\u0011\u0010Y\u001a\u00020\u000f2\u0006\u0010Z\u001a\u00020\u0017H\u0096\u0001R(\u0010\b\u001a\u0016\u0012\u0010\u0012\u000e\u0012\u0004\u0012\u00020\u000b\u0012\u0004\u0012\u00020\u000b0\n\u0018\u00010\t8VX\u0096\u0005¢\u0006\u0006\u001a\u0004\b\f\u0010\rR\u000e\u0010\u0002\u001a\u00020\u0001X\u0082\u0004¢\u0006\u0002\n\u0000R\u0012\u0010\u000e\u001a\u00020\u000fX\u0096\u0005¢\u0006\u0006\u001a\u0004\b\u000e\u0010\u0010R\u0012\u0010\u0011\u001a\u00020\u000fX\u0096\u0005¢\u0006\u0006\u001a\u0004\b\u0011\u0010\u0010R\u0014\u0010\u0012\u001a\u00020\u000f8VX\u0096\u0005¢\u0006\u0006\u001a\u0004\b\u0012\u0010\u0010R\u0012\u0010\u0013\u001a\u00020\u000fX\u0096\u0005¢\u0006\u0006\u001a\u0004\b\u0013\u0010\u0010R\u0012\u0010\u0014\u001a\u00020\u000fX\u0096\u0005¢\u0006\u0006\u001a\u0004\b\u0014\u0010\u0010R\u0014\u0010\u0015\u001a\u00020\u000f8WX\u0096\u0005¢\u0006\u0006\u001a\u0004\b\u0015\u0010\u0010R\u0012\u0010\u0016\u001a\u00020\u0017X\u0096\u0005¢\u0006\u0006\u001a\u0004\b\u0018\u0010\u0019R\u0018\u0010\u001a\u001a\u00020\u0017X\u0096\u000f¢\u0006\f\u001a\u0004\b\u001b\u0010\u0019\"\u0004\b\u001c\u0010\u001dR\u0014\u0010\u001e\u001a\u0004\u0018\u00010\u000bX\u0096\u0005¢\u0006\u0006\u001a\u0004\b\u001f\u0010 R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082\u0004¢\u0006\u0002\n\u0000R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082\u0004¢\u0006\u0002\n\u0000R\u0018\u0010!\u001a\u00020\"X\u0096\u000f¢\u0006\f\u001a\u0004\b#\u0010$\"\u0004\b%\u0010&¨\u0006["}, d2 = {"Landroidx/room/QueryInterceptorDatabase;", "Landroidx/sqlite/db/SupportSQLiteDatabase;", "delegate", "queryCallbackExecutor", "Ljava/util/concurrent/Executor;", "queryCallback", "Landroidx/room/RoomDatabase$QueryCallback;", "(Landroidx/sqlite/db/SupportSQLiteDatabase;Ljava/util/concurrent/Executor;Landroidx/room/RoomDatabase$QueryCallback;)V", "attachedDbs", "", "Landroid/util/Pair;", "", "getAttachedDbs", "()Ljava/util/List;", "isDatabaseIntegrityOk", "", "()Z", "isDbLockedByCurrentThread", "isExecPerConnectionSQLSupported", "isOpen", "isReadOnly", "isWriteAheadLoggingEnabled", "maximumSize", "", "getMaximumSize", "()J", "pageSize", "getPageSize", "setPageSize", "(J)V", "path", "getPath", "()Ljava/lang/String;", "version", "", "getVersion", "()I", "setVersion", "(I)V", "beginTransaction", "", "beginTransactionNonExclusive", "beginTransactionWithListener", "transactionListener", "Landroid/database/sqlite/SQLiteTransactionListener;", "beginTransactionWithListenerNonExclusive", "close", "compileStatement", "Landroidx/sqlite/db/SupportSQLiteStatement;", "sql", "delete", "table", "whereClause", "whereArgs", "", "", "(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)I", "disableWriteAheadLogging", "enableWriteAheadLogging", "endTransaction", "execPerConnectionSQL", "bindArgs", "(Ljava/lang/String;[Ljava/lang/Object;)V", "execSQL", "inTransaction", "insert", "conflictAlgorithm", "values", "Landroid/content/ContentValues;", "needUpgrade", "newVersion", "query", "Landroid/database/Cursor;", "Landroidx/sqlite/db/SupportSQLiteQuery;", "cancellationSignal", "Landroid/os/CancellationSignal;", "(Ljava/lang/String;[Ljava/lang/Object;)Landroid/database/Cursor;", "setForeignKeyConstraintsEnabled", "enabled", "setLocale", Device.JsonKeys.LOCALE, "Ljava/util/Locale;", "setMaxSqlCacheSize", "cacheSize", "setMaximumSize", "numBytes", "setTransactionSuccessful", "update", "(Ljava/lang/String;ILandroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/Object;)I", "yieldIfContendedSafely", "sleepAfterYieldDelayMillis", "room-runtime_release"}, k = 1, mv = {1, 7, 1}, xi = 48) /* loaded from: classes2.dex */ public final class QueryInterceptorDatabase implements SupportSQLiteDatabase { private final SupportSQLiteDatabase delegate; private final RoomDatabase.QueryCallback queryCallback; private final Executor queryCallbackExecutor; @Override // java.io.Closeable, java.lang.AutoCloseable public void close() { this.delegate.close(); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public int delete(String table, String whereClause, Object[] whereArgs) { Intrinsics.checkNotNullParameter(table, "table"); return this.delegate.delete(table, whereClause, whereArgs); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public void disableWriteAheadLogging() { this.delegate.disableWriteAheadLogging(); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public boolean enableWriteAheadLogging() { return this.delegate.enableWriteAheadLogging(); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public void execPerConnectionSQL(String sql, Object[] bindArgs) { Intrinsics.checkNotNullParameter(sql, "sql"); this.delegate.execPerConnectionSQL(sql, bindArgs); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public List> getAttachedDbs() { return this.delegate.getAttachedDbs(); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public long getMaximumSize() { return this.delegate.getMaximumSize(); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public long getPageSize() { return this.delegate.getPageSize(); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public String getPath() { return this.delegate.getPath(); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public int getVersion() { return this.delegate.getVersion(); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public boolean inTransaction() { return this.delegate.inTransaction(); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public long insert(String table, int conflictAlgorithm, ContentValues values) { Intrinsics.checkNotNullParameter(table, "table"); Intrinsics.checkNotNullParameter(values, "values"); return this.delegate.insert(table, conflictAlgorithm, values); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public boolean isDatabaseIntegrityOk() { return this.delegate.isDatabaseIntegrityOk(); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public boolean isDbLockedByCurrentThread() { return this.delegate.isDbLockedByCurrentThread(); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public boolean isExecPerConnectionSQLSupported() { return this.delegate.isExecPerConnectionSQLSupported(); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public boolean isOpen() { return this.delegate.isOpen(); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public boolean isReadOnly() { return this.delegate.isReadOnly(); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public boolean isWriteAheadLoggingEnabled() { return this.delegate.isWriteAheadLoggingEnabled(); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public boolean needUpgrade(int newVersion) { return this.delegate.needUpgrade(newVersion); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public void setForeignKeyConstraintsEnabled(boolean enabled) { this.delegate.setForeignKeyConstraintsEnabled(enabled); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public void setLocale(Locale locale) { Intrinsics.checkNotNullParameter(locale, "locale"); this.delegate.setLocale(locale); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public void setMaxSqlCacheSize(int cacheSize) { this.delegate.setMaxSqlCacheSize(cacheSize); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public long setMaximumSize(long numBytes) { return this.delegate.setMaximumSize(numBytes); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public void setPageSize(long j) { this.delegate.setPageSize(j); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public void setVersion(int i) { this.delegate.setVersion(i); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public int update(String table, int conflictAlgorithm, ContentValues values, String whereClause, Object[] whereArgs) { Intrinsics.checkNotNullParameter(table, "table"); Intrinsics.checkNotNullParameter(values, "values"); return this.delegate.update(table, conflictAlgorithm, values, whereClause, whereArgs); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public boolean yieldIfContendedSafely() { return this.delegate.yieldIfContendedSafely(); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public boolean yieldIfContendedSafely(long sleepAfterYieldDelayMillis) { return this.delegate.yieldIfContendedSafely(sleepAfterYieldDelayMillis); } public QueryInterceptorDatabase(SupportSQLiteDatabase delegate, Executor queryCallbackExecutor, RoomDatabase.QueryCallback queryCallback) { Intrinsics.checkNotNullParameter(delegate, "delegate"); Intrinsics.checkNotNullParameter(queryCallbackExecutor, "queryCallbackExecutor"); Intrinsics.checkNotNullParameter(queryCallback, "queryCallback"); this.delegate = delegate; this.queryCallbackExecutor = queryCallbackExecutor; this.queryCallback = queryCallback; } @Override // androidx.sqlite.db.SupportSQLiteDatabase public SupportSQLiteStatement compileStatement(String sql) { Intrinsics.checkNotNullParameter(sql, "sql"); return new QueryInterceptorStatement(this.delegate.compileStatement(sql), sql, this.queryCallbackExecutor, this.queryCallback); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public void beginTransaction() { this.queryCallbackExecutor.execute(new Runnable() { // from class: androidx.room.QueryInterceptorDatabase$$ExternalSyntheticLambda8 @Override // java.lang.Runnable public final void run() { QueryInterceptorDatabase.beginTransaction$lambda$0(QueryInterceptorDatabase.this); } }); this.delegate.beginTransaction(); } /* JADX INFO: Access modifiers changed from: private */ public static final void beginTransaction$lambda$0(QueryInterceptorDatabase this$0) { Intrinsics.checkNotNullParameter(this$0, "this$0"); this$0.queryCallback.onQuery("BEGIN EXCLUSIVE TRANSACTION", CollectionsKt.emptyList()); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public void beginTransactionNonExclusive() { this.queryCallbackExecutor.execute(new Runnable() { // from class: androidx.room.QueryInterceptorDatabase$$ExternalSyntheticLambda0 @Override // java.lang.Runnable public final void run() { QueryInterceptorDatabase.beginTransactionNonExclusive$lambda$1(QueryInterceptorDatabase.this); } }); this.delegate.beginTransactionNonExclusive(); } /* JADX INFO: Access modifiers changed from: private */ public static final void beginTransactionNonExclusive$lambda$1(QueryInterceptorDatabase this$0) { Intrinsics.checkNotNullParameter(this$0, "this$0"); this$0.queryCallback.onQuery("BEGIN DEFERRED TRANSACTION", CollectionsKt.emptyList()); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public void beginTransactionWithListener(SQLiteTransactionListener transactionListener) { Intrinsics.checkNotNullParameter(transactionListener, "transactionListener"); this.queryCallbackExecutor.execute(new Runnable() { // from class: androidx.room.QueryInterceptorDatabase$$ExternalSyntheticLambda2 @Override // java.lang.Runnable public final void run() { QueryInterceptorDatabase.beginTransactionWithListener$lambda$2(QueryInterceptorDatabase.this); } }); this.delegate.beginTransactionWithListener(transactionListener); } /* JADX INFO: Access modifiers changed from: private */ public static final void beginTransactionWithListener$lambda$2(QueryInterceptorDatabase this$0) { Intrinsics.checkNotNullParameter(this$0, "this$0"); this$0.queryCallback.onQuery("BEGIN EXCLUSIVE TRANSACTION", CollectionsKt.emptyList()); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public void beginTransactionWithListenerNonExclusive(SQLiteTransactionListener transactionListener) { Intrinsics.checkNotNullParameter(transactionListener, "transactionListener"); this.queryCallbackExecutor.execute(new Runnable() { // from class: androidx.room.QueryInterceptorDatabase$$ExternalSyntheticLambda6 @Override // java.lang.Runnable public final void run() { QueryInterceptorDatabase.beginTransactionWithListenerNonExclusive$lambda$3(QueryInterceptorDatabase.this); } }); this.delegate.beginTransactionWithListenerNonExclusive(transactionListener); } /* JADX INFO: Access modifiers changed from: private */ public static final void beginTransactionWithListenerNonExclusive$lambda$3(QueryInterceptorDatabase this$0) { Intrinsics.checkNotNullParameter(this$0, "this$0"); this$0.queryCallback.onQuery("BEGIN DEFERRED TRANSACTION", CollectionsKt.emptyList()); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public void endTransaction() { this.queryCallbackExecutor.execute(new Runnable() { // from class: androidx.room.QueryInterceptorDatabase$$ExternalSyntheticLambda10 @Override // java.lang.Runnable public final void run() { QueryInterceptorDatabase.endTransaction$lambda$4(QueryInterceptorDatabase.this); } }); this.delegate.endTransaction(); } /* JADX INFO: Access modifiers changed from: private */ public static final void endTransaction$lambda$4(QueryInterceptorDatabase this$0) { Intrinsics.checkNotNullParameter(this$0, "this$0"); this$0.queryCallback.onQuery("END TRANSACTION", CollectionsKt.emptyList()); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public void setTransactionSuccessful() { this.queryCallbackExecutor.execute(new Runnable() { // from class: androidx.room.QueryInterceptorDatabase$$ExternalSyntheticLambda5 @Override // java.lang.Runnable public final void run() { QueryInterceptorDatabase.setTransactionSuccessful$lambda$5(QueryInterceptorDatabase.this); } }); this.delegate.setTransactionSuccessful(); } /* JADX INFO: Access modifiers changed from: private */ public static final void setTransactionSuccessful$lambda$5(QueryInterceptorDatabase this$0) { Intrinsics.checkNotNullParameter(this$0, "this$0"); this$0.queryCallback.onQuery("TRANSACTION SUCCESSFUL", CollectionsKt.emptyList()); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public Cursor query(final String query) { Intrinsics.checkNotNullParameter(query, "query"); this.queryCallbackExecutor.execute(new Runnable() { // from class: androidx.room.QueryInterceptorDatabase$$ExternalSyntheticLambda9 @Override // java.lang.Runnable public final void run() { QueryInterceptorDatabase.query$lambda$6(QueryInterceptorDatabase.this, query); } }); return this.delegate.query(query); } /* JADX INFO: Access modifiers changed from: private */ public static final void query$lambda$6(QueryInterceptorDatabase this$0, String query) { Intrinsics.checkNotNullParameter(this$0, "this$0"); Intrinsics.checkNotNullParameter(query, "$query"); this$0.queryCallback.onQuery(query, CollectionsKt.emptyList()); } /* JADX INFO: Access modifiers changed from: private */ public static final void query$lambda$7(QueryInterceptorDatabase this$0, String query, Object[] bindArgs) { Intrinsics.checkNotNullParameter(this$0, "this$0"); Intrinsics.checkNotNullParameter(query, "$query"); Intrinsics.checkNotNullParameter(bindArgs, "$bindArgs"); this$0.queryCallback.onQuery(query, ArraysKt.toList(bindArgs)); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public Cursor query(final String query, final Object[] bindArgs) { Intrinsics.checkNotNullParameter(query, "query"); Intrinsics.checkNotNullParameter(bindArgs, "bindArgs"); this.queryCallbackExecutor.execute(new Runnable() { // from class: androidx.room.QueryInterceptorDatabase$$ExternalSyntheticLambda4 @Override // java.lang.Runnable public final void run() { QueryInterceptorDatabase.query$lambda$7(QueryInterceptorDatabase.this, query, bindArgs); } }); return this.delegate.query(query, bindArgs); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public Cursor query(final SupportSQLiteQuery query) { Intrinsics.checkNotNullParameter(query, "query"); final QueryInterceptorProgram queryInterceptorProgram = new QueryInterceptorProgram(); query.bindTo(queryInterceptorProgram); this.queryCallbackExecutor.execute(new Runnable() { // from class: androidx.room.QueryInterceptorDatabase$$ExternalSyntheticLambda7 @Override // java.lang.Runnable public final void run() { QueryInterceptorDatabase.query$lambda$8(QueryInterceptorDatabase.this, query, queryInterceptorProgram); } }); return this.delegate.query(query); } /* JADX INFO: Access modifiers changed from: private */ public static final void query$lambda$8(QueryInterceptorDatabase this$0, SupportSQLiteQuery query, QueryInterceptorProgram queryInterceptorProgram) { Intrinsics.checkNotNullParameter(this$0, "this$0"); Intrinsics.checkNotNullParameter(query, "$query"); Intrinsics.checkNotNullParameter(queryInterceptorProgram, "$queryInterceptorProgram"); this$0.queryCallback.onQuery(query.getQuery(), queryInterceptorProgram.getBindArgsCache$room_runtime_release()); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public Cursor query(final SupportSQLiteQuery query, CancellationSignal cancellationSignal) { Intrinsics.checkNotNullParameter(query, "query"); final QueryInterceptorProgram queryInterceptorProgram = new QueryInterceptorProgram(); query.bindTo(queryInterceptorProgram); this.queryCallbackExecutor.execute(new Runnable() { // from class: androidx.room.QueryInterceptorDatabase$$ExternalSyntheticLambda3 @Override // java.lang.Runnable public final void run() { QueryInterceptorDatabase.query$lambda$9(QueryInterceptorDatabase.this, query, queryInterceptorProgram); } }); return this.delegate.query(query); } /* JADX INFO: Access modifiers changed from: private */ public static final void query$lambda$9(QueryInterceptorDatabase this$0, SupportSQLiteQuery query, QueryInterceptorProgram queryInterceptorProgram) { Intrinsics.checkNotNullParameter(this$0, "this$0"); Intrinsics.checkNotNullParameter(query, "$query"); Intrinsics.checkNotNullParameter(queryInterceptorProgram, "$queryInterceptorProgram"); this$0.queryCallback.onQuery(query.getQuery(), queryInterceptorProgram.getBindArgsCache$room_runtime_release()); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public void execSQL(final String sql) { Intrinsics.checkNotNullParameter(sql, "sql"); this.queryCallbackExecutor.execute(new Runnable() { // from class: androidx.room.QueryInterceptorDatabase$$ExternalSyntheticLambda1 @Override // java.lang.Runnable public final void run() { QueryInterceptorDatabase.execSQL$lambda$10(QueryInterceptorDatabase.this, sql); } }); this.delegate.execSQL(sql); } /* JADX INFO: Access modifiers changed from: private */ public static final void execSQL$lambda$10(QueryInterceptorDatabase this$0, String sql) { Intrinsics.checkNotNullParameter(this$0, "this$0"); Intrinsics.checkNotNullParameter(sql, "$sql"); this$0.queryCallback.onQuery(sql, CollectionsKt.emptyList()); } @Override // androidx.sqlite.db.SupportSQLiteDatabase public void execSQL(final String sql, Object[] bindArgs) { Intrinsics.checkNotNullParameter(sql, "sql"); Intrinsics.checkNotNullParameter(bindArgs, "bindArgs"); final ArrayList arrayList = new ArrayList(); arrayList.addAll(CollectionsKt.listOf(bindArgs)); this.queryCallbackExecutor.execute(new Runnable() { // from class: androidx.room.QueryInterceptorDatabase$$ExternalSyntheticLambda11 @Override // java.lang.Runnable public final void run() { QueryInterceptorDatabase.execSQL$lambda$11(QueryInterceptorDatabase.this, sql, arrayList); } }); this.delegate.execSQL(sql, new List[]{arrayList}); } /* JADX INFO: Access modifiers changed from: private */ public static final void execSQL$lambda$11(QueryInterceptorDatabase this$0, String sql, List inputArguments) { Intrinsics.checkNotNullParameter(this$0, "this$0"); Intrinsics.checkNotNullParameter(sql, "$sql"); Intrinsics.checkNotNullParameter(inputArguments, "$inputArguments"); this$0.queryCallback.onQuery(sql, inputArguments); } }