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.java297 SQLiteTransactionListener transactionListener, int connectionFlags, in beginTransaction() argument
300 beginTransactionUnchecked(transactionMode, transactionListener, connectionFlags, in beginTransaction()
305 SQLiteTransactionListener transactionListener, int connectionFlags, in beginTransactionUnchecked() argument
312 acquireConnection(null, connectionFlags, cancellationSignal); // might throw in beginTransactionUnchecked()
538 final int connectionFlags = mConnectionFlags; in yieldTransactionUnchecked() local
549 beginTransactionUnchecked(transactionMode, listener, connectionFlags, in yieldTransactionUnchecked()
578 public void prepare(String sql, int connectionFlags, CancellationSignal cancellationSignal, in prepare() argument
588 acquireConnection(sql, connectionFlags, cancellationSignal); // might throw in prepare()
609 public void execute(String sql, Object[] bindArgs, int connectionFlags, in execute() argument
615 if (executeSpecial(sql, bindArgs, connectionFlags, cancellationSignal)) { in execute()
[all …]
DSQLiteConnectionPool.java378 public SQLiteConnection acquireConnection(String sql, int connectionFlags, in acquireConnection() argument
380 SQLiteConnection con = waitForConnection(sql, connectionFlags, cancellationSignal); in acquireConnection()
463 public boolean shouldYieldConnection(SQLiteConnection connection, int connectionFlags) { in shouldYieldConnection() argument
476 connection.isPrimaryConnection(), connectionFlags); in shouldYieldConnection()
677 private SQLiteConnection waitForConnection(String sql, int connectionFlags, in waitForConnection() argument
680 (connectionFlags & CONNECTION_FLAG_PRIMARY_CONNECTION_AFFINITY) != 0; in waitForConnection()
696 sql, connectionFlags); // might throw in waitForConnection()
699 connection = tryAcquirePrimaryConnectionLocked(connectionFlags); // might throw in waitForConnection()
706 final int priority = getPriority(connectionFlags); in waitForConnection()
709 priority, wantPrimaryConnection, sql, connectionFlags); in waitForConnection()
[all …]