Home
last modified time | relevance | path

Searched refs:mObliviousHttpEncryptorMock (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DGetAdSelectionDataRunnerTest.java179 @Mock private ObliviousHttpEncryptor mObliviousHttpEncryptorMock; field in GetAdSelectionDataRunnerTest
211 MultiCloudTestStrategyFactory.getDisabledTestStrategy(mObliviousHttpEncryptorMock); in setup()
214 mObliviousHttpEncryptorMock, ALLOW_LIST_COORDINATORS); in setup()
289 .when(mObliviousHttpEncryptorMock) in testRunner_getAdSelectionData_returnsSuccess()
292 MultiCloudTestStrategyFactory.getDisabledTestStrategy(mObliviousHttpEncryptorMock)); in testRunner_getAdSelectionData_returnsSuccess()
311 verify(mObliviousHttpEncryptorMock, times(1)) in testRunner_getAdSelectionData_returnsSuccess()
342 .when(mObliviousHttpEncryptorMock) in testRunner_getAdSelectionData_returnsSuccessGetAdSelectionDataPayloadMetricsEnabled()
358 mObliviousHttpEncryptorMock), in testRunner_getAdSelectionData_returnsSuccessGetAdSelectionDataPayloadMetricsEnabled()
392 verify(mObliviousHttpEncryptorMock, times(1)) in testRunner_getAdSelectionData_returnsSuccessGetAdSelectionDataPayloadMetricsEnabled()
444 .when(mObliviousHttpEncryptorMock) in testRunner_getAdSelectionData_success_MetricsEnabled_withDefaultSourceCoordinator()
[all …]
DPersistAdSelectionResultRunnerTest.java400 @Mock private ObliviousHttpEncryptor mObliviousHttpEncryptorMock; field in PersistAdSelectionResultRunnerTest
493 mObliviousHttpEncryptorMock, in setup()
532 .when(mObliviousHttpEncryptorMock) in testRunner_persistRemarketingResult_success()
557 verify(mObliviousHttpEncryptorMock, times(1)) in testRunner_persistRemarketingResult_success()
645 .when(mObliviousHttpEncryptorMock) in testRunner_persistAppInstallResult_success()
670 verify(mObliviousHttpEncryptorMock, times(1)) in testRunner_persistAppInstallResult_success()
761 .when(mObliviousHttpEncryptorMock) in testRunner_persistRemarketingResult_withInvalidSellerReportingUriSuccess()
786 verify(mObliviousHttpEncryptorMock, times(1)) in testRunner_persistRemarketingResult_withInvalidSellerReportingUriSuccess()
867 .when(mObliviousHttpEncryptorMock) in testRunner_persistAppInstallResult_withInvalidSellerReportingUriSuccess()
892 verify(mObliviousHttpEncryptorMock, times(1)) in testRunner_persistAppInstallResult_withInvalidSellerReportingUriSuccess()
[all …]
DAuctionServerE2ETest.java329 @Mock private ObliviousHttpEncryptor mObliviousHttpEncryptorMock; field in AuctionServerE2ETest
416 MultiCloudTestStrategyFactory.getDisabledTestStrategy(mObliviousHttpEncryptorMock); in setUp()
576 when(mObliviousHttpEncryptorMock.encryptBytes( in testGetAdSelectionData_withoutEncrypt_validRequest_success()
637 when(mObliviousHttpEncryptorMock.encryptBytes( in testAuctionServerFlow_withoutEncrypt_validRequest_BothFiltersEnabled()
642 when(mObliviousHttpEncryptorMock.decryptBytes(any(byte[].class), anyLong())) in testAuctionServerFlow_withoutEncrypt_validRequest_BothFiltersEnabled()
771 when(mObliviousHttpEncryptorMock.encryptBytes( in testAuctionServerFlow_withoutEncrypt_validRequest_AppInstallDisabled()
776 when(mObliviousHttpEncryptorMock.decryptBytes(any(byte[].class), anyLong())) in testAuctionServerFlow_withoutEncrypt_validRequest_AppInstallDisabled()
921 when(mObliviousHttpEncryptorMock.encryptBytes( in testAuctionServerFlow_withoutEncrypt_validRequest_FrequencyCapDisabled()
926 when(mObliviousHttpEncryptorMock.decryptBytes(any(byte[].class), anyLong())) in testAuctionServerFlow_withoutEncrypt_validRequest_FrequencyCapDisabled()
1087 when(mObliviousHttpEncryptorMock.encryptBytes( in testGetAdSelectionData_withoutEncrypt_validRequest_successPayloadMetricsEnabled()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/
DKAnonE2ETest.java307 @Mock private ObliviousHttpEncryptor mObliviousHttpEncryptorMock; field in KAnonE2ETest
417 MultiCloudTestStrategyFactory.getDisabledTestStrategy(mObliviousHttpEncryptorMock); in setUp()
1844 when(mObliviousHttpEncryptorMock.encryptBytes( in setupTestForPersistAdSelectionResult()
1849 when(mObliviousHttpEncryptorMock.decryptBytes(any(byte[].class), anyLong())) in setupTestForPersistAdSelectionResult()