Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DAbstractContactsProvider.java454 pw.print(longForQuery(db, NUM_VISIBLE_CONTACTS_QUERY)); in dump()
458 pw.print(longForQuery(db, NUM_INVISIBLE_CONTACTS_QUERY)); in dump()
462 pw.print(longForQuery(db, MAX_RAW_CONTACTS_PER_CONTACT)); in dump()
549 private static long longForQuery(SQLiteDatabase db, String query) { in longForQuery() method in AbstractContactsProvider
550 return DatabaseUtils.longForQuery(db, query, null); in longForQuery()
DDataRowHandlerForGroupMembership.java118 .longForQuery(db, QUERY_COUNT_FAVORITES_GROUP_MEMBERSHIPS_BY_RAW_CONTACT_ID, in hasFavoritesGroupMembership()
DCallLogDatabaseHelper.java536 return DatabaseUtils.longForQuery(db, in tableExists()
DContactsDatabaseHelper.java4073 boolean newVisibility = DatabaseUtils.longForQuery(db, in updateContactVisible()
DContactsProvider2.java4605 boolean starred = 0 != DatabaseUtils.longForQuery(db, in updateRawContact()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogMigrationTest.java70 assertEquals(3, DatabaseUtils.longForQuery(db, "select count(*) from " + in testMigration()
73 assertEquals(2, DatabaseUtils.longForQuery(db, "select count(*) from " + in testMigration()
/packages/apps/KeyChain/src/com/android/keychain/internal/
DGrantsDatabase.java125 DatabaseUtils.longForQuery( in hasEntryInUserSelectableTable()
159 DatabaseUtils.longForQuery( in hasGrantInternal()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java324 if (DatabaseUtils.longForQuery(db, buildIdentityMatchingSql(rid, ridsInOtherAccts, in canJoinIntoContact()
326 DatabaseUtils.longForQuery(db, buildIdentityMatchingSql(rid, ridsInOtherAccts, in canJoinIntoContact()
DAbstractContactAggregator.java816 return DatabaseUtils.longForQuery(db, query, null) > 0; in isFirstColumnGreaterThanZero()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java355 long version = DatabaseUtils.longForQuery(db, in upgradeSyncState()
3377 final long canPartiallyUpdate = DatabaseUtils.longForQuery(db, "SELECT " in duplicateEvent()
3396 final long newId = DatabaseUtils.longForQuery( in duplicateEvent()
DCalendarProvider2.java3913 long count = DatabaseUtils.longForQuery(mDb, SQL_SELECT_COUNT_FOR_SYNC_ID, in doesEventExistForSyncId()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java1004 int max = (int) DatabaseUtils.longForQuery(db, in getMaxId()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java556 if (DatabaseUtils.longForQuery(mainDatabase, in restoreIfNeeded()