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.java367 public SQLiteConnection acquireConnection(String sql, int connectionFlags, in acquireConnection() argument
369 SQLiteConnection con = waitForConnection(sql, connectionFlags, cancellationSignal); in acquireConnection()
451 public boolean shouldYieldConnection(SQLiteConnection connection, int connectionFlags) { in shouldYieldConnection() argument
464 connection.isPrimaryConnection(), connectionFlags); in shouldYieldConnection()
645 private SQLiteConnection waitForConnection(String sql, int connectionFlags, in waitForConnection() argument
648 (connectionFlags & CONNECTION_FLAG_PRIMARY_CONNECTION_AFFINITY) != 0; in waitForConnection()
664 sql, connectionFlags); // might throw in waitForConnection()
667 connection = tryAcquirePrimaryConnectionLocked(connectionFlags); // might throw in waitForConnection()
674 final int priority = getPriority(connectionFlags); in waitForConnection()
677 priority, wantPrimaryConnection, sql, connectionFlags); in waitForConnection()
[all …]