Home
last modified time | relevance | path

Searched refs:longForQuery (Results 1 – 9 of 9) 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/java/android/database/
DDatabaseUtils.java900 return longForQuery(db, "select count(*) from " + table + s, in queryNumEntries()
912 long isEmpty = longForQuery(db, "select exists(select 1 from " + table + ")", null); in queryIsEmpty()
920 public static long longForQuery(SQLiteDatabase db, String query, String[] selectionArgs) { in longForQuery() method in DatabaseUtils
923 return longForQuery(prog, selectionArgs); in longForQuery()
933 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.java991 return ((Long) DatabaseUtils.longForQuery(this, "PRAGMA user_version;", null)).intValue(); in getVersion()
1009 long pageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count;", null); in getMaximumSize()
1027 long newPageCount = DatabaseUtils.longForQuery(this, "PRAGMA max_page_count = " + numPages, in setMaximumSize()
1038 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/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/non-updatable-api/
Dcurrent.txt12760 … method public static long longForQuery(android.database.sqlite.SQLiteDatabase, String, String[]);
12761 method public static long longForQuery(android.database.sqlite.SQLiteStatement, String[]);
/frameworks/base/api/
Dcurrent.txt12760 … method public static long longForQuery(android.database.sqlite.SQLiteDatabase, String, String[]);
12761 method public static long longForQuery(android.database.sqlite.SQLiteStatement, String[]);
/frameworks/base/config/
Dboot-image-profile.txt5169 HSPLandroid/database/DatabaseUtils;->longForQuery(Landroid/database/sqlite/SQLiteDatabase;Ljava/lan…