/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/ |
D | VerboseDebugReportingJobServiceTest.java | 122 verify(mMockDatastoreManager, never()).runInTransactionWithResult(any()); in onStartJob_killSwitchOn() 155 verify(mMockDatastoreManager, times(1)).runInTransactionWithResult(any()); in onStartJob_killSwitchOff() 200 verify(mMockDatastoreManager, times(2)).runInTransactionWithResult(any()); in onStartJob_killSwitchOff_unlockingCheck() 228 verify(mMockDatastoreManager, never()).runInTransactionWithResult(any()); in onStartJob_shouldDisableJobTrue() 415 doReturn(Optional.empty()).when(mMockDatastoreManager).runInTransactionWithResult(any()); in runWithMocks()
|
D | DebugReportingJobServiceTest.java | 125 verify(mMockDatastoreManager, never()).runInTransactionWithResult(any()); in onStartJob_killSwitchOn() 159 verify(mMockDatastoreManager, times(2)).runInTransactionWithResult(any()); in onStartJob_killSwitchOff() 200 verify(mMockDatastoreManager, times(4)).runInTransactionWithResult(any()); in onStartJob_killSwitchOff_unlockingCheck() 226 verify(mMockDatastoreManager, never()).runInTransactionWithResult(any()); in onStartJob_shouldDisableJobTrue() 408 doReturn(Optional.empty()).when(mMockDatastoreManager).runInTransactionWithResult(any()); in runWithMocks()
|
D | ImmediateAggregateReportingJobServiceTest.java | 194 verify(mMockDatastoreManager, times(2)).runInTransactionWithResult(any()); in onStartJob_killSwitchOff_unlockingCheck() 460 verify(mMockDatastoreManager, never()).runInTransactionWithResult(any()); in onStartJob_killSwitchOn() 479 verify(mMockDatastoreManager, times(1)).runInTransactionWithResult(any()); in onStartJob_killSwitchOff() 502 verify(mMockDatastoreManager, never()).runInTransactionWithResult(any()); in onStartJob_shouldDisableJobTrue() 514 doReturn(Optional.empty()).when(mMockDatastoreManager).runInTransactionWithResult(any()); in runWithMocks()
|
D | EventFallbackReportingJobServiceTest.java | 209 verify(mMockDatastoreManager, times(2)).runInTransactionWithResult(any()); in onStartJob_killSwitchOff_unlockingCheck() 475 verify(mMockDatastoreManager, never()).runInTransactionWithResult(any()); in onStartJob_killSwitchOn() 496 verify(mMockDatastoreManager, times(1)).runInTransactionWithResult(any()); in onStartJob_killSwitchOff() 518 verify(mMockDatastoreManager, never()).runInTransactionWithResult(any()); in onStartJob_shouldDisableJobTrue() 526 doReturn(Optional.empty()).when(mMockDatastoreManager).runInTransactionWithResult(any()); in runWithMocks()
|
D | AggregateReportingJobServiceTest.java | 201 verify(mMockDatastoreManager, times(2)).runInTransactionWithResult(any()); in onStartJob_killSwitchOff_unlockingCheck() 461 verify(mMockDatastoreManager, never()).runInTransactionWithResult(any()); in onStartJob_killSwitchOn() 479 verify(mMockDatastoreManager, times(1)).runInTransactionWithResult(any()); in onStartJob_killSwitchOff() 501 verify(mMockDatastoreManager, never()).runInTransactionWithResult(any()); in onStartJob_shouldDisableJobTrue() 512 doReturn(Optional.empty()).when(mMockDatastoreManager).runInTransactionWithResult(any()); in runWithMocks()
|
D | EventReportingJobServiceTest.java | 199 verify(mMockDatastoreManager, times(2)).runInTransactionWithResult(any()); in onStartJob_killSwitchOff_unlockingCheck() 458 verify(mMockDatastoreManager, never()).runInTransactionWithResult(any()); in onStartJob_killSwitchOn() 479 verify(mMockDatastoreManager, times(1)).runInTransactionWithResult(any()); in onStartJob_killSwitchOff() 501 verify(mMockDatastoreManager, never()).runInTransactionWithResult(any()); in onStartJob_shouldDisableJobTrue() 509 doReturn(Optional.empty()).when(mMockDatastoreManager).runInTransactionWithResult(any()); in runWithMocks()
|
D | AggregateFallbackReportingJobServiceTest.java | 205 verify(mMockDatastoreManager, times(2)).runInTransactionWithResult(any()); in onStartJob_killSwitchOff_unlockingCheck() 476 verify(mMockDatastoreManager, never()).runInTransactionWithResult(any()); in onStartJob_killSwitchOn() 496 verify(mMockDatastoreManager, times(1)).runInTransactionWithResult(any()); in onStartJob_killSwitchOff() 520 verify(mMockDatastoreManager, never()).runInTransactionWithResult(any()); in onStartJob_shouldDisableJobTrue() 532 doReturn(Optional.empty()).when(mMockDatastoreManager).runInTransactionWithResult(any()); in runWithMocks()
|
D | ReportingJobServiceTest.java | 565 verify(mMockDatastoreManager, never()).runInTransactionWithResult(any()); in onStartJob_featureDisabled() 573 doReturn(Optional.empty()).when(mMockDatastoreManager).runInTransactionWithResult(any()); in onStartJob_featureEnabled() 602 doReturn(Optional.empty()).when(mMockDatastoreManager).runInTransactionWithResult(any()); in onStartJob_shouldDisableJobTrue()
|
D | DebugReportingFallbackJobServiceTest.java | 482 doReturn(Optional.empty()).when(mMockDatastoreManager).runInTransactionWithResult(any()); in runWithMocks()
|
D | VerboseDebugReportingFallbackJobServiceTest.java | 495 doReturn(Optional.empty()).when(mMockDatastoreManager).runInTransactionWithResult(any()); in runWithMocks()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/ |
D | AggregateEncryptionKeyManagerTest.java | 88 .when(mDatastoreManager).runInTransactionWithResult(any()); in getAggregateEncryptionKeys_hasKeysInDatastore_doesNotCallFetcher() 114 .when(mDatastoreManager).runInTransactionWithResult(any()); in getAggregateEncryptionKeys_fetcherFails_returnsEmptyList() 141 .when(mDatastoreManager).runInTransactionWithResult(any()); in getAggregateEncryptionKeys_localhostCoordinator_doesNotCacheKeys()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/ |
D | DatastoreManager.java | 89 public final <T> Optional<T> runInTransactionWithResult(ThrowingCheckedFunction<T> execute) { in runInTransactionWithResult() method in DatastoreManager 144 return runInTransactionWithResult((measurementDao) -> { in runInTransaction()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/ |
D | SQLDatastoreManagerTest.java | 85 () -> mSQLDatastoreManager.runInTransactionWithResult(mFunction)); in runInTransactionWithResult_throwsException_logsDbVersion() 111 mSQLDatastoreManager.runInTransactionWithResult(mFunction); in runInTransactionWithResult_throwsDataStoreExceptionExceptionDisable_logsDbVersion() 138 mSQLDatastoreManager.runInTransactionWithResult(mFunction); in runInTransactionWithResult_throwsDataStoreExceptionExceptionEnable_rethrows()
|
D | MeasurementDaoTest.java | 231 .runInTransactionWithResult( in testInsertSource() 278 .runInTransactionWithResult( in testInsertSource() 298 .runInTransactionWithResult( in testInsertSource_flexibleEventReport_equal() 345 .runInTransactionWithResult( in testInsertSource_flexibleEventReport_equal() 384 .runInTransactionWithResult( in testInsertSource_attributionScopeEnabled_success() 392 .runInTransactionWithResult( in testInsertSource_attributionScopeEnabled_success() 417 .runInTransactionWithResult( in testInsertSource_attributionScopeDisabled_doesNotInsertAttributionScopeRelatedData() 425 .runInTransactionWithResult( in testInsertSource_attributionScopeDisabled_doesNotInsertAttributionScopeRelatedData() 594 mDatastoreManager.runInTransactionWithResult( in testGetUninstalledAppNamesContainingData_withDataInSource() 620 mDatastoreManager.runInTransactionWithResult( in testGetUninstalledAppNamesContainingData_withDataInTrigger() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/ |
D | AttributionFallbackJobServiceTest.java | 211 verify(mMockDatastoreManager, times(2)).runInTransactionWithResult(any()); in onStartJob_killSwitchOff_unlockingCheck() 481 verify(mMockDatastoreManager, never()).runInTransactionWithResult(any()); in onStartJob_featureDisabled() 508 verify(mMockDatastoreManager, times(1)).runInTransactionWithResult(any()); in onStartJob_featureEnabled() 542 verify(mMockDatastoreManager, never()).runInTransactionWithResult(any()); in onStartJob_shouldDisableJobTrue() 551 doReturn(Optional.empty()).when(mMockDatastoreManager).runInTransactionWithResult(any()); in runWithMocks()
|
D | AttributionJobServiceTest.java | 642 verify(mMockDatastoreManager, never()).runInTransactionWithResult(any()); in onStartJob_killSwitchOn() 666 verify(mMockDatastoreManager, times(1)).runInTransactionWithResult(any()); in onStartJob_killSwitchOff() 690 verify(mMockDatastoreManager, never()).runInTransactionWithResult(any()); in onStartJob_shouldDisableJobTrue() 700 doReturn(Optional.empty()).when(mMockDatastoreManager).runInTransactionWithResult(any()); in runWithMocks()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/ |
D | ReportingJobService.java | 218 .runInTransactionWithResult( in getNextScheduledExecution() 231 return dataStoreManager.runInTransactionWithResult( in getLastReportTimeInBatch() 259 .runInTransactionWithResult(
|
D | EventReportingJobHandler.java | 125 mDatastoreManager.runInTransactionWithResult( in performScheduledPendingReportsInWindow() 195 mDatastoreManager.runInTransactionWithResult( in getAppPackageName() 213 mDatastoreManager.runInTransactionWithResult((dao) in performReport()
|
D | AggregateReportingJobHandler.java | 130 mDatastoreManager.runInTransactionWithResult( in performScheduledPendingReportsInWindow() 212 mDatastoreManager.runInTransactionWithResult( in getAppPackageName() 233 mDatastoreManager.runInTransactionWithResult((dao) in performReport()
|
D | DebugReportingJobHandler.java | 88 mDatastoreManager.runInTransactionWithResult(IMeasurementDao::getDebugReportIds); in performScheduledPendingReports() 139 mDatastoreManager.runInTransactionWithResult( in performReport()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/ |
D | AggregateEncryptionKeyManager.java | 84 mDatastoreManager.runInTransactionWithResult( in getAggregateEncryptionKeys()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | MeasurementImplTest.java | 572 doReturn(Optional.of(true)).when(mDatastoreManager).runInTransactionWithResult(any()); in testDeletePackageRecords_success_recordsDeletionInSystemServer() 620 doReturn(Optional.of(false)).when(mDatastoreManager).runInTransactionWithResult(any()); in testDeletePackageRecords_noDeletion_doesNotRecordDeletion() 729 doReturn(Optional.of(true)).when(mDatastoreManager).runInTransactionWithResult(any()); in testDeleteAllUninstalledMeasurementData_success_recordsDeletionInSystemServer() 799 .runInTransactionWithResult(any()); in testDeleteAllUninstalledMeasurementData_noDeletion_doesNotRecordDeletion()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/deletion/ |
D | MeasurementDataDeleter.java | 116 mDatastoreManager.runInTransactionWithResult( in deleteAppUninstalledData()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/ |
D | MeasurementImpl.java | 412 mDatastoreManager.runInTransactionWithResult( in deleteAllUninstalledMeasurementData()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/ |
D | AsyncRegistrationFallbackJobServiceTest.java | 504 doReturn(Optional.empty()).when(mMockDatastoreManager).runInTransactionWithResult(any()); in runWithMocks()
|