Searched refs:mAdSelectionEntryDaoSpy (Results 1 – 5 of 5) sorted by relevance
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | PersistAdSelectionResultRunnerTest.java | 401 private AdSelectionEntryDao mAdSelectionEntryDaoSpy; field in PersistAdSelectionResultRunnerTest 442 mAdSelectionEntryDaoSpy = in setup() 494 mAdSelectionEntryDaoSpy, in setup() 539 mAdSelectionEntryDaoSpy.persistAdSelectionInitialization( in testRunner_persistRemarketingResult_success() 559 verify(mAdSelectionEntryDaoSpy, times(1)) in testRunner_persistRemarketingResult_success() 565 verify(mAdSelectionEntryDaoSpy, times(1)) in testRunner_persistRemarketingResult_success() 567 verify(mAdSelectionEntryDaoSpy, times(1)) in testRunner_persistRemarketingResult_success() 578 verify(mAdSelectionEntryDaoSpy, times(1)) in testRunner_persistRemarketingResult_success() 592 mAdSelectionEntryDaoSpy.getAdSelectionInitializationForId(AD_SELECTION_ID), in testRunner_persistRemarketingResult_success() 593 mAdSelectionEntryDaoSpy.getWinningCustomAudienceDataForId(AD_SELECTION_ID)); in testRunner_persistRemarketingResult_success() [all …]
|
D | OnDeviceAdSelectionRunnerTest.java | 296 @Spy private AdSelectionEntryDao mAdSelectionEntryDaoSpy; field in OnDeviceAdSelectionRunnerTest 347 mAdSelectionEntryDaoSpy = in setUp() 451 mAdSelectionEntryDaoSpy, in testRunAdSelectionSuccess() 535 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(AD_SELECTION_ID)); in testRunAdSelectionSuccess() 538 mAdSelectionEntryDaoSpy.getAdSelectionEntityById(AD_SELECTION_ID)); in testRunAdSelectionSuccess() 560 mAdSelectionEntryDaoSpy, in testRunAdSelectionSuccessWithShouldUseUnifiedTablesFlag() 657 assertTrue(mAdSelectionEntryDaoSpy.doesReportingComputationInfoExist(AD_SELECTION_ID)); in testRunAdSelectionSuccessWithShouldUseUnifiedTablesFlag() 658 verify(mAdSelectionEntryDaoSpy).insertDBReportingComputationInfo(expectedDBComputationInfo); in testRunAdSelectionSuccessWithShouldUseUnifiedTablesFlag() 659 verify(mAdSelectionEntryDaoSpy) in testRunAdSelectionSuccessWithShouldUseUnifiedTablesFlag() 662 verify(mAdSelectionEntryDaoSpy) in testRunAdSelectionSuccessWithShouldUseUnifiedTablesFlag() [all …]
|
D | AdSelectionE2ETest.java | 646 @Spy private AdSelectionEntryDao mAdSelectionEntryDaoSpy; field in AdSelectionE2ETest 672 mAdSelectionEntryDaoSpy = in setUp() 738 mAdSelectionEntryDaoSpy, in setUp() 960 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(resultSelectionId)); in testRunAdSelectionSuccess_preV3BiddingLogic() 994 mAdSelectionEntryDaoSpy, in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingEnabled() 1082 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(resultSelectionId)); in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingEnabled() 1089 mAdSelectionEntryDaoSpy in testRunAdSelectionSuccess_preV3BiddingLogicWithAdCostCpcBillingEnabled() 1126 mAdSelectionEntryDaoSpy, in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagEnabled() 1224 assertTrue(mAdSelectionEntryDaoSpy.doesAdSelectionIdExist(resultSelectionId)); in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagEnabled() 1231 mAdSelectionEntryDaoSpy in testRunAdSelectionSuccess_preV3BiddingLogicWithDataVersionHeaderFlagEnabled() [all …]
|
D | AdSelectionFromOutcomesE2ETest.java | 233 private AdSelectionEntryDao mAdSelectionEntryDaoSpy; field in AdSelectionFromOutcomesE2ETest 263 mAdSelectionEntryDaoSpy = in setUp() 320 mAdSelectionEntryDaoSpy, in setUp() 485 mAdSelectionEntryDaoSpy, in testSelectAdsFromOutcomesPickHighestSuccessDifferentTables() 568 mAdSelectionEntryDaoSpy, in testSelectAdsFromOutcomesPickHighestSuccessUnifiedTables() 604 verify(mAdSelectionEntryDaoSpy, times(1)).getWinningBidAndUriForIdsUnifiedTables(any()); in testSelectAdsFromOutcomesPickHighestSuccessUnifiedTables() 605 verify(mAdSelectionEntryDaoSpy, times(1)) in testSelectAdsFromOutcomesPickHighestSuccessUnifiedTables() 992 mAdSelectionEntryDaoSpy.persistAdSelection(dbAdSelectionEntry); in persistAdSelectionEntryDaoResults() 1012 mAdSelectionEntryDaoSpy.persistAdSelectionInitialization( in persistAdSelectionEntryInServerAuctionTable() 1039 mAdSelectionEntryDaoSpy.persistAdSelectionInitialization( in persistAdSelectionEntryInUnifiedTable() [all …]
|
D | GetAdSelectionDataRunnerTest.java | 178 @Spy private AdSelectionEntryDao mAdSelectionEntryDaoSpy; field in GetAdSelectionDataRunnerTest 229 mAdSelectionEntryDaoSpy = in setup() 313 verify(mAdSelectionEntryDaoSpy, times(1)) in testRunner_getAdSelectionData_returnsSuccess() 394 verify(mAdSelectionEntryDaoSpy, times(1)) in testRunner_getAdSelectionData_returnsSuccessGetAdSelectionDataPayloadMetricsEnabled() 497 verify(mAdSelectionEntryDaoSpy, times(1)) in testRunner_getAdSelectionData_success_MetricsEnabled_withDefaultSourceCoordinator() 604 verify(mAdSelectionEntryDaoSpy, times(1)) in testRunner_getAdSelectionData_returnsSuccessMetricsEnabled_withApiSourceCoordinator() 807 verify(mAdSelectionEntryDaoSpy, times(1)) in testRunner_getAdSelectionData_returnsSuccessWithExcessiveSizeFormatterVersion() 885 verifyZeroInteractions(mAdSelectionEntryDaoSpy); in testRunner_revokedUserConsent_returnsRandomResult() 923 verifyZeroInteractions(mAdSelectionEntryDaoSpy); in testRunner_revokedUserConsent_returnsRandomResultWithExcessiveSizeFormatterVersion() 1104 mAdSelectionEntryDaoSpy, in testRunner_getAdSelectionData_timeoutFailure() [all …]
|