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.java473 pw.print(longForQuery(db, NUM_VISIBLE_CONTACTS_QUERY)); in dump()
477 pw.print(longForQuery(db, NUM_INVISIBLE_CONTACTS_QUERY)); in dump()
481 pw.print(longForQuery(db, MAX_RAW_CONTACTS_PER_CONTACT)); in dump()
568 private static long longForQuery(SQLiteDatabase db, String query) { in longForQuery() method in AbstractContactsProvider
569 return DatabaseUtils.longForQuery(db, query, null); in longForQuery()
DCallLogDatabaseHelper.java314 return DatabaseUtils.longForQuery(db, in tableExists()
DDataRowHandlerForGroupMembership.java117 .longForQuery(db, QUERY_COUNT_FAVORITES_GROUP_MEMBERSHIPS_BY_RAW_CONTACT_ID, in hasFavoritesGroupMembership()
DContactsDatabaseHelper.java3210 mMimeType = DatabaseUtils.longForQuery(db, in upgradeStructuredNamesToVersion205()
4716 return DatabaseUtils.longForQuery(db, in lookupMimeTypeId()
5299 boolean newVisibility = DatabaseUtils.longForQuery(db, in updateContactVisible()
DContactsProvider2.java4638 boolean starred = 0 != DatabaseUtils.longForQuery(db, in updateRawContact()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogMigrationTest.java71 assertEquals(3, DatabaseUtils.longForQuery(db, "select count(*) from " + in testMigration()
74 assertEquals(2, DatabaseUtils.longForQuery(db, "select count(*) from " + in testMigration()
/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.java815 return DatabaseUtils.longForQuery(db, query, null) > 0; in isFirstColumnGreaterThanZero()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java383 final long numMatches = DatabaseUtils.longForQuery(db, SELECTION_COUNT_OF_MATCHING_GRANTS, in hasGrantInternal()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java355 long version = DatabaseUtils.longForQuery(db, in upgradeSyncState()
3371 final long canPartiallyUpdate = DatabaseUtils.longForQuery(db, "SELECT " in duplicateEvent()
3390 final long newId = DatabaseUtils.longForQuery( in duplicateEvent()
DCalendarProvider2.java3673 long count = DatabaseUtils.longForQuery(mDb, SQL_SELECT_COUNT_FOR_SYNC_ID, in doesEventExistForSyncId()
/packages/apps/Dialer/src/com/android/dialer/database/
DDialerDatabaseHelper.java716 return (int)DatabaseUtils.longForQuery(db, "SELECT COUNT(1) FROM " + Tables.PREFIX_TABLE, in countPrefixTableRows()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java555 if (DatabaseUtils.longForQuery(mainDatabase, in restoreIfNeeded()