/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | DebugReportSenderWorkerTest.java | 67 @Mock private AdSelectionDebugReportDao mAdSelectionDebugReportDao; field in DebugReportSenderWorkerTest 81 mAdSelectionDebugReportDao, mHttpsClient, mFlags, mClockMock); in setup() 93 mAdSelectionDebugReportDao, null, mFlags, mClockMock)); in testNullParamsInConstructor() 98 mAdSelectionDebugReportDao, mHttpsClient, null, mClockMock)); in testNullParamsInConstructor() 103 mAdSelectionDebugReportDao, mHttpsClient, mFlags, null)); in testNullParamsInConstructor() 112 when(mAdSelectionDebugReportDao.getDebugReportsBeforeTime(any(Instant.class), anyInt())) in testRunDebugReportSenderSuccess() 115 .when(mAdSelectionDebugReportDao) in testRunDebugReportSenderSuccess() 121 mAdSelectionDebugReportDao, in testRunDebugReportSenderSuccess() 127 mAdSelectionDebugReportDao, in testRunDebugReportSenderSuccess() 139 when(mAdSelectionDebugReportDao.getDebugReportsBeforeTime(any(Instant.class), anyInt())) in testRunDebugReportSenderPartialFailureDoesNotBreakOverallSuccess() [all …]
|
D | DebugReportSenderStrategyBatchImplTest.java | 51 @Mock private AdSelectionDebugReportDao mAdSelectionDebugReportDao; field in DebugReportSenderStrategyBatchImplTest 62 .when(mAdSelectionDebugReportDao) in setUp() 73 CONTEXT, mAdSelectionDebugReportDao, DEV_CONTEXT); in setUp() 89 null, mAdSelectionDebugReportDao, DEV_CONTEXT)); in testConstructorWithInvalidParamsThrowsException() 97 CONTEXT, mAdSelectionDebugReportDao, null)); in testConstructorWithInvalidParamsThrowsException() 132 ExtendedMockito.verify(mAdSelectionDebugReportDao, times(1)) in testSend_withSingleReport_allRequestsAreSuccessful() 146 ExtendedMockito.verify(mAdSelectionDebugReportDao, times(1)) in testSend_withMultipleReports_allRequestsAreSuccessful() 173 ExtendedMockito.verify(mAdSelectionDebugReportDao, never()) in testSend_withNoReports_doesNotScheduleJob()
|
D | AdSelectionServiceImplTest.java | 321 @Mock private AdSelectionDebugReportDao mAdSelectionDebugReportDao; field in AdSelectionServiceImplTest 536 mAdSelectionDebugReportDao, in testReportImpressionSuccessWithRegisterAdBeaconDisabled() 664 mAdSelectionDebugReportDao, in testReportImpressionSuccessCallbackThrowsErrorAuctionServerEnabled() 792 mAdSelectionDebugReportDao, in testReportImpressionFailureCallbackThrowsErrorAuctionServerEnabled() 913 mAdSelectionDebugReportDao, in testReportImpressionSuccessCallbackThrowsErrorAuctionServerDisabled() 1041 mAdSelectionDebugReportDao, in testReportImpressionFailureCallbackThrowsErrorAuctionServerDisabled() 1161 mAdSelectionDebugReportDao, in testReportImpressionSuccessfullyReportsAdCost() 1297 mAdSelectionDebugReportDao, in testReportImpressionSuccessfullyReportsDataVersionHeader() 1434 mAdSelectionDebugReportDao, in testReportImpressionSuccessfullyReportsSellerDataVersionHeader() 1559 mAdSelectionDebugReportDao, in testReportImpressionSuccessWithRegisterAdBeaconEnabled() [all …]
|
D | FrequencyCapFilteringE2ETest.java | 217 @Mock private AdSelectionDebugReportDao mAdSelectionDebugReportDao; field in FrequencyCapFilteringE2ETest 311 mAdSelectionDebugReportDao, in setup() 479 mAdSelectionDebugReportDao, in testUpdateHistogramDisabledFeatureFlagNotifiesError() 556 mAdSelectionDebugReportDao, in testUpdateHistogramExceedingRateLimitNotifiesError() 812 mAdSelectionDebugReportDao, in testUpdateHistogramBeyondMaxTotalEventCountDoesNotFilterAds() 933 mAdSelectionDebugReportDao, in testUpdateHistogramBeyondMaxPerBuyerEventCountDoesNotFilterAds()
|
D | DebugReportingTest.java | 60 @Mock private AdSelectionDebugReportDao mAdSelectionDebugReportDao; field in DebugReportingTest 208 mAdSelectionDebugReportDao, in initDebugReporting()
|
D | AdSelectionE2ETest.java | 657 private AdSelectionDebugReportDao mAdSelectionDebugReportDao; field in AdSelectionE2ETest 708 mAdSelectionDebugReportDao = in setUp() 759 mAdSelectionDebugReportDao, in setUp() 1015 mAdSelectionDebugReportDao, in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingEnabled() 1147 mAdSelectionDebugReportDao, in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagEnabled() 1298 mAdSelectionDebugReportDao, in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagDisabled() 1445 mAdSelectionDebugReportDao, in testRunAdSelectionSuccess_preV3BiddingLogicWinnerWithoutBuyerDataVersionHeader() 1573 mAdSelectionDebugReportDao, in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingDisabled() 1797 mAdSelectionDebugReportDao, in testRunAdSelectionSuccess_prebuiltFeatureDisabled_failure() 1901 mAdSelectionDebugReportDao, in testRunAdSelectionSuccess_flagToPreV3_preV3BiddingLogic() [all …]
|
D | AdSelectionFailureE2ETest.java | 242 private AdSelectionDebugReportDao mAdSelectionDebugReportDao; field in AdSelectionFailureE2ETest 278 mAdSelectionDebugReportDao = in setUp() 444 mAdSelectionDebugReportDao, in testRunAdSelection_webViewNotInstalled_failsGracefully() 535 mAdSelectionDebugReportDao, in testReportImpression_webViewNotInstalled_failsGracefully()
|
D | AdSelectionFromOutcomesE2ETest.java | 243 @Mock private AdSelectionDebugReportDao mAdSelectionDebugReportDao; field in AdSelectionFromOutcomesE2ETest 341 mAdSelectionDebugReportDao, in setUp() 506 mAdSelectionDebugReportDao, in testSelectAdsFromOutcomesPickHighestSuccessDifferentTables() 589 mAdSelectionDebugReportDao, in testSelectAdsFromOutcomesPickHighestSuccessUnifiedTables()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | AdSelectionDebugReportDaoTest.java | 50 private AdSelectionDebugReportDao mAdSelectionDebugReportDao; field in AdSelectionDebugReportDaoTest 57 mAdSelectionDebugReportDao = in setup() 65 mAdSelectionDebugReportDao.persistAdSelectionDebugReporting(AD_SELECTION_DEBUG_REPORT_LIST); in testPersistAdSelectionDebugReporting() 72 mAdSelectionDebugReportDao.persistAdSelectionDebugReporting( in testPersistAdSelectionDebugReportingHandlesDuplicateEntries() 74 mAdSelectionDebugReportDao.persistAdSelectionDebugReporting( in testPersistAdSelectionDebugReportingHandlesDuplicateEntries() 77 mAdSelectionDebugReportDao.getDebugReportsBeforeTime(FIXED_NOW, 1); in testPersistAdSelectionDebugReportingHandlesDuplicateEntries() 86 mAdSelectionDebugReportDao.persistAdSelectionDebugReporting(AD_SELECTION_DEBUG_REPORT_LIST); in testGetDebugReportsBeforeTime() 89 mAdSelectionDebugReportDao.getDebugReportsBeforeTime(FIXED_NOW, 1); in testGetDebugReportsBeforeTime() 115 mAdSelectionDebugReportDao.persistAdSelectionDebugReporting( in testDeleteDebugReportsBeforeTime() 119 mAdSelectionDebugReportDao.getDebugReportsBeforeTime(FIXED_NEXT_ONE_DAY, 1000); in testDeleteDebugReportsBeforeTime() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | DebugReportingEnabled.java | 38 private final AdSelectionDebugReportDao mAdSelectionDebugReportDao; field in DebugReportingEnabled 49 mAdSelectionDebugReportDao = adSelectionDebugReportDao; in DebugReportingEnabled() 63 mContext, mAdSelectionDebugReportDao, mDevContext); in getSenderStrategy()
|
D | DebugReportSenderStrategyBatchImpl.java | 51 @NonNull private final AdSelectionDebugReportDao mAdSelectionDebugReportDao; field in DebugReportSenderStrategyBatchImpl 63 mAdSelectionDebugReportDao = adSelectionDebugReportDao; in DebugReportSenderStrategyBatchImpl() 102 mAdSelectionDebugReportDao.persistAdSelectionDebugReporting(adSelectionDebugReports); in flush()
|
D | DebugReportSenderWorker.java | 55 @NonNull private final AdSelectionDebugReportDao mAdSelectionDebugReportDao; field in DebugReportSenderWorker 73 mAdSelectionDebugReportDao = adSelectionDebugReportDao; in DebugReportSenderWorker() 140 mAdSelectionDebugReportDao.getDebugReportsBeforeTime( in getDebugReports() 161 mAdSelectionDebugReportDao.deleteDebugReportsBeforeTime( in cleanupDebugReportsData()
|
D | AdSelectionServiceImpl.java | 176 @NonNull private final AdSelectionDebugReportDao mAdSelectionDebugReportDao; field in AdSelectionServiceImpl 274 mAdSelectionDebugReportDao = adSelectionDebugReportDao; in AdSelectionServiceImpl() 739 mAdSelectionDebugReportDao, in runAdSelection()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | FledgeMaintenanceTasksWorker.java | 51 @NonNull private final AdSelectionDebugReportDao mAdSelectionDebugReportDao; field in FledgeMaintenanceTasksWorker 88 mAdSelectionDebugReportDao = adSelectionDebugReportDao; in FledgeMaintenanceTasksWorker() 102 mAdSelectionDebugReportDao = in FledgeMaintenanceTasksWorker() 167 mAdSelectionDebugReportDao.deleteDebugReportsBeforeTime(expirationTime); in clearExpiredAdSelectionData()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | FledgeE2ETest.java | 355 private AdSelectionDebugReportDao mAdSelectionDebugReportDao; field in FledgeE2ETest 405 mAdSelectionDebugReportDao = in setUp() 1226 mAdSelectionDebugReportDao, in testFledgeFlowFailsWithMismatchedPackageNamesReportImpression() 1389 mAdSelectionDebugReportDao, in testFledgeFlowFailsWithWrongPackageNameReportInteraction() 2009 mAdSelectionDebugReportDao.getDebugReportsBeforeTime( in testFledgeFlowSuccessWithDebugReportingSentInBatch() 2104 mAdSelectionDebugReportDao.getDebugReportsBeforeTime( in testFledgeFlowSuccessWithDebugReportingDisabledWhenLatEnabled() 2172 mAdSelectionDebugReportDao.getDebugReportsBeforeTime( in testFledgeFlowSuccessWithDebugReportingDisabledWhenAdIdServiceDisabled() 3507 mAdSelectionDebugReportDao, in testFledgeFlowSuccessWithMockServer_ContextualAdsFlow() 4946 mAdSelectionDebugReportDao, in initClients()
|