Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp71 struct SQLiteConnection { struct
89 SQLiteConnection(sqlite3* db, int openFlags, const String8& path, const String8& label) : in SQLiteConnection() function
95 SQLiteConnection* connection = static_cast<SQLiteConnection*>(data); in sqliteTraceCallback()
102 SQLiteConnection* connection = static_cast<SQLiteConnection*>(data); in sqliteProfileCallback()
109 SQLiteConnection* connection = static_cast<SQLiteConnection*>(data); in sqliteProgressHandlerCallback()
118 if (openFlags & SQLiteConnection::CREATE_IF_NECESSARY) { in nativeOpen()
120 } else if (openFlags & SQLiteConnection::OPEN_READONLY) { in nativeOpen()
175 SQLiteConnection* connection = new SQLiteConnection(db, openFlags, path, label); in nativeOpen()
190 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); in nativeClose()
261 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); in nativeRegisterCustomFunction()
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java102 private final ArrayList<SQLiteConnection> mAvailableNonPrimaryConnections =
103 new ArrayList<SQLiteConnection>();
104 private SQLiteConnection mAvailablePrimaryConnection;
128 private final WeakHashMap<SQLiteConnection, AcquiredConnectionStatus> mAcquiredConnections =
129 new WeakHashMap<SQLiteConnection, AcquiredConnectionStatus>();
338 SQLiteConnection newPrimaryConnection = openConnectionLocked(configuration, in reconfigure()
378 public SQLiteConnection acquireConnection(String sql, int connectionFlags, in acquireConnection()
380 SQLiteConnection con = waitForConnection(sql, connectionFlags, cancellationSignal); in acquireConnection()
401 public void releaseConnection(SQLiteConnection connection) { in releaseConnection()
434 private boolean recycleConnectionLocked(SQLiteConnection connection, in recycleConnectionLocked()
[all …]
DSQLiteConnection.java91 public final class SQLiteConnection implements CancellationSignal.OnCancelListener { class
163 private SQLiteConnection(SQLiteConnectionPool pool, in SQLiteConnection() method in SQLiteConnection
191 static SQLiteConnection open(SQLiteConnectionPool pool, in open()
194 SQLiteConnection connection = new SQLiteConnection(pool, configuration, in open()
DSQLiteSession.java167 private SQLiteConnection mConnection;
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteConnectionPoolTest.java78 SQLiteConnection c1 = pool.acquireConnection("pragma user_version", 0, null); in testCloseIdleConnections()
81 SQLiteConnection c2 = pool.acquireConnection("pragma user_version", 0, null); in testCloseIdleConnections()
85 SQLiteConnection c3 = pool.acquireConnection("pragma user_version", 0, null); in testCloseIdleConnections()
/frameworks/base/config/
Dpreloaded-classes1087 android.database.sqlite.SQLiteConnection$Operation
1088 android.database.sqlite.SQLiteConnection$OperationLog
1089 android.database.sqlite.SQLiteConnection$PreparedStatement
1090 android.database.sqlite.SQLiteConnection$PreparedStatementCache
1091 android.database.sqlite.SQLiteConnection