Home
last modified time | relevance | path

Searched refs:longForQuery (Results 1 – 6 of 6) 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/sqlite/
DSQLiteDatabase.java862 return ((Long) DatabaseUtils.longForQuery(this, "PRAGMA user_version;", null)).intValue(); in getVersion()
880 long pageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count;", null); in getMaximumSize()
898 long newPageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count = " + numPages, in setMaximumSize()
909 return DatabaseUtils.longForQuery(this, "PRAGMA page_size;", null); in getPageSize()
/frameworks/base/core/java/android/database/
DDatabaseUtils.java790 return longForQuery(db, "select count(*) from " + table + s, in queryNumEntries()
798 public static long longForQuery(SQLiteDatabase db, String query, String[] selectionArgs) { in longForQuery() method in DatabaseUtils
801 return longForQuery(prog, selectionArgs); in longForQuery()
811 public static long longForQuery(SQLiteStatement prog, String[] selectionArgs) { in longForQuery() method in DatabaseUtils
/frameworks/base/services/java/com/android/server/accounts/
DAccountManagerService.java673 long numMatches = DatabaseUtils.longForQuery(db, in addAccountInternal()
2605 DatabaseUtils.longForQuery(db, COUNT_OF_MATCHING_GRANTS, args) != 0; in hasExplicitlyGrantedPermission()
/frameworks/base/api/
Dcurrent.txt7759 …method public static long longForQuery(android.database.sqlite.SQLiteDatabase, java.lang.String, j…
7760 …method public static long longForQuery(android.database.sqlite.SQLiteStatement, java.lang.String[]…