Home
last modified time | relevance | path

Searched defs:sql (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteTokenizerTest.java34 private List<String> getTokens(String sql) { in getTokens()
38 private void checkTokens(String sql, String spaceSeparatedExpectedTokens) { in checkTokens()
46 private void assertInvalidSql(String sql, String message) { in assertInvalidSql()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteSession.java578 public void prepare(String sql, int connectionFlags, CancellationSignal cancellationSignal, in prepare()
609 public void execute(String sql, Object[] bindArgs, int connectionFlags, in execute()
642 public long executeForLong(String sql, Object[] bindArgs, int connectionFlags, in executeForLong()
675 public String executeForString(String sql, Object[] bindArgs, int connectionFlags, in executeForString()
710 public ParcelFileDescriptor executeForBlobFileDescriptor(String sql, Object[] bindArgs, in executeForBlobFileDescriptor()
744 public int executeForChangedRowCount(String sql, Object[] bindArgs, int connectionFlags, in executeForChangedRowCount()
778 public long executeForLastInsertedRowId(String sql, Object[] bindArgs, int connectionFlags, in executeForLastInsertedRowId()
821 public int executeForCursorWindow(String sql, Object[] bindArgs, in executeForCursorWindow()
867 private boolean executeSpecial(String sql, Object[] bindArgs, int connectionFlags, in executeSpecial()
892 private void acquireConnection(String sql, int connectionFlags, in acquireConnection()
DSQLiteTokenizer.java56 private static IllegalArgumentException genException(String message, String sql) { in genException()
77 public static List<String> tokenize(@Nullable String sql, int options) { in tokenize()
89 public static void tokenize(@Nullable String sql, int options, Consumer<String> checker) { in tokenize()
DSQLiteConnection.java129 private static native long nativePrepareStatement(long connectionPtr, String sql); in nativePrepareStatement()
542 boolean isPreparedStatementInCache(String sql) { in isPreparedStatementInCache()
586 public void prepare(String sql, SQLiteStatementInfo outStatementInfo) { in prepare()
633 public void execute(String sql, Object[] bindArgs, in execute()
676 public long executeForLong(String sql, Object[] bindArgs, in executeForLong()
721 public String executeForString(String sql, Object[] bindArgs, in executeForString()
768 public ParcelFileDescriptor executeForBlobFileDescriptor(String sql, Object[] bindArgs, in executeForBlobFileDescriptor()
814 public int executeForChangedRowCount(String sql, Object[] bindArgs, in executeForChangedRowCount()
863 public long executeForLastInsertedRowId(String sql, Object[] bindArgs, in executeForLastInsertedRowId()
917 public int executeForCursorWindow(String sql, Object[] bindArgs, in executeForCursorWindow()
[all …]
DSQLiteDatabase.java1118 public SQLiteStatement compileStatement(String sql) throws SQLException { in compileStatement()
1287 String sql = SQLiteQueryBuilder.buildQueryString( in queryWithFactory() local
1381 public Cursor rawQuery(String sql, String[] selectionArgs) { in rawQuery()
1398 public Cursor rawQuery(String sql, String[] selectionArgs, in rawQuery()
1416 CursorFactory cursorFactory, String sql, String[] selectionArgs, in rawQueryWithFactory()
1437 CursorFactory cursorFactory, String sql, String[] selectionArgs, in rawQueryWithFactory()
1569 StringBuilder sql = new StringBuilder(); in insertWithOnConflict() local
1675 StringBuilder sql = new StringBuilder(120); in updateWithOnConflict() local
1732 public void execSQL(String sql) throws SQLException { in execSQL()
1779 public void execSQL(String sql, Object[] bindArgs) throws SQLException { in execSQL()
[all …]
DSQLiteQueryBuilder.java560 final String sql; in query() local
628 final String sql = buildInsert(values); in insert() local
666 final String sql; in update() local
741 final String sql; in delete() local
915 StringBuilder sql = new StringBuilder(120); in buildInsert() local
944 StringBuilder sql = new StringBuilder(120); in buildUpdate() local
965 StringBuilder sql = new StringBuilder(120); in buildDelete() local
DSQLiteStatement.java32 SQLiteStatement(SQLiteDatabase db, String sql, Object[] bindArgs) { in SQLiteStatement()
DSQLiteDirectCursorDriver.java37 public SQLiteDirectCursorDriver(SQLiteDatabase db, String sql, String editTable, in SQLiteDirectCursorDriver()
DSQLiteConnectionPool.java378 public SQLiteConnection acquireConnection(String sql, int connectionFlags, in acquireConnection()
677 private SQLiteConnection waitForConnection(String sql, int connectionFlags, in waitForConnection()
958 String sql, int connectionFlags) { in tryAcquireNonPrimaryConnectionLocked()
1077 int priority, boolean wantPrimaryConnection, String sql, int connectionFlags) { in obtainConnectionWaiterLocked()
DSQLiteProgram.java43 SQLiteProgram(SQLiteDatabase db, String sql, Object[] bindArgs, in SQLiteProgram()
DSQLiteCursor.java287 String sql = mQuery.getSql(); in finalize() local
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseCursorTest.java107 String sql = "INSERT INTO test (s, d, l, b) VALUES (?,?,?,?)"; in testBlob() local
237 StringBuilder sql = new StringBuilder(2100); in testLargeField() local
318 StringBuilder sql = new StringBuilder(2100); in testManyRowsTxt() local
363 StringBuilder sql = new StringBuilder(2100); in testManyRowsTxtLong() local
DDatabaseLocaleTest.java65 private String[] query(String sql) { in query()
/frameworks/base/core/tests/coretests/src/android/content/
DMemoryFileProvider.java136 String sql = "SELECT _blob FROM data WHERE _id=" + url.getPathSegments().get(1); in openFile() local
152 private ParcelFileDescriptor getBlobColumnAsFile(Uri url, String mode, String sql) in getBlobColumnAsFile()
/frameworks/base/test-runner/src/android/test/
DProviderTestCase.java97 String databaseName, int databaseVersion, String sql) in newResolverWithContentProviderFromSql()
DProviderTestCase2.java223 String databaseName, int databaseVersion, String sql) in newResolverWithContentProviderFromSql()
/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp94 static void sqliteTraceCallback(void *data, const char *sql) { in sqliteTraceCallback()
101 static void sqliteProfileCallback(void *data, const char *sql, sqlite3_uint64 tm) { in sqliteProfileCallback()
301 const jchar* sql = env->GetStringCritical(sqlString, NULL); in nativePrepareStatement() local
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/
DWapPushManager.java79 String sql = "CREATE TABLE " + APPID_TABLE_NAME + " (" in onCreate() local
/frameworks/base/core/java/android/database/
DDatabaseUtils.java460 public static final void appendValueToSql(StringBuilder sql, Object value) { in appendValueToSql()
1484 public static int getSqlStatementType(String sql) { in getSqlStatementType()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountsDb.java1326 String sql = "INSERT OR REPLACE INTO " + AccountsDb.TABLE_DEBUG in compileSqlStatementForLogging() local
/frameworks/base/core/proto/android/server/
Dactivitymanagerservice.proto347 optional SqlStats sql = 3; field