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.java308 SQLiteTransactionListener transactionListener, int connectionFlags, in beginTransaction() argument
311 beginTransactionUnchecked(transactionMode, transactionListener, connectionFlags, in beginTransaction()
316 SQLiteTransactionListener transactionListener, int connectionFlags, in beginTransactionUnchecked() argument
323 acquireConnection(null, connectionFlags, cancellationSignal); // might throw in beginTransactionUnchecked()
562 final int connectionFlags = mConnectionFlags; in yieldTransactionUnchecked() local
573 beginTransactionUnchecked(transactionMode, listener, connectionFlags, in yieldTransactionUnchecked()
602 public void prepare(String sql, int connectionFlags, CancellationSignal cancellationSignal, in prepare() argument
612 acquireConnection(sql, connectionFlags, cancellationSignal); // might throw in prepare()
633 public void execute(String sql, Object[] bindArgs, int connectionFlags, in execute() argument
639 if (executeSpecial(sql, bindArgs, connectionFlags, cancellationSignal)) { in execute()
[all …]
DSQLiteConnectionPool.java397 public SQLiteConnection acquireConnection(String sql, int connectionFlags, in acquireConnection() argument
399 SQLiteConnection con = waitForConnection(sql, connectionFlags, cancellationSignal); in acquireConnection()
487 public boolean shouldYieldConnection(SQLiteConnection connection, int connectionFlags) { in shouldYieldConnection() argument
500 connection.isPrimaryConnection(), connectionFlags); in shouldYieldConnection()
708 private SQLiteConnection waitForConnection(String sql, int connectionFlags, in waitForConnection() argument
711 (connectionFlags & CONNECTION_FLAG_PRIMARY_CONNECTION_AFFINITY) != 0; in waitForConnection()
727 sql, connectionFlags); // might throw in waitForConnection()
730 connection = tryAcquirePrimaryConnectionLocked(connectionFlags); // might throw in waitForConnection()
737 final int priority = getPriority(connectionFlags); in waitForConnection()
740 priority, wantPrimaryConnection, sql, connectionFlags); in waitForConnection()
[all …]