Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseGeneralTest.java454 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, in testTokenize()
456 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, in testTokenize()
458 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, in testTokenize()
460 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, in testTokenize()
463 Assert.assertEquals(3, DatabaseUtils.longForQuery(mDatabase, in testTokenize()
465 Assert.assertEquals(2, DatabaseUtils.longForQuery(mDatabase, in testTokenize()
468 Assert.assertEquals(3, DatabaseUtils.longForQuery(mDatabase, in testTokenize()
470 Assert.assertEquals(3, DatabaseUtils.longForQuery(mDatabase, in testTokenize()
475 Assert.assertEquals(2, DatabaseUtils.longForQuery(mDatabase, in testTokenize()
480 Assert.assertEquals(2, DatabaseUtils.longForQuery(mDatabase, in testTokenize()
[all …]
/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/java/android/database/
DDatabaseUtils.java807 return longForQuery(db, "select count(*) from " + table + s, in queryNumEntries()
819 long isEmpty = longForQuery(db, "select exists(select 1 from " + table + ")", null); in queryIsEmpty()
827 public static long longForQuery(SQLiteDatabase db, String query, String[] selectionArgs) { in longForQuery() method in DatabaseUtils
830 return longForQuery(prog, selectionArgs); in longForQuery()
840 public static long longForQuery(SQLiteStatement prog, String[] selectionArgs) { in longForQuery() method in DatabaseUtils
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java866 return ((Long) DatabaseUtils.longForQuery(this, "PRAGMA user_version;", null)).intValue(); in getVersion()
884 long pageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count;", null); in getMaximumSize()
902 long newPageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count = " + numPages, in setMaximumSize()
913 return DatabaseUtils.longForQuery(this, "PRAGMA page_size;", null); in getPageSize()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountsDb.java749 return DatabaseUtils.longForQuery(db, in findAccountLastAuthenticatedTime()
878 return DatabaseUtils.longForQuery(db, COUNT_OF_MATCHING_GRANTS, args); in findMatchingGrantsCount()
884 return DatabaseUtils.longForQuery(db, COUNT_OF_MATCHING_GRANTS_ANY_TOKEN, args); in findMatchingGrantsCountAnyToken()
1284 int size = (int) DatabaseUtils.longForQuery(db, queryCountDebugDbRows, null); in calculateDebugTableInsertionPoint()
1295 return (int) DatabaseUtils.longForQuery(db, queryCountDebugDbRows, null); in calculateDebugTableInsertionPoint()
/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/api/
Dcurrent.txt11661 …method public static long longForQuery(android.database.sqlite.SQLiteDatabase, java.lang.String, j…
11662 …method public static long longForQuery(android.database.sqlite.SQLiteStatement, java.lang.String[]…
Dsystem-current.txt12441 …method public static long longForQuery(android.database.sqlite.SQLiteDatabase, java.lang.String, j…
12442 …method public static long longForQuery(android.database.sqlite.SQLiteStatement, java.lang.String[]…