/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...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
CallLogMigrationTest.java | 71 assertEquals(3, DatabaseUtils.longForQuery(db, "select count(*) from " + 74 assertEquals(2, DatabaseUtils.longForQuery(db, "select count(*) from " +
|
/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...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
AbstractContactsProvider.java | 473 pw.print(longForQuery(db, NUM_VISIBLE_CONTACTS_QUERY)); 477 pw.print(longForQuery(db, NUM_INVISIBLE_CONTACTS_QUERY)); 481 pw.print(longForQuery(db, MAX_RAW_CONTACTS_PER_CONTACT)); 568 private static long longForQuery(SQLiteDatabase db, String query) { 569 return DatabaseUtils.longForQuery(db, query, null);
|
CallLogDatabaseHelper.java | 328 return DatabaseUtils.longForQuery(db,
|
DataRowHandlerForGroupMembership.java | 117 .longForQuery(db, QUERY_COUNT_FAVORITES_GROUP_MEMBERSHIPS_BY_RAW_CONTACT_ID,
|
ContactsDatabaseHelper.java | [all...] |
ContactsProvider2.java | [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 | 810 return longForQuery(db, "select count(*) from " + table + s, 822 long isEmpty = longForQuery(db, "select exists(select 1 from " + table + ")", null); 830 public static long longForQuery(SQLiteDatabase db, String query, String[] selectionArgs) { 833 return longForQuery(prog, selectionArgs); 843 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 | 373 final long numMatches = DatabaseUtils.longForQuery(db, SELECTION_COUNT_OF_MATCHING_GRANTS,
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
ContactAggregator.java | 324 if (DatabaseUtils.longForQuery(db, buildIdentityMatchingSql(rid, ridsInOtherAccts, 326 DatabaseUtils.longForQuery(db, buildIdentityMatchingSql(rid, ridsInOtherAccts, [all...] |
AbstractContactAggregator.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 | 716 return (int)DatabaseUtils.longForQuery(db, "SELECT COUNT(1) FROM " + Tables.PREFIX_TABLE, [all...] |
/frameworks/base/services/core/java/com/android/server/accounts/ |
AccountManagerService.java | [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
EmailProvider.java | 555 if (DatabaseUtils.longForQuery(mainDatabase, [all...] |
/external/libgdx/backends/gdx-backend-moe/libs/ |
intel-moe-core.jar | |
/external/robolectric/v1/lib/main/ |
android.jar | |
/external/robolectric/v3/runtime/ |
android-all-4.1.2_r1-robolectric-0.jar | |
android-all-4.2.2_r1.2-robolectric-0.jar | |