Home
last modified time | relevance | path

Searched refs:connectionFlags (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/database/sqlite/
DSQLiteSession.java295 SQLiteTransactionListener transactionListener, int connectionFlags, in beginTransaction() argument
298 beginTransactionUnchecked(transactionMode, transactionListener, connectionFlags, in beginTransaction()
303 SQLiteTransactionListener transactionListener, int connectionFlags, in beginTransactionUnchecked() argument
310 acquireConnection(null, connectionFlags, cancellationSignal); // might throw in beginTransactionUnchecked()
536 final int connectionFlags = mConnectionFlags; in yieldTransactionUnchecked() local
547 beginTransactionUnchecked(transactionMode, listener, connectionFlags, in yieldTransactionUnchecked()
576 public void prepare(String sql, int connectionFlags, CancellationSignal cancellationSignal, in prepare() argument
586 acquireConnection(sql, connectionFlags, cancellationSignal); // might throw in prepare()
607 public void execute(String sql, Object[] bindArgs, int connectionFlags, in execute() argument
613 if (executeSpecial(sql, bindArgs, connectionFlags, cancellationSignal)) { in execute()
[all …]
DSQLiteConnectionPool.java346 public SQLiteConnection acquireConnection(String sql, int connectionFlags, in acquireConnection() argument
348 return waitForConnection(sql, connectionFlags, cancellationSignal); in acquireConnection()
421 public boolean shouldYieldConnection(SQLiteConnection connection, int connectionFlags) { in shouldYieldConnection() argument
434 connection.isPrimaryConnection(), connectionFlags); in shouldYieldConnection()
591 private SQLiteConnection waitForConnection(String sql, int connectionFlags, in waitForConnection() argument
594 (connectionFlags & CONNECTION_FLAG_PRIMARY_CONNECTION_AFFINITY) != 0; in waitForConnection()
610 sql, connectionFlags); // might throw in waitForConnection()
613 connection = tryAcquirePrimaryConnectionLocked(connectionFlags); // might throw in waitForConnection()
620 final int priority = getPriority(connectionFlags); in waitForConnection()
623 priority, wantPrimaryConnection, sql, connectionFlags); in waitForConnection()
[all …]