Repository navigation
Expand file tree
/
Copy pathcurrent.txt
More file actions
242 lines (219 loc) · 14.7 KB
/
Copy pathcurrent.txt
File metadata and controls
242 lines (219 loc) · 14.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
// Signature format: 4.0
package androidx.sqlite {
public final class SQLite {
method public static void execSQL(androidx.sqlite.SQLiteConnection, String sql);
method public static suspend Object? executeSQL(androidx.sqlite.SQLiteConnection, String sql, kotlin.coroutines.Continuation<? super kotlin.Unit>);
method public static suspend Object? open(androidx.sqlite.SQLiteDriver, String fileName, kotlin.coroutines.Continuation<? super androidx.sqlite.SQLiteConnection>);
method public static suspend Object? prepare(androidx.sqlite.SQLiteConnection, String sql, kotlin.coroutines.Continuation<? super androidx.sqlite.SQLiteStatement>);
method public static suspend Object? step(androidx.sqlite.SQLiteStatement, kotlin.coroutines.Continuation<? super java.lang.Boolean>);
method public static Void throwSQLiteException(int errorCode, String? errorMsg);
property public static int SQLITE_DATA_BLOB;
property public static int SQLITE_DATA_FLOAT;
property public static int SQLITE_DATA_INTEGER;
property public static int SQLITE_DATA_NULL;
property public static int SQLITE_DATA_TEXT;
field public static final int SQLITE_DATA_BLOB = 4; // 0x4
field public static final int SQLITE_DATA_FLOAT = 2; // 0x2
field public static final int SQLITE_DATA_INTEGER = 1; // 0x1
field public static final int SQLITE_DATA_NULL = 5; // 0x5
field public static final int SQLITE_DATA_TEXT = 3; // 0x3
}
public interface SQLiteConnection extends java.lang.AutoCloseable {
method public void close();
method public default boolean inTransaction();
method public androidx.sqlite.SQLiteStatement prepare(String sql);
method @BytecodeOnly @Deprecated public default Object! prepareAsync(String!, kotlin.coroutines.Continuation!);
}
public interface SQLiteDriver {
method @InaccessibleFromKotlin public default boolean hasConnectionPool();
method public androidx.sqlite.SQLiteConnection open(String fileName);
method @BytecodeOnly @Deprecated public default Object! openAsync(String!, kotlin.coroutines.Continuation!);
property public default boolean hasConnectionPool;
}
public interface SQLiteStatement extends java.lang.AutoCloseable {
method public void bindBlob(@IntRange(from=1L) int index, byte[] value);
method public default void bindBoolean(@IntRange(from=1L) int index, boolean value);
method public void bindDouble(@IntRange(from=1L) int index, double value);
method public default void bindFloat(@IntRange(from=1L) int index, float value);
method public default void bindInt(@IntRange(from=1L) int index, int value);
method public void bindLong(@IntRange(from=1L) int index, long value);
method public void bindNull(@IntRange(from=1L) int index);
method public void bindText(@IntRange(from=1L) int index, String value);
method public void clearBindings();
method public void close();
method public byte[] getBlob(@IntRange(from=0L) int index);
method public default boolean getBoolean(@IntRange(from=0L) int index);
method public int getColumnCount();
method public String getColumnName(@IntRange(from=0L) int index);
method public default java.util.List<java.lang.String> getColumnNames();
method public int getColumnType(@IntRange(from=0L) int index);
method public double getDouble(@IntRange(from=0L) int index);
method public default float getFloat(@IntRange(from=0L) int index);
method public default int getInt(@IntRange(from=0L) int index);
method public long getLong(@IntRange(from=0L) int index);
method public String getText(@IntRange(from=0L) int index);
method public boolean isNull(@IntRange(from=0L) int index);
method public void reset();
method public boolean step();
method @BytecodeOnly @Deprecated public default Object! stepAsync(kotlin.coroutines.Continuation!);
}
public typealias SQLiteException = android.database.SQLException;
}
package androidx.sqlite.db {
public final class SimpleSQLiteQuery implements androidx.sqlite.db.SupportSQLiteQuery {
ctor public SimpleSQLiteQuery(String query);
ctor public SimpleSQLiteQuery(String query, Object?[]? bindArgs);
method public static void bind(androidx.sqlite.db.SupportSQLiteProgram statement, Object?[]? bindArgs);
method public void bindTo(androidx.sqlite.db.SupportSQLiteProgram statement);
method @InaccessibleFromKotlin public int getArgCount();
method @InaccessibleFromKotlin public String getSql();
property public int argCount;
property public String sql;
field public static final androidx.sqlite.db.SimpleSQLiteQuery.Companion Companion;
}
public static final class SimpleSQLiteQuery.Companion {
method public void bind(androidx.sqlite.db.SupportSQLiteProgram statement, Object?[]? bindArgs);
}
public interface SupportSQLiteDatabase extends java.io.Closeable {
method public void beginTransaction();
method public void beginTransactionNonExclusive();
method public default void beginTransactionReadOnly();
method public void beginTransactionWithListener(android.database.sqlite.SQLiteTransactionListener transactionListener);
method public void beginTransactionWithListenerNonExclusive(android.database.sqlite.SQLiteTransactionListener transactionListener);
method public default void beginTransactionWithListenerReadOnly(android.database.sqlite.SQLiteTransactionListener transactionListener);
method public androidx.sqlite.db.SupportSQLiteStatement compileStatement(String sql);
method public int delete(String table, String? whereClause, Object?[]? whereArgs);
method public void disableWriteAheadLogging();
method public boolean enableWriteAheadLogging();
method public void endTransaction();
method public default void execPerConnectionSQL(String sql, Object?[]? bindArgs);
method @kotlin.jvm.Throws(exceptionClasses=SQLException::class) public void execSQL(String sql) throws android.database.SQLException;
method @kotlin.jvm.Throws(exceptionClasses=SQLException::class) public void execSQL(String sql, Object?[] bindArgs) throws android.database.SQLException;
method @InaccessibleFromKotlin public java.util.List<android.util.Pair<java.lang.String,java.lang.String>>? getAttachedDbs();
method @InaccessibleFromKotlin public long getMaximumSize();
method @InaccessibleFromKotlin public long getPageSize();
method @InaccessibleFromKotlin public String? getPath();
method @InaccessibleFromKotlin public int getVersion();
method public boolean inTransaction();
method @kotlin.jvm.Throws(exceptionClasses=SQLException::class) public long insert(String table, int conflictAlgorithm, android.content.ContentValues values) throws android.database.SQLException;
method @InaccessibleFromKotlin public boolean isDatabaseIntegrityOk();
method @InaccessibleFromKotlin public boolean isDbLockedByCurrentThread();
method @InaccessibleFromKotlin public default boolean isExecPerConnectionSQLSupported();
method @InaccessibleFromKotlin public boolean isOpen();
method @InaccessibleFromKotlin public boolean isReadOnly();
method @InaccessibleFromKotlin public boolean isWriteAheadLoggingEnabled();
method public boolean needUpgrade(int newVersion);
method public android.database.Cursor query(androidx.sqlite.db.SupportSQLiteQuery query);
method public android.database.Cursor query(androidx.sqlite.db.SupportSQLiteQuery query, android.os.CancellationSignal? cancellationSignal);
method public android.database.Cursor query(String query);
method public android.database.Cursor query(String query, Object?[] bindArgs);
method public void setForeignKeyConstraintsEnabled(boolean enabled);
method public void setLocale(java.util.Locale locale);
method public void setMaxSqlCacheSize(int cacheSize);
method public long setMaximumSize(long numBytes);
method @InaccessibleFromKotlin public void setPageSize(long);
method public void setTransactionSuccessful();
method @InaccessibleFromKotlin public void setVersion(int);
method public int update(String table, int conflictAlgorithm, android.content.ContentValues values, String? whereClause, Object?[]? whereArgs);
method public boolean yieldIfContendedSafely();
method public boolean yieldIfContendedSafely(long sleepAfterYieldDelayMillis);
property public abstract java.util.List<android.util.Pair<java.lang.String,java.lang.String>>? attachedDbs;
property public abstract boolean isDatabaseIntegrityOk;
property public abstract boolean isDbLockedByCurrentThread;
property public default boolean isExecPerConnectionSQLSupported;
property public abstract boolean isOpen;
property public abstract boolean isReadOnly;
property public abstract boolean isWriteAheadLoggingEnabled;
property public abstract long maximumSize;
property public abstract long pageSize;
property public abstract String? path;
property public abstract int version;
}
public interface SupportSQLiteOpenHelper extends java.io.Closeable {
method public void close();
method @InaccessibleFromKotlin public String? getDatabaseName();
method @InaccessibleFromKotlin public androidx.sqlite.db.SupportSQLiteDatabase getReadableDatabase();
method @InaccessibleFromKotlin public androidx.sqlite.db.SupportSQLiteDatabase getWritableDatabase();
method public void setWriteAheadLoggingEnabled(boolean enabled);
property public abstract String? databaseName;
property public abstract androidx.sqlite.db.SupportSQLiteDatabase readableDatabase;
property public abstract androidx.sqlite.db.SupportSQLiteDatabase writableDatabase;
}
public abstract static class SupportSQLiteOpenHelper.Callback {
ctor public SupportSQLiteOpenHelper.Callback(int version);
method public void onConfigure(androidx.sqlite.db.SupportSQLiteDatabase db);
method public void onCorruption(androidx.sqlite.db.SupportSQLiteDatabase db);
method public abstract void onCreate(androidx.sqlite.db.SupportSQLiteDatabase db);
method public void onDowngrade(androidx.sqlite.db.SupportSQLiteDatabase db, int oldVersion, int newVersion);
method public void onOpen(androidx.sqlite.db.SupportSQLiteDatabase db);
method public abstract void onUpgrade(androidx.sqlite.db.SupportSQLiteDatabase db, int oldVersion, int newVersion);
property public final int version;
field public final int version;
}
public static final class SupportSQLiteOpenHelper.Configuration {
ctor public SupportSQLiteOpenHelper.Configuration(android.content.Context context, String? name, androidx.sqlite.db.SupportSQLiteOpenHelper.Callback callback, optional boolean useNoBackupDirectory, optional boolean allowDataLossOnRecovery);
ctor @BytecodeOnly public SupportSQLiteOpenHelper.Configuration(android.content.Context!, String!, androidx.sqlite.db.SupportSQLiteOpenHelper.Callback!, boolean, boolean, int, kotlin.jvm.internal.DefaultConstructorMarker!);
method public static androidx.sqlite.db.SupportSQLiteOpenHelper.Configuration.Builder builder(android.content.Context context);
property public boolean allowDataLossOnRecovery;
property public androidx.sqlite.db.SupportSQLiteOpenHelper.Callback callback;
property public android.content.Context context;
property public String? name;
property public boolean useNoBackupDirectory;
field public static final androidx.sqlite.db.SupportSQLiteOpenHelper.Configuration.Companion Companion;
field public final boolean allowDataLossOnRecovery;
field public final androidx.sqlite.db.SupportSQLiteOpenHelper.Callback callback;
field public final android.content.Context context;
field public final String? name;
field public final boolean useNoBackupDirectory;
}
public static class SupportSQLiteOpenHelper.Configuration.Builder {
method public androidx.sqlite.db.SupportSQLiteOpenHelper.Configuration.Builder allowDataLossOnRecovery(boolean allowDataLossOnRecovery);
method public androidx.sqlite.db.SupportSQLiteOpenHelper.Configuration build();
method public androidx.sqlite.db.SupportSQLiteOpenHelper.Configuration.Builder callback(androidx.sqlite.db.SupportSQLiteOpenHelper.Callback callback);
method public androidx.sqlite.db.SupportSQLiteOpenHelper.Configuration.Builder name(String? name);
method public androidx.sqlite.db.SupportSQLiteOpenHelper.Configuration.Builder noBackupDirectory(boolean useNoBackupDirectory);
}
public static final class SupportSQLiteOpenHelper.Configuration.Companion {
method public androidx.sqlite.db.SupportSQLiteOpenHelper.Configuration.Builder builder(android.content.Context context);
}
public static fun interface SupportSQLiteOpenHelper.Factory {
method public androidx.sqlite.db.SupportSQLiteOpenHelper create(androidx.sqlite.db.SupportSQLiteOpenHelper.Configuration configuration);
}
public interface SupportSQLiteProgram extends java.io.Closeable {
method public void bindBlob(int index, byte[] value);
method public void bindDouble(int index, double value);
method public void bindLong(int index, long value);
method public void bindNull(int index);
method public void bindString(int index, String value);
method public void clearBindings();
}
public interface SupportSQLiteQuery {
method public void bindTo(androidx.sqlite.db.SupportSQLiteProgram statement);
method @InaccessibleFromKotlin public int getArgCount();
method @InaccessibleFromKotlin public String getSql();
property public abstract int argCount;
property public abstract String sql;
}
public final class SupportSQLiteQueryBuilder {
method public static androidx.sqlite.db.SupportSQLiteQueryBuilder builder(String tableName);
method public androidx.sqlite.db.SupportSQLiteQueryBuilder columns(String[]? columns);
method public androidx.sqlite.db.SupportSQLiteQuery create();
method public androidx.sqlite.db.SupportSQLiteQueryBuilder distinct();
method public androidx.sqlite.db.SupportSQLiteQueryBuilder groupBy(String? groupBy);
method public androidx.sqlite.db.SupportSQLiteQueryBuilder having(String? having);
method public androidx.sqlite.db.SupportSQLiteQueryBuilder limit(String limit);
method public androidx.sqlite.db.SupportSQLiteQueryBuilder orderBy(String? orderBy);
method public androidx.sqlite.db.SupportSQLiteQueryBuilder selection(String? selection, Object?[]? bindArgs);
field public static final androidx.sqlite.db.SupportSQLiteQueryBuilder.Companion Companion;
}
public static final class SupportSQLiteQueryBuilder.Companion {
method public androidx.sqlite.db.SupportSQLiteQueryBuilder builder(String tableName);
}
public interface SupportSQLiteStatement extends androidx.sqlite.db.SupportSQLiteProgram {
method public void execute();
method public long executeInsert();
method public int executeUpdateDelete();
method public long simpleQueryForLong();
method public String? simpleQueryForString();
}
}