Home
last modified time | relevance | path

Searched defs:dao (Results 1 – 25 of 38) sorted by relevance

12

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentWorker.java180 AppSearchConsentDao dao = in setConsent() local
202 AppSearchAppConsentDao dao = in getAppsWithConsent() local
240 AppSearchAppConsentDao dao = in addAppWithConsent() local
290 AppSearchAppConsentDao dao = in removeAppWithConsent() local
341 AppSearchNotificationDao dao = in recordNotificationDisplayed() local
359 AppSearchNotificationDao dao = in recordGaUxNotificationDisplayed() local
392 AppSearchInteractionsDao dao = in setCurrentPrivacySandboxFeature() local
428 AppSearchInteractionsDao dao = in recordUserManualInteractionWithConsent() local
461 AppSearchTopicsConsentDao dao = in recordBlockedTopic() local
492 AppSearchTopicsConsentDao dao = in recordUnblockedTopic() local
[all …]
DAppSearchUxStatesDao.java129 AppSearchUxStatesDao dao = in readData() local
333 AppSearchUxStatesDao dao = readData(searchSession, executor, userId, adServicesPackageName); in readIsAdIdEnabled() local
346 AppSearchUxStatesDao dao = readData(searchSession, executor, userId, adServicesPackageName); in readIsU18Account() local
359 AppSearchUxStatesDao dao = readData(searchSession, executor, userId, adServicesPackageName); in readIsEntryPointEnabled() local
372 AppSearchUxStatesDao dao = readData(searchSession, executor, userId, adServicesPackageName); in readIsAdultAccount() local
385 AppSearchUxStatesDao dao = readData(searchSession, executor, userId, adServicesPackageName); in readIsU18NotificationDisplayed() local
398 AppSearchUxStatesDao dao = readData(searchSession, executor, userId, adServicesPackageName); in readUx() local
416 AppSearchUxStatesDao dao = readData(searchSession, executor, userId, adServicesPackageName); in readEnrollmentChannel() local
433 AppSearchUxStatesDao dao = readData(searchSession, executor, userId, adServicesPackageName); in readIsMeasurementDataReset() local
446 AppSearchUxStatesDao dao = readData(searchSession, executor, userId, adServicesPackageName); in readIsPaDataReset() local
DAppSearchMeasurementRollbackWorker.java91 AppSearchMeasurementRollbackDao dao = in recordAdServicesDeletionOccurred() local
138 AppSearchMeasurementRollbackDao dao = in getAdServicesDeletionRollbackMetadata() local
DAppSearchNotificationDao.java195 AppSearchNotificationDao dao = in wasNotificationDisplayed() local
228 AppSearchNotificationDao dao = in wasGaUxNotificationDisplayed() local
DAppSearchInteractionsDao.java201 AppSearchInteractionsDao dao = in getPrivacySandboxFeatureType() local
234 AppSearchInteractionsDao dao = in getManualInteractions() local
DAppSearchTopicsConsentDao.java298 AppSearchTopicsConsentDao dao = in getBlockedTopics() local
314 private static List<Topic> convertToTopics(AppSearchTopicsConsentDao dao) { in convertToTopics()
/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchUxStatesDaoTest.java86 AppSearchUxStatesDao dao = in testToString() local
162 AppSearchUxStatesDao dao = Mockito.mock(AppSearchUxStatesDao.class); in isEntryPointEnabledTest_trueBit() local
203 AppSearchUxStatesDao dao = Mockito.mock(AppSearchUxStatesDao.class); in isAdultAccountTest_trueBit() local
244 AppSearchUxStatesDao dao = Mockito.mock(AppSearchUxStatesDao.class); in isU18AccountTest_trueBit() local
285 AppSearchUxStatesDao dao = Mockito.mock(AppSearchUxStatesDao.class); in isAdIdEnabledTest_trueBit() local
326 AppSearchUxStatesDao dao = Mockito.mock(AppSearchUxStatesDao.class); in wasU18NotificationDisplayedTest_trueBit() local
367 AppSearchUxStatesDao dao = Mockito.mock(AppSearchUxStatesDao.class); in getUxTest_allUxs() local
401 AppSearchUxStatesDao dao = Mockito.mock(AppSearchUxStatesDao.class); in getEnrollmentChannelTest_allUxsAllChannels() local
438 AppSearchUxStatesDao dao = Mockito.mock(AppSearchUxStatesDao.class); in readIsMeasurementDataResetTest_trueBit() local
479 AppSearchUxStatesDao dao = Mockito.mock(AppSearchUxStatesDao.class); in readIsPaDataResetTest_trueBit() local
DAppSearchTopicsConsentDaoTest.java89 AppSearchTopicsConsentDao dao = in testToString_null() local
106 AppSearchTopicsConsentDao dao = in testToString() local
150 AppSearchTopicsConsentDao dao = in testAddTopic_null() local
166 AppSearchTopicsConsentDao dao = in testAddTopic() local
187 AppSearchTopicsConsentDao dao = in testRemoveTopic_notExists() local
204 AppSearchTopicsConsentDao dao = in testRemoveTopic() local
236 AppSearchTopicsConsentDao dao = in testGetBlockedTopics() local
DAppSearchMeasurementRollbackWorkerTest.java161 Pair<Long, String> dao = in testGetAdServicesDeletionApexVersion_documentFound() local
185 Pair<Long, String> dao = in testGetAdServicesDeletionApexVersion_documentNotFound() local
204 AppSearchMeasurementRollbackDao dao = mock(AppSearchMeasurementRollbackDao.class); in testRecordAdServicesDeletionOccurred() local
221 AppSearchMeasurementRollbackDao dao = mock(AppSearchMeasurementRollbackDao.class); in testRecordAdServicesDeletionOccurred_throwsUnchecked() local
242 AppSearchMeasurementRollbackDao dao = in testCreateAppSearchMeasurementRollbackDao() local
DAppSearchDaoTest.java129 AppSearchConsentDao dao = new AppSearchConsentDao(ID, ID, NAMESPACE, API_TYPE, CONSENT); in testIterateSearchResults() local
176 AppSearchDao dao = in testReadConsentData_emptyQuery() local
201 AppSearchConsentDao dao = new AppSearchConsentDao(ID, ID, NAMESPACE, API_TYPE, CONSENT); in testReadConsentData() local
249 AppSearchDao dao = in testReadAppSearchData_emptyQuery() local
274 AppSearchConsentDao dao = new AppSearchConsentDao(ID, ID, NAMESPACE, API_TYPE, CONSENT); in testReadAppSearchData() local
316 AppSearchConsentDao dao = new AppSearchConsentDao(ID, ID, NAMESPACE, API_TYPE, CONSENT); in testWriteConsentData_failure() local
354 AppSearchConsentDao dao = new AppSearchConsentDao(ID, ID, NAMESPACE, API_TYPE, CONSENT); in testWriteConsentData() local
380 AppSearchConsentDao dao = new AppSearchConsentDao(ID, ID, NAMESPACE, API_TYPE, CONSENT); in testWriteConsentData_timeout() local
DAppSearchNotificationDaoTest.java83 AppSearchNotificationDao dao = in testToString() local
134 AppSearchNotificationDao dao = Mockito.mock(AppSearchNotificationDao.class); in testWasNotificationDisplayed() local
174 AppSearchNotificationDao dao = Mockito.mock(AppSearchNotificationDao.class); in testWasGaUxNotificationDisplayed() local
DAppSearchConsentWorkerTest.java346 AppSearchAppConsentDao dao = Mockito.mock(AppSearchAppConsentDao.class); in testAddAppWithConsent_failure() local
364 AppSearchAppConsentDao dao = Mockito.mock(AppSearchAppConsentDao.class); in testAddAppWithConsent() local
405 AppSearchAppConsentDao dao = Mockito.mock(AppSearchAppConsentDao.class); in testRemoveAppWithConsent_failure() local
428 AppSearchAppConsentDao dao = Mockito.mock(AppSearchAppConsentDao.class); in testRemoveAppWithConsent() local
773 AppSearchTopicsConsentDao dao = Mockito.mock(AppSearchTopicsConsentDao.class); in testRecordBlockedTopic() local
789 AppSearchTopicsConsentDao dao = Mockito.mock(AppSearchTopicsConsentDao.class); in testRecordUnblockedTopic_failure() local
825 AppSearchTopicsConsentDao dao = Mockito.mock(AppSearchTopicsConsentDao.class); in testRecordUnblockedTopic() local
969 AppSearchUxStatesDao dao = Mockito.mock(AppSearchUxStatesDao.class); in setAdIdEnabledTest_success() local
1029 AppSearchUxStatesDao dao = Mockito.mock(AppSearchUxStatesDao.class); in setU18AccountTest_success() local
1094 AppSearchUxStatesDao dao = Mockito.mock(AppSearchUxStatesDao.class); in setEntryPointEnabledTest_success() local
[all …]
DAppSearchInteractionsDaoTest.java87 AppSearchInteractionsDao dao = in testToString() local
148 AppSearchInteractionsDao dao = Mockito.mock(AppSearchInteractionsDao.class); in testGetPrivacySandboxFeatureType() local
177 AppSearchInteractionsDao dao = Mockito.mock(AppSearchInteractionsDao.class); in testGetManualInteractions() local
DAppSearchConsentDaoTest.java86 AppSearchConsentDao dao = new AppSearchConsentDao(ID, ID, NAMESPACE, API_TYPE, CONSENT); in testToString() local
136 AppSearchConsentDao dao = Mockito.mock(AppSearchConsentDao.class); in testReadConsentData() local
DAppSearchAppConsentDaoTest.java88 AppSearchAppConsentDao dao = in testToString() local
155 AppSearchAppConsentDao dao = Mockito.mock(AppSearchAppConsentDao.class); in testReadConsentData() local
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/bugreport/
DLogUtils.java73 final BatteryStateDao dao = BatteryStateDatabase.getInstance(context).batteryStateDao(); in dumpBatteryUsageDatabaseHist() local
97 final BatteryStateDao dao = BatteryStateDatabase.getInstance(context).batteryStateDao(); in dumpBatteryStateDatabaseHist() local
105 final AppUsageEventDao dao = BatteryStateDatabase.getInstance(context).appUsageEventDao(); in dumpAppUsageDatabaseHist() local
113 final BatteryUsageSlotDao dao = in dumpBatteryUsageSlotDatabaseHist() local
128 final BatteryEventDao dao = BatteryStateDatabase.getInstance(context).batteryEventDao(); in dumpBatteryEventDatabaseHist() local
180 final BatteryEventDao dao = BatteryStateDatabase.getInstance(context).batteryEventDao(); in getLastFullChargeTimestamp() local
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/
DDebugReportApi.java164 IMeasurementDao dao, in scheduleSourceSuccessDebugReport()
187 Source source, String limit, IMeasurementDao dao) { in scheduleSourceDestinationLimitDebugReport()
194 Source source, String limit, IMeasurementDao dao) { in scheduleSourceDestinationRateLimitDebugReport()
202 IMeasurementDao dao, in scheduleSourceNoisedDebugReport()
225 Source source, String limit, IMeasurementDao dao) { in scheduleSourceStorageLimitDebugReport()
248 Source source, IMeasurementDao dao) { in scheduleSourceFlexibleEventReportApiDebugReport()
271 public void scheduleSourceUnknownErrorDebugReport(Source source, IMeasurementDao dao) { in scheduleSourceUnknownErrorDebugReport()
297 Trigger trigger, IMeasurementDao dao, String type) throws DatastoreException { in scheduleTriggerNoMatchingSourceDebugReport()
324 IMeasurementDao dao, in scheduleTriggerDebugReport()
356 IMeasurementDao dao, in scheduleTriggerDebugReportWithAllFields()
[all …]
DEventReportingJobHandler.java169 (dao) -> { in performScheduledPendingReportsInWindow() argument
320 private void updateAppReportHistory(EventReport eventReport, IMeasurementDao dao) in updateAppReportHistory()
DAggregateReportingJobHandler.java179 (dao) -> { in performScheduledPendingReportsInWindow() argument
355 private void updateAppReportHistory(AggregateReport aggregateReport, IMeasurementDao dao) in updateAppReportHistory()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncRegistrationQueueRunner.java238 @NonNull Source source, IMeasurementDao dao, Flags flags) throws DatastoreException { in isNavigationOriginAlreadyRegisteredForRegistration()
289 Source source, AsyncRegistration asyncRegistration, IMeasurementDao dao) in storeSource()
367 public void storeTrigger(Trigger trigger, IMeasurementDao dao) throws DatastoreException { in storeTrigger()
389 IMeasurementDao dao, in isSourceAllowedToInsert()
540 IMeasurementDao dao, in maybeDeleteSourcesForLruDestination()
627 IMeasurementDao dao) in sourceIsWithinTimeBasedDestinationLimits()
696 IMeasurementDao dao) in isDestinationWithinBounds()
762 static boolean isTriggerAllowedToInsert(IMeasurementDao dao, Trigger trigger) { in isTriggerAllowedToInsert()
829 Source source, IMeasurementDao dao, Map<String, String> additionalDebugReportParams) in insertSourceFromTransaction()
874 private String insertSource(Source source, IMeasurementDao dao) throws DatastoreException { in insertSource()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/deletion/
DMeasurementDataDeleter.java125 private boolean delete(@NonNull IMeasurementDao dao, @NonNull DeletionParam deletionParam) in delete()
235 void resetAggregateContributions( in resetAggregateContributions()
264 void resetDedupKeys(@NonNull IMeasurementDao dao, @NonNull List<EventReport> eventReports) in resetDedupKeys()
303 void resetAggregateReportDedupKeys( in resetAggregateReportDedupKeys()
/packages/modules/AdServices/adservices/tests/cts/hosttests/app/src/com/android/adservices/cts/
DAppSearchWriterActivity.java101 AppSearchNotificationDao dao = in recordGaUxNotificationDisplayed() local
119 AppSearchConsentDao dao = in setConsent() local
135 AppSearchTopicsConsentDao dao = in setBlockedTopics() local
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/data/topics/
DTopicsDbHelperTest.java49 TopicsDbHelper dao = in testDump() local
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/download/
DOnDevicePersonalizationDataProcessingAsyncCallableTests.java163 OnDevicePersonalizationVendorDataDao dao = in testRun() local
223 OnDevicePersonalizationVendorDataDao dao = in testRunOldDataDownloaded() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DBatteryTestUtils.java152 BatteryStateDao dao = BatteryStateDatabase.getInstance(context).batteryStateDao(); in insertDataToBatteryStateTable() local
179 AppUsageEventDao dao = BatteryStateDatabase.getInstance(context).appUsageEventDao(); in insertDataToAppUsageEventTable() local

12