Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp69 struct SQLiteConnection { struct
87 SQLiteConnection(sqlite3* db, int openFlags, const String8& path, const String8& label) : in SQLiteConnection() function
93 SQLiteConnection* connection = static_cast<SQLiteConnection*>(data); in sqliteTraceCallback()
100 SQLiteConnection* connection = static_cast<SQLiteConnection*>(data); in sqliteProfileCallback()
107 SQLiteConnection* connection = static_cast<SQLiteConnection*>(data); in sqliteProgressHandlerCallback()
115 if (openFlags & SQLiteConnection::CREATE_IF_NECESSARY) { in nativeOpen()
117 } else if (openFlags & SQLiteConnection::OPEN_READONLY) { in nativeOpen()
162 SQLiteConnection* connection = new SQLiteConnection(db, openFlags, path, label); in nativeOpen()
177 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); in nativeClose()
248 SQLiteConnection* connection = reinterpret_cast<SQLiteConnection*>(connectionPtr); in nativeRegisterCustomFunction()
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java92 private final ArrayList<SQLiteConnection> mAvailableNonPrimaryConnections =
93 new ArrayList<SQLiteConnection>();
94 private SQLiteConnection mAvailablePrimaryConnection;
113 private final WeakHashMap<SQLiteConnection, AcquiredConnectionStatus> mAcquiredConnections =
114 new WeakHashMap<SQLiteConnection, AcquiredConnectionStatus>();
306 SQLiteConnection newPrimaryConnection = openConnectionLocked(configuration, in reconfigure()
346 public SQLiteConnection acquireConnection(String sql, int connectionFlags, in acquireConnection()
363 public void releaseConnection(SQLiteConnection connection) { in releaseConnection()
392 private boolean recycleConnectionLocked(SQLiteConnection connection, in recycleConnectionLocked()
421 public boolean shouldYieldConnection(SQLiteConnection connection, int connectionFlags) { in shouldYieldConnection()
[all …]
DSQLiteConnection.java87 public final class SQLiteConnection implements CancellationSignal.OnCancelListener { class
160 private SQLiteConnection(SQLiteConnectionPool pool, in SQLiteConnection() method in SQLiteConnection
187 static SQLiteConnection open(SQLiteConnectionPool pool, in open()
190 SQLiteConnection connection = new SQLiteConnection(pool, configuration, in open()
DSQLiteSession.java166 private SQLiteConnection mConnection;
/frameworks/base/
Dpreloaded-classes366 android.database.sqlite.SQLiteConnection
367 android.database.sqlite.SQLiteConnection$Operation
368 android.database.sqlite.SQLiteConnection$OperationLog
369 android.database.sqlite.SQLiteConnection$PreparedStatement
370 android.database.sqlite.SQLiteConnection$PreparedStatementCache