Home
last modified time | relevance | path

Searched refs:longForQuery (Results 1 – 12 of 12) sorted by relevance

/frameworks/ex/common/java/com/android/common/content/
DSyncStateContentProviderHelper.java73 long version = DatabaseUtils.longForQuery(db, in onDatabaseOpened()
101 if (DatabaseUtils.longForQuery(db, QUERY_COUNT_SYNC_STATE_ROWS, in update()
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteDatabaseTest.java262 long r = DatabaseUtils.longForQuery(database, query, null); in concurrentReadOnlyReader()
355 long r = DatabaseUtils.longForQuery(mDatabase, "SELECT count(*) from t1", null); in testReadOnlyTransaction()
DSQLiteRawStatementTest.java172 long r = DatabaseUtils.longForQuery(mDatabase, "SELECT count(*) from t1", null); in testSingleTransaction()
198 long r = DatabaseUtils.longForQuery(mDatabase, "SELECT count(*) from t1", null); in testMultipleTransactions()
/frameworks/base/core/java/android/database/
DDatabaseUtils.java1009 return longForQuery(db, "select count(*) from " + table + s, in queryNumEntries()
1021 long isEmpty = longForQuery(db, "select exists(select 1 from " + table + ")", null); in queryIsEmpty()
1029 public static long longForQuery(SQLiteDatabase db, String query, String[] selectionArgs) { in longForQuery() method in DatabaseUtils
1032 return longForQuery(prog, selectionArgs); in longForQuery()
1042 public static long longForQuery(SQLiteStatement prog, String[] selectionArgs) { in longForQuery() method in DatabaseUtils
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountsDb.java768 return DatabaseUtils.longForQuery(db, in findAccountLastAuthenticatedTime()
897 return DatabaseUtils.longForQuery(db, COUNT_OF_MATCHING_GRANTS, args); in findMatchingGrantsCount()
903 return DatabaseUtils.longForQuery(db, COUNT_OF_MATCHING_GRANTS_ANY_TOKEN, args); in findMatchingGrantsCountAnyToken()
1304 int size = (int) DatabaseUtils.longForQuery(db, queryCountDebugDbRows, null); in calculateDebugTableInsertionPoint()
1317 return DatabaseUtils.longForQuery(db, queryCountDebugDbRows, null); in calculateDebugTableInsertionPoint()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java1338 return ((Long) DatabaseUtils.longForQuery(this, "PRAGMA user_version;", null)).intValue(); in getVersion()
1356 long pageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count;", null); in getMaximumSize()
1374 long newPageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count = " + numPages, in setMaximumSize()
1385 return DatabaseUtils.longForQuery(this, "PRAGMA page_size;", null); in getPageSize()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseGeneralTest.java560 num, DatabaseUtils.longForQuery(mDatabase, "SELECT num FROM test", null)); in checkNum()
1087 long rowCount = DatabaseUtils.longForQuery(db, "select count(*) from data", null); in testSavepointRollbacks()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt5539 HSPLandroid/database/DatabaseUtils;->longForQuery(Landroid/database/sqlite/SQLiteDatabase;Ljava/lan…
5540 HSPLandroid/database/DatabaseUtils;->longForQuery(Landroid/database/sqlite/SQLiteStatement;[Ljava/l…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt9629 …method public static long longForQuery(android.database.sqlite.SQLiteDatabase, java.lang.String, j…
9630 …method public static long longForQuery(android.database.sqlite.SQLiteStatement, java.lang.String[]…
/frameworks/base/config/
Dboot-image-profile.txt5542 HSPLandroid/database/DatabaseUtils;->longForQuery(Landroid/database/sqlite/SQLiteDatabase;Ljava/lan…
5543 HSPLandroid/database/DatabaseUtils;->longForQuery(Landroid/database/sqlite/SQLiteStatement;[Ljava/l…
/frameworks/base/core/api/
Dcurrent.txt14572 … method public static long longForQuery(android.database.sqlite.SQLiteDatabase, String, String[]);
14573 method public static long longForQuery(android.database.sqlite.SQLiteStatement, String[]);