Searched refs:longForQuery (Results 1 – 13 of 13) sorted by relevance
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | AbstractContactsProvider.java | 473 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()
|
D | CallLogDatabaseHelper.java | 314 return DatabaseUtils.longForQuery(db, in tableExists()
|
D | DataRowHandlerForGroupMembership.java | 117 .longForQuery(db, QUERY_COUNT_FAVORITES_GROUP_MEMBERSHIPS_BY_RAW_CONTACT_ID, in hasFavoritesGroupMembership()
|
D | ContactsDatabaseHelper.java | 3210 mMimeType = DatabaseUtils.longForQuery(db, in upgradeStructuredNamesToVersion205() 4716 return DatabaseUtils.longForQuery(db, in lookupMimeTypeId() 5299 boolean newVisibility = DatabaseUtils.longForQuery(db, in updateContactVisible()
|
D | ContactsProvider2.java | 4638 boolean starred = 0 != DatabaseUtils.longForQuery(db, in updateRawContact()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | CallLogMigrationTest.java | 71 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/ |
D | ContactAggregator.java | 324 if (DatabaseUtils.longForQuery(db, buildIdentityMatchingSql(rid, ridsInOtherAccts, in canJoinIntoContact() 326 DatabaseUtils.longForQuery(db, buildIdentityMatchingSql(rid, ridsInOtherAccts, in canJoinIntoContact()
|
D | AbstractContactAggregator.java | 815 return DatabaseUtils.longForQuery(db, query, null) > 0; in isFirstColumnGreaterThanZero()
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainService.java | 383 final long numMatches = DatabaseUtils.longForQuery(db, SELECTION_COUNT_OF_MATCHING_GRANTS, in hasGrantInternal()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarDatabaseHelper.java | 355 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()
|
D | CalendarProvider2.java | 3673 long count = DatabaseUtils.longForQuery(mDb, SQL_SELECT_COUNT_FOR_SYNC_ID, in doesEventExistForSyncId()
|
/packages/apps/Dialer/src/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 716 return (int)DatabaseUtils.longForQuery(db, "SELECT COUNT(1) FROM " + Tables.PREFIX_TABLE, in countPrefixTableRows()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | EmailProvider.java | 555 if (DatabaseUtils.longForQuery(mainDatabase, in restoreIfNeeded()
|