Home
last modified time | relevance | path

Searched refs:queryNumEntries (Results 1 – 21 of 21) sorted by relevance

/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/data/
DODPAuthorizationTokenDaoTest.java77 DatabaseUtils.queryNumEntries( in testInsertAuthToken_notExist_success()
87 DatabaseUtils.queryNumEntries( in testInsertAuthToken_notExist_success()
102 DatabaseUtils.queryNumEntries( in testInsertAuthToken_preExist_success()
175 DatabaseUtils.queryNumEntries( in testDeleteAuthToken_exist_success()
DFederatedComputeDbHelperTest.java95 assertThat(DatabaseUtils.queryNumEntries(db, FEDERATED_TRAINING_TASKS_TABLE)).isEqualTo(0); in onCreate()
96 assertThat(DatabaseUtils.queryNumEntries(db, ENCRYPTION_KEY_TABLE)).isEqualTo(0); in onCreate()
97 assertThat(DatabaseUtils.queryNumEntries(db, ODP_AUTHORIZATION_TOKEN_TABLE)).isEqualTo(0); in onCreate()
DFederatedTrainingTaskTest.java88 assertThat(DatabaseUtils.queryNumEntries(mDatabase, FEDERATED_TRAINING_TASKS_TABLE)) in readAndWrite()
104 assertThat(DatabaseUtils.queryNumEntries(mDatabase, FEDERATED_TRAINING_TASKS_TABLE)) in readAndWrite_onlyRequiredFields()
DFederatedComputeEncryptionKeyDaoTest.java84 assertThat(DatabaseUtils.queryNumEntries(db, ENCRYPTION_KEY_TABLE)).isEqualTo(2); in testInsertEncryptionKey_success()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/
DDeleteExpiredJobServiceTest.java146 DatabaseUtils.queryNumEntries( in deleteExpiredAuthToken_success()
169 DatabaseUtils.queryNumEntries( in deleteExpiredAuthToken_failure()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DProcessPendingMessagesAction.java329 sendingCnt = (int) db.queryNumEntries(DatabaseHelper.MESSAGES_TABLE, in findNextMessageToSend()
414 downloadingCnt = (int) db.queryNumEntries(DatabaseHelper.MESSAGES_TABLE, in findNextMessageToDownload()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseWrapper.java301 public long queryNumEntries(final String table, final String selection, in queryNumEntries() method in DatabaseWrapper
309 DatabaseUtils.queryNumEntries(mDatabase, table, selection, selectionArgs); in queryNumEntries()
DBugleDatabaseOperations.java503 final long count = dbWrapper.queryNumEntries(DatabaseHelper.MESSAGES_TABLE, in deleteConversation()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/
DDbHelper.java182 return DatabaseUtils.queryNumEntries( in hasV1MeasurementTables()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/
DDatabaseUpgradeHelper.java199 DatabaseUtils.queryNumEntries( in doesTableAlreadyExist()
DTransactionManager.java540 return DatabaseUtils.queryNumEntries(getReadableDb(), tableName); in getNumberOfEntriesInTheTable()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/enrollment/
DEnrollmentDaoTest.java302 DatabaseUtils.queryNumEntries( in testInitialization()
351 DatabaseUtils.queryNumEntries( in testDeleteAll()
374 DatabaseUtils.queryNumEntries( in testDeleteAll()
414 DatabaseUtils.queryNumEntries( in testOverwriteEnrollmentData()
422 DatabaseUtils.queryNumEntries( in testOverwriteEnrollmentData()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/
DMeasurementDbHelper.java196 return DatabaseUtils.queryNumEntries( in hasAllV6MeasurementTables()
DMeasurementDao.java1474 return DatabaseUtils.queryNumEntries( in getAttributionsPerRateLimitWindow()
1505 return DatabaseUtils.queryNumEntries( in getNumSourcesPerPublisher()
1515 return DatabaseUtils.queryNumEntries( in getNumTriggersPerDestination()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/shared/
DSharedDbHelper.java164 return DatabaseUtils.queryNumEntries( in hasAllTables()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/
DMobileDataDownloadTest.java851 return DatabaseUtils.queryNumEntries( in getNumEntriesInEncryptionKeysTable()
858 return DatabaseUtils.queryNumEntries( in getNumEntriesInEnrollmentTable()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DMeasurementDaoTest.java3004 assertEquals(2, DatabaseUtils.queryNumEntries(db, AttributionContract.TABLE)); in deleteSources_providedIds_deletesMatchingSourcesAndRelatedData()
3032 assertEquals(1, DatabaseUtils.queryNumEntries(db, SourceContract.TABLE)); in deleteSource_providedId_deletesMatchingXnaIgnoredSource()
3033 assertEquals(1, DatabaseUtils.queryNumEntries(db, XnaIgnoredSourcesContract.TABLE)); in deleteSource_providedId_deletesMatchingXnaIgnoredSource()
3039 assertEquals(0, DatabaseUtils.queryNumEntries(db, SourceContract.TABLE)); in deleteSource_providedId_deletesMatchingXnaIgnoredSource()
3040 assertEquals(0, DatabaseUtils.queryNumEntries(db, XnaIgnoredSourcesContract.TABLE)); in deleteSource_providedId_deletesMatchingXnaIgnoredSource()
3094 assertEquals(2, DatabaseUtils.queryNumEntries(db, AttributionContract.TABLE)); in deleteTriggers_providedIds_deletesMatchingTriggersAndRelatedData()
5176 DatabaseUtils.queryNumEntries(db, DebugReportContract.TABLE, /* selection */ null); in testDeleteDebugReport()
5183 count = DatabaseUtils.queryNumEntries(db, DebugReportContract.TABLE, /* selection */ null); in testDeleteDebugReport()
5251 DatabaseUtils.queryNumEntries(db, DebugReportContract.TABLE, /* selection */ null); in testGetDebugReportIds()
5284 DatabaseUtils.queryNumEntries(db, DebugReportContract.TABLE, /* selection */ null); in testGetDebugReportIdsWithRetryLimit()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogProvider.java1313 if (DatabaseUtils.queryNumEntries(db, Tables.CALLS, in copyEntriesFromCursor()
DContactsProvider2.java2046 long profileNum = DatabaseUtils.queryNumEntries(mProfileHelper.getReadableDatabase(), in updateProviderStatus()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/enrollment/
DEnrollmentDao.java1196 DatabaseUtils.queryNumEntries( in getEnrollmentRecordsCount()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java2647 return DatabaseUtils.queryNumEntries(mDb, Tables.EVENTS, Events._ID + "=?", in doesEventExist()