Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseMigrationTest.java73 DatabaseUtils.longForQuery(sqLiteDatabase, in testPhoneAccountHandleMigrationMarkingOnUpgrade()
79 DatabaseUtils.longForQuery(sqLiteDatabase, in testPhoneAccountHandleMigrationMarkingOnUpgrade()
85 DatabaseUtils.longForQuery(sqLiteDatabase, in testPhoneAccountHandleMigrationMarkingOnUpgrade()
105 DatabaseUtils.longForQuery(sqLiteDatabase, in testPhoneAccountHandleMigrationOnCreate()
DCallLogProviderTest.java230 assertEquals(6, DatabaseUtils.longForQuery(sqLiteDatabase, "select count(*) from " + in testPhoneAccountHandleMigrationSimEvent()
252 countMigrated = DatabaseUtils.longForQuery(sqLiteDatabase, "select count(*) from " + in testPhoneAccountHandleMigrationSimEvent()
262 assertEquals(2, DatabaseUtils.longForQuery(sqLiteDatabase, "select count(*) from " + in testPhoneAccountHandleMigrationSimEvent()
304 assertEquals(6, DatabaseUtils.longForQuery(sqLiteDatabase, "select count(*) from " + in testPhoneAccountHandleMigrationInitiation()
321 assertEquals(2, DatabaseUtils.longForQuery(sqLiteDatabase, "select count(*) from " + in testPhoneAccountHandleMigrationInitiation()
DCallLogMigrationTest.java91 assertEquals(2, DatabaseUtils.longForQuery( in testPhoneAccountMigrationMarkingOnUpgrade()
DContactsProvider2Test.java275 DatabaseUtils.longForQuery(sqLiteDatabase, in testPhoneAccountHandleMigrationSimEvent()
290 DatabaseUtils.longForQuery(sqLiteDatabase, in testPhoneAccountHandleMigrationSimEvent()
297 DatabaseUtils.longForQuery(sqLiteDatabase, in testPhoneAccountHandleMigrationSimEvent()
334 assertEquals(6, DatabaseUtils.longForQuery(sqLiteDatabase, in testPhoneAccountHandleMigrationInitiation()
344 assertEquals(4, DatabaseUtils.longForQuery(sqLiteDatabase, in testPhoneAccountHandleMigrationInitiation()
349 assertEquals(2, DatabaseUtils.longForQuery(sqLiteDatabase, in testPhoneAccountHandleMigrationInitiation()
/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.java554 return DatabaseUtils.longForQuery(db, in tableExists()
DContactsDatabaseHelper.java4334 boolean newVisibility = DatabaseUtils.longForQuery(db, in updateContactVisible()
DContactsProvider2.java4959 boolean starred = 0 != DatabaseUtils.longForQuery(db, in updateRawContact()
/packages/apps/KeyChain/src/com/android/keychain/internal/
DGrantsDatabase.java135 DatabaseUtils.longForQuery( in hasEntryInUserSelectableTable()
169 DatabaseUtils.longForQuery( in hasGrantInternal()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DPhoneAccountHandleMigrationUtils.java129 long count = DatabaseUtils.longForQuery(sqLiteDatabase, "SELECT COUNT(DISTINCT " in updatePhoneAccountHandleMigrationPendingStatus()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/
DMeasurementDao.java591 return (int) DatabaseUtils.longForQuery(mSQLTransaction.getDatabase(), query, null); in getNumAggregateReportsPerSource()
1617 DatabaseUtils.longForQuery( in countDistinctReportingOriginsPerPublisherXDestInAttribution()
1662 DatabaseUtils.longForQuery( in countDistinctDestPerPubXEnrollmentInUnexpiredSourceInWindow()
1707 DatabaseUtils.longForQuery( in countDistinctDestinationsPerPubXEnrollmentInUnexpiredSource()
1753 DatabaseUtils.longForQuery( in countDistinctDestinationsPerPublisherPerRateLimitWindow()
1790 DatabaseUtils.longForQuery( in countSourcesPerPublisherXEnrollmentExcludingRegOrigin()
1854 DatabaseUtils.longForQuery( in countDistinctReportingOriginsPerPublisherXDestinationInSource()
3281 return DatabaseUtils.longForQuery(
3309 return DatabaseUtils.longForQuery(
3560 return (int) DatabaseUtils.longForQuery(mSQLTransaction.getDatabase(), query, null);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java322 if (DatabaseUtils.longForQuery(db, buildIdentityMatchingSql(rid, ridsInOtherAccts, in canJoinIntoContact()
324 DatabaseUtils.longForQuery(db, buildIdentityMatchingSql(rid, ridsInOtherAccts, in canJoinIntoContact()
DAbstractContactAggregator.java813 return DatabaseUtils.longForQuery(db, query, null) > 0; in isFirstColumnGreaterThanZero()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DDatabaseHelper.java522 max = (int) DatabaseUtils.longForQuery(prog, null); in getMaxId()
/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.java3936 long count = DatabaseUtils.longForQuery(mDb, SQL_SELECT_COUNT_FOR_SYNC_ID, in doesEventExistForSyncId()
/packages/providers/MediaProvider/src/com/android/providers/media/
DDatabaseHelper.java2383 return android.database.DatabaseUtils.longForQuery(db, in getGeneration()
2392 return android.database.DatabaseUtils.longForQuery(db, in getItemCount()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DMeasurementDaoTest.java5631 DatabaseUtils.longForQuery( in deleteExpiredRecords_skipDeliveredEventReportsOutsideWindow()
5652 DatabaseUtils.longForQuery( in deleteExpiredRecords_skipDeliveredEventReportsOutsideWindow()
5716 DatabaseUtils.longForQuery( in deleteExpiredRecords_VerboseDebugReportsWhileLimitingRetries()
5734 DatabaseUtils.longForQuery( in deleteExpiredRecords_VerboseDebugReportsWhileLimitingRetries()
5748 DatabaseUtils.longForQuery( in deleteExpiredRecords_VerboseDebugReportsWhileLimitingRetries()
5820 DatabaseUtils.longForQuery( in deleteExpiredRecords_VerboseDebugReportsWhileNotLimitingRetries()
5834 DatabaseUtils.longForQuery( in deleteExpiredRecords_VerboseDebugReportsWhileNotLimitingRetries()
5876 DatabaseUtils.longForQuery( in deleteExpiredRecords_RetryKeyValueData()
5892 DatabaseUtils.longForQuery( in deleteExpiredRecords_RetryKeyValueData()