Home
last modified time | relevance | path

Searched refs:SQLiteConnection (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp69 struct SQLiteConnection { struct
91 SQLiteConnection(sqlite3* db, int openFlags, const String8& path, const String8& label) : in SQLiteConnection() argument
99 SQLiteConnection* connection = static_cast<SQLiteConnection*>(data); in sqliteTraceCallback()
105 SQLiteConnection* connection = static_cast<SQLiteConnection*>(data); in sqliteProfileCallback()
112 SQLiteConnection* connection = static_cast<SQLiteConnection*>(data); in sqliteProgressHandlerCallback()
121 if (openFlags & SQLiteConnection::CREATE_IF_NECESSARY) { in nativeOpen()
123 } else if (openFlags & SQLiteConnection::OPEN_READONLY) { in nativeOpen()
178 SQLiteConnection* connection = new SQLiteConnection(db, openFlags, path, label); in nativeOpen()
193 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); in nativeClose()
247 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); in nativeRegisterCustomScalarFunction()
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java103 private final ArrayList<SQLiteConnection> mAvailableNonPrimaryConnections =
104 new ArrayList<SQLiteConnection>();
105 private SQLiteConnection mAvailablePrimaryConnection;
144 private final WeakHashMap<SQLiteConnection, AcquiredConnectionStatus> mAcquiredConnections =
145 new WeakHashMap<SQLiteConnection, AcquiredConnectionStatus>();
357 SQLiteConnection newPrimaryConnection = openConnectionLocked(configuration, in reconfigure()
397 public SQLiteConnection acquireConnection(String sql, int connectionFlags, in acquireConnection()
399 SQLiteConnection con = waitForConnection(sql, connectionFlags, cancellationSignal); in acquireConnection()
420 public void releaseConnection(SQLiteConnection connection) { in releaseConnection()
453 private boolean recycleConnectionLocked(SQLiteConnection connection, in recycleConnectionLocked()
[all …]
DTEST_MAPPING20 "(/|^)SQLiteConnection.java"
DSQLiteSession.java173 private SQLiteConnection mConnection;
945 SQLiteConnection.PreparedStatement acquirePersistentStatement(@NonNull String query, in acquirePersistentStatement()
961 void releasePersistentStatement(@NonNull SQLiteConnection.PreparedStatement statement, in releasePersistentStatement()
DSQLiteConnection.java100 public final class SQLiteConnection implements CancellationSignal.OnCancelListener { class
184 private SQLiteConnection(SQLiteConnectionPool pool, in SQLiteConnection() method in SQLiteConnection
212 static SQLiteConnection open(SQLiteConnectionPool pool, in open()
215 SQLiteConnection connection = new SQLiteConnection(pool, configuration, in open()
DSQLiteRawStatement.java94 private SQLiteConnection.PreparedStatement mPreparedStatement;
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteConnectionPoolTest.java79 SQLiteConnection c1 = pool.acquireConnection("pragma user_version", 0, null); in testCloseIdleConnections()
82 SQLiteConnection c2 = pool.acquireConnection("pragma user_version", 0, null); in testCloseIdleConnections()
86 SQLiteConnection c3 = pool.acquireConnection("pragma user_version", 0, null); in testCloseIdleConnections()
105 SQLiteConnection connection = pool.acquireConnection("pragma user_version", 0, null); in testNonprimaryConnectionPoolRecycling()
/frameworks/base/boot/
Dboot-image-profile.txt5601 HSPLandroid/database/sqlite/SQLiteConnection$Operation;-><init>()V
5602 HSPLandroid/database/sqlite/SQLiteConnection$Operation;-><init>(Landroid/database/sqlite/SQLiteConn…
5603 HSPLandroid/database/sqlite/SQLiteConnection$Operation;->describe(Ljava/lang/StringBuilder;Z)V
5604 HSPLandroid/database/sqlite/SQLiteConnection$Operation;->getTraceMethodName()Ljava/lang/String;
5605 HSPLandroid/database/sqlite/SQLiteConnection$OperationLog;-><init>(Landroid/database/sqlite/SQLiteC…
5606 HSPLandroid/database/sqlite/SQLiteConnection$OperationLog;->beginOperation(Ljava/lang/String;Ljava/…
5607 HSPLandroid/database/sqlite/SQLiteConnection$OperationLog;->dump(Landroid/util/Printer;)V
5608 HSPLandroid/database/sqlite/SQLiteConnection$OperationLog;->endOperation(I)V
5609 HSPLandroid/database/sqlite/SQLiteConnection$OperationLog;->endOperationDeferLog(I)Z
5610 HSPLandroid/database/sqlite/SQLiteConnection$OperationLog;->endOperationDeferLogLocked(I)Z
[all …]
Dpreloaded-classes2082 android.database.sqlite.SQLiteConnection$Operation-IA
2083 android.database.sqlite.SQLiteConnection$Operation
2084 android.database.sqlite.SQLiteConnection$OperationLog
2085 android.database.sqlite.SQLiteConnection$PreparedStatement
2086 android.database.sqlite.SQLiteConnection$PreparedStatementCache
2087 android.database.sqlite.SQLiteConnection
14108 [Landroid.database.sqlite.SQLiteConnection$Operation;
/frameworks/base/config/
Dboot-image-profile.txt5604 HSPLandroid/database/sqlite/SQLiteConnection$Operation;-><init>()V
5605 HSPLandroid/database/sqlite/SQLiteConnection$Operation;-><init>(Landroid/database/sqlite/SQLiteConn…
5606 HSPLandroid/database/sqlite/SQLiteConnection$Operation;->describe(Ljava/lang/StringBuilder;Z)V
5607 HSPLandroid/database/sqlite/SQLiteConnection$Operation;->getTraceMethodName()Ljava/lang/String;
5608 HSPLandroid/database/sqlite/SQLiteConnection$OperationLog;-><init>(Landroid/database/sqlite/SQLiteC…
5609 HSPLandroid/database/sqlite/SQLiteConnection$OperationLog;->beginOperation(Ljava/lang/String;Ljava/…
5610 HSPLandroid/database/sqlite/SQLiteConnection$OperationLog;->dump(Landroid/util/Printer;)V
5611 HSPLandroid/database/sqlite/SQLiteConnection$OperationLog;->endOperation(I)V
5612 HSPLandroid/database/sqlite/SQLiteConnection$OperationLog;->endOperationDeferLog(I)Z
5613 HSPLandroid/database/sqlite/SQLiteConnection$OperationLog;->endOperationDeferLogLocked(I)Z
[all …]
Dpreloaded-classes2086 android.database.sqlite.SQLiteConnection$Operation-IA
2087 android.database.sqlite.SQLiteConnection$Operation
2088 android.database.sqlite.SQLiteConnection$OperationLog
2089 android.database.sqlite.SQLiteConnection$PreparedStatement
2090 android.database.sqlite.SQLiteConnection$PreparedStatementCache
2091 android.database.sqlite.SQLiteConnection
17131 [Landroid.database.sqlite.SQLiteConnection$Operation;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt14444 Landroid/database/sqlite/SQLiteConnection$Operation;-><init>()V
14445 Landroid/database/sqlite/SQLiteConnection$Operation;->describe(Ljava/lang/StringBuilder;Z)V
14446 Landroid/database/sqlite/SQLiteConnection$Operation;->getStatus()Ljava/lang/String;
14447 Landroid/database/sqlite/SQLiteConnection$Operation;->getTraceMethodName()Ljava/lang/String;
14448 Landroid/database/sqlite/SQLiteConnection$Operation;->MAX_TRACE_METHOD_NAME_LEN:I
14449 Landroid/database/sqlite/SQLiteConnection$Operation;->mBindArgs:Ljava/util/ArrayList;
14450 Landroid/database/sqlite/SQLiteConnection$Operation;->mCookie:I
14451 Landroid/database/sqlite/SQLiteConnection$Operation;->mEndTime:J
14452 Landroid/database/sqlite/SQLiteConnection$Operation;->mException:Ljava/lang/Exception;
14453 Landroid/database/sqlite/SQLiteConnection$Operation;->mFinished:Z
[all …]