/frameworks/base/core/tests/coretests/src/android/database/ |
DatabaseGeneralTest.java | 454 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, 456 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, 458 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, 460 Assert.assertEquals(0, DatabaseUtils.longForQuery(mDatabase, 463 Assert.assertEquals(3, DatabaseUtils.longForQuery(mDatabase, 465 Assert.assertEquals(2, DatabaseUtils.longForQuery(mDatabase, 468 Assert.assertEquals(3, DatabaseUtils.longForQuery(mDatabase, 470 Assert.assertEquals(3, DatabaseUtils.longForQuery(mDatabase, 475 Assert.assertEquals(2, DatabaseUtils.longForQuery(mDatabase, 480 Assert.assertEquals(2, DatabaseUtils.longForQuery(mDatabase, [all...] |
/frameworks/ex/common/java/com/android/common/content/ |
SyncStateContentProviderHelper.java | 73 long version = DatabaseUtils.longForQuery(db, 101 if (DatabaseUtils.longForQuery(db, QUERY_COUNT_SYNC_STATE_ROWS,
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteStatementTest.java | 88 assertEquals(0, DatabaseUtils.longForQuery(mDatabase, "select count(*) from test", null)); 101 assertEquals(2, DatabaseUtils.longForQuery(mDatabase, "select count(*) from test", null)); 112 assertEquals(1, DatabaseUtils.longForQuery(mDatabase, "select count(*) from test", null));
|
SQLiteDatabaseTest.java | 277 assertEquals(num, DatabaseUtils.longForQuery(mDatabase, [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
DatabaseUtilsTest.java | 428 assertEquals(20, DatabaseUtils.longForQuery(mDatabase, query, null)); 434 assertEquals(35, DatabaseUtils.longForQuery(mDatabase, query, args)); 437 DatabaseUtils.longForQuery(mDatabase, query, args); 445 assertEquals(2, DatabaseUtils.longForQuery(statement, null)); 450 assertEquals(35, DatabaseUtils.longForQuery(statement, args)); 454 DatabaseUtils.longForQuery(statement, args);
|
/frameworks/base/core/java/android/database/ |
DatabaseUtils.java | 790 return longForQuery(db, "select count(*) from " + table + s, 802 long isEmpty = longForQuery(db, "select exists(select 1 from " + table + ")", null); 810 public static long longForQuery(SQLiteDatabase db, String query, String[] selectionArgs) { 813 return longForQuery(prog, selectionArgs); 823 public static long longForQuery(SQLiteStatement prog, String[] selectionArgs) { [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteDatabase.java | [all...] |
/packages/apps/KeyChain/src/com/android/keychain/ |
KeyChainService.java | 222 final long numMatches = DatabaseUtils.longForQuery(db, SELECTION_COUNT_OF_MATCHING_GRANTS,
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForGroupMembership.java | 118 .longForQuery(db, QUERY_COUNT_FAVORITES_GROUP_MEMBERSHIPS_BY_RAW_CONTACT_ID,
|
ContactsDatabaseHelper.java | [all...] |
ContactsProvider2.java | [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarDatabaseHelper.java | 355 long version = DatabaseUtils.longForQuery(db, [all...] |
CalendarProvider2.java | [all...] |
/packages/apps/Dialer/src/com/android/dialer/database/ |
DialerDatabaseHelper.java | 580 return (int)DatabaseUtils.longForQuery(db, "SELECT COUNT(1) FROM " + Tables.PREFIX_TABLE, [all...] |
/frameworks/base/services/java/com/android/server/accounts/ |
AccountManagerService.java | 696 long numMatches = DatabaseUtils.longForQuery(db, [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
ContactAggregator.java | [all...] |
/packages/apps/Email/src/com/android/email/provider/ |
EmailProvider.java | 501 if (DatabaseUtils.longForQuery(mainDatabase, [all...] |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/4/ |
android.jar | |
/prebuilts/sdk/6/ |
android.jar | |
/prebuilts/sdk/9/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |