Home
last modified time | relevance | path

Searched refs:decryptBytes (Results 1 – 13 of 13) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/
DKAnonObliviousHttpEncryptorImplTest.java149 () -> mKAnonObliviousHttpEncryptor.decryptBytes(null, UNUSED_CONTEXT_ID)); in test_decryptBytes_invalidEncryptedBytes()
167 mKAnonObliviousHttpEncryptor.decryptBytes( in test_decryptBytes_noEncryptionContext_throwsException()
195 mKAnonObliviousHttpEncryptor.decryptBytes(encryptedBytes, UNUSED_CONTEXT_ID); in test_decryptBytes_success()
222 mKAnonObliviousHttpEncryptor.decryptBytes(encryptedBytes, UNUSED_CONTEXT_ID); in test_decryptBytes_success_withServerAuctionMediaTypeNoChange()
DObliviousHttpEncryptorImplTest.java162 NullPointerException.class, () -> mObliviousHttpEncryptor.decryptBytes(null, 1L)); in test_decryptBytes_invalidEncryptedBytes()
176 () -> mObliviousHttpEncryptor.decryptBytes(responseCipherTextBytes, 1L)); in test_decryptBytes_noEncryptionContext_throwsException()
204 mObliviousHttpEncryptor.decryptBytes(responseCipherTextBytes, 1L); in test_decryptBytes_success()
232 mObliviousHttpEncryptor.decryptBytes(responseCipherTextBytes, 1L); in test_decryptBytes_success_withServerAuctionMediaTypeChange()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DPersistAdSelectionResultRunnerTest.java533 .decryptBytes(CIPHER_TEXT_BYTES, AD_SELECTION_ID); in testRunner_persistRemarketingResult_success()
558 .decryptBytes(CIPHER_TEXT_BYTES, AD_SELECTION_ID); in testRunner_persistRemarketingResult_success()
646 .decryptBytes(CIPHER_TEXT_BYTES, AD_SELECTION_ID); in testRunner_persistAppInstallResult_success()
671 .decryptBytes(CIPHER_TEXT_BYTES, AD_SELECTION_ID); in testRunner_persistAppInstallResult_success()
762 .decryptBytes(CIPHER_TEXT_BYTES, AD_SELECTION_ID); in testRunner_persistRemarketingResult_withInvalidSellerReportingUriSuccess()
787 .decryptBytes(CIPHER_TEXT_BYTES, AD_SELECTION_ID); in testRunner_persistRemarketingResult_withInvalidSellerReportingUriSuccess()
868 .decryptBytes(CIPHER_TEXT_BYTES, AD_SELECTION_ID); in testRunner_persistAppInstallResult_withInvalidSellerReportingUriSuccess()
893 .decryptBytes(CIPHER_TEXT_BYTES, AD_SELECTION_ID); in testRunner_persistAppInstallResult_withInvalidSellerReportingUriSuccess()
974 .decryptBytes(CIPHER_TEXT_BYTES, AD_SELECTION_ID); in testRunner_persistRemarketingResult_withInvalidBuyerReportingUriSuccess()
999 .decryptBytes(CIPHER_TEXT_BYTES, AD_SELECTION_ID); in testRunner_persistRemarketingResult_withInvalidBuyerReportingUriSuccess()
[all …]
DObliviousHttpEncryptorWithSeedImplTest.java180 assertThrows(NullPointerException.class, () -> encryptor.decryptBytes(null, 1L)); in test_decryptBytes_invalidEncryptedBytes()
218 encryptor.decryptBytes(responseCipherTextBytes, 1L), in test_decryptBytes_success()
258 encryptor.decryptBytes(responseCipherTextBytes, 1L), in test_decryptBytes_success_withServerAuctionMediaTypeChange()
DAuctionServerE2ETest.java642 when(mObliviousHttpEncryptorMock.decryptBytes(any(byte[].class), anyLong())) in testAuctionServerFlow_withoutEncrypt_validRequest_BothFiltersEnabled()
776 when(mObliviousHttpEncryptorMock.decryptBytes(any(byte[].class), anyLong())) in testAuctionServerFlow_withoutEncrypt_validRequest_AppInstallDisabled()
926 when(mObliviousHttpEncryptorMock.decryptBytes(any(byte[].class), anyLong())) in testAuctionServerFlow_withoutEncrypt_validRequest_FrequencyCapDisabled()
1409 when(mObliviousHttpEncryptorMock.decryptBytes(any(byte[].class), anyLong())) in testGetAdSelectionData_fCap_success()
1545 when(mObliviousHttpEncryptorMock.decryptBytes(any(byte[].class), anyLong())) in testPersistAdSelectionResult_withoutDecrypt_validRequest_success()
1612 when(mObliviousHttpEncryptorMock.decryptBytes(any(byte[].class), anyLong())) in testPersistAdSelectionResult_withoutDecrypt_validRequest_successOmitAdsEnabled()
1735 when(mObliviousHttpEncryptorMock.decryptBytes(any(byte[].class), anyLong())) in testAuctionServerResult_usedInWaterfallMediation_success()
2000 when(mObliviousHttpEncryptorMock.decryptBytes(any(byte[].class), anyLong())) in testReportImpression_serverAuction_impressionAndInteractionReportingUnifiedTablesDisabled()
2188 when(mObliviousHttpEncryptorMock.decryptBytes(any(byte[].class), anyLong())) in testReportImpression_serverAuction_impressionAndInteractionReportingUnifiedTablesEnabled()
2340 when(mObliviousHttpEncryptorMock.decryptBytes(any(byte[].class), anyLong())) in testReportImpression_serverAuction_sellerReportingFailure_noExceptionThrown()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DObliviousHttpEncryptor.java37 byte[] decryptBytes(byte[] encryptedBytes, long storedContextId); in decryptBytes() method
DKAnonObliviousHttpEncryptorImpl.java75 public byte[] decryptBytes(byte[] encryptedBytes, long unusedContext) { in decryptBytes() method in KAnonObliviousHttpEncryptorImpl
DObliviousHttpEncryptorImpl.java90 public byte[] decryptBytes(byte[] encryptedBytes, long storedContextId) { in decryptBytes() method
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/
DObliviousHttpEncryptorWithSeedImpl.java89 public byte[] decryptBytes(byte[] encryptedBytes, long storedContextId) { in decryptBytes() method in ObliviousHttpEncryptorWithSeedImpl
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DPersistAdSelectionResultRunner.java316 return decryptBytes(request) in orchestratePersistAdSelectionResultRunner()
492 private FluentFuture<byte[]> decryptBytes(PersistAdSelectionResultInput request) {
502 mObliviousHttpEncryptor.decryptBytes(
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/
DKAnonCallerImplTest.java821 when(mockKAnonOblivivousHttpEncryptorImpl.decryptBytes(any(), anyInt())) in setupMockWithCountDownLatch()
DKAnonE2ETest.java1849 when(mObliviousHttpEncryptorMock.decryptBytes(any(byte[].class), anyLong())) in setupTestForPersistAdSelectionResult()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/kanon/
DKAnonCallerImpl.java1184 kAnonObliviousHttpEncryptor.decryptBytes(