Searched refs:encryptedBytes (Results 1 – 10 of 10) sorted by relevance
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/ |
D | KAnonObliviousHttpEncryptorImplTest.java | 181 byte[] encryptedBytes = in test_decryptBytes_success() 191 assertThat(encryptedBytes).isNotNull(); in test_decryptBytes_success() 192 assertThat(encryptedBytes).isNotEmpty(); in test_decryptBytes_success() 195 mKAnonObliviousHttpEncryptor.decryptBytes(encryptedBytes, UNUSED_CONTEXT_ID); in test_decryptBytes_success() 208 byte[] encryptedBytes = in test_decryptBytes_success_withServerAuctionMediaTypeNoChange() 218 assertThat(encryptedBytes).isNotNull(); in test_decryptBytes_success_withServerAuctionMediaTypeNoChange() 219 assertThat(encryptedBytes).isNotEmpty(); in test_decryptBytes_success_withServerAuctionMediaTypeNoChange() 222 mKAnonObliviousHttpEncryptor.decryptBytes(encryptedBytes, UNUSED_CONTEXT_ID); in test_decryptBytes_success_withServerAuctionMediaTypeNoChange()
|
D | ObliviousHttpEncryptorImplTest.java | 189 byte[] encryptedBytes = in test_decryptBytes_success() 194 assertThat(encryptedBytes).isNotNull(); in test_decryptBytes_success() 195 assertThat(encryptedBytes).isNotEmpty(); in test_decryptBytes_success() 217 byte[] encryptedBytes = in test_decryptBytes_success_withServerAuctionMediaTypeChange() 222 assertThat(encryptedBytes).isNotNull(); in test_decryptBytes_success_withServerAuctionMediaTypeChange() 223 assertThat(encryptedBytes).isNotEmpty(); in test_decryptBytes_success_withServerAuctionMediaTypeChange()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | ObliviousHttpEncryptorWithSeedImplTest.java | 202 byte[] encryptedBytes = in test_decryptBytes_success() 205 assertThat(encryptedBytes).isNotNull(); in test_decryptBytes_success() 206 assertThat(encryptedBytes).isNotEmpty(); in test_decryptBytes_success() 242 byte[] encryptedBytes = in test_decryptBytes_success_withServerAuctionMediaTypeChange() 245 assertThat(encryptedBytes).isNotNull(); in test_decryptBytes_success_withServerAuctionMediaTypeChange() 246 assertThat(encryptedBytes).isNotEmpty(); in test_decryptBytes_success_withServerAuctionMediaTypeChange()
|
D | AuctionServerE2ETest.java | 595 byte[] encryptedBytes = callback.mGetAdSelectionDataResponse.getAdSelectionData(); in testGetAdSelectionData_withoutEncrypt_validRequest_success() 598 getBuyerInputMapFromDecryptedBytes(encryptedBytes); in testGetAdSelectionData_withoutEncrypt_validRequest_success() 1106 byte[] encryptedBytes = callback.mGetAdSelectionDataResponse.getAdSelectionData(); in testGetAdSelectionData_withoutEncrypt_validRequest_successPayloadMetricsEnabled() 1109 getBuyerInputMapFromDecryptedBytes(encryptedBytes); in testGetAdSelectionData_withoutEncrypt_validRequest_successPayloadMetricsEnabled() 1145 .isEqualTo(encryptedBytes.length / 1000); in testGetAdSelectionData_withoutEncrypt_validRequest_successPayloadMetricsEnabled() 1219 byte[] encryptedBytes = callback.mGetAdSelectionDataResponse.getAdSelectionData(); in testGetAdSelectionData_validRequest_successPayloadMetricsEnabled_withSourceCoordinator() 1222 getBuyerInputMapFromDecryptedBytes(encryptedBytes); in testGetAdSelectionData_validRequest_successPayloadMetricsEnabled_withSourceCoordinator() 1258 .isEqualTo(encryptedBytes.length / 1000); in testGetAdSelectionData_validRequest_successPayloadMetricsEnabled_withSourceCoordinator() 1307 byte[] encryptedBytes = callback.mGetAdSelectionDataResponse.getAdSelectionData(); in testGetAdSelectionData_withoutEncrypt_validRequest_successPayloadMetricsDisabled() 1310 getBuyerInputMapFromDecryptedBytes(encryptedBytes); in testGetAdSelectionData_withoutEncrypt_validRequest_successPayloadMetricsDisabled() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/ |
D | KAnonObliviousHttpEncryptorImpl.java | 75 public byte[] decryptBytes(byte[] encryptedBytes, long unusedContext) { in decryptBytes() argument 76 Objects.requireNonNull(encryptedBytes); in decryptBytes() 82 return client.decryptObliviousHttpResponse(encryptedBytes, mObliviousRequestContext); in decryptBytes()
|
D | ObliviousHttpEncryptorImpl.java | 90 public byte[] decryptBytes(byte[] encryptedBytes, long storedContextId) { in decryptBytes() argument 91 Objects.requireNonNull(encryptedBytes); in decryptBytes() 98 return client.decryptObliviousHttpResponse(encryptedBytes, context); in decryptBytes()
|
D | ObliviousHttpEncryptor.java | 37 byte[] decryptBytes(byte[] encryptedBytes, long storedContextId); in decryptBytes() argument
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/ |
D | ObliviousHttpEncryptorWithSeedImpl.java | 89 public byte[] decryptBytes(byte[] encryptedBytes, long storedContextId) { in decryptBytes() argument 90 Objects.requireNonNull(encryptedBytes); in decryptBytes() 99 return client.decryptObliviousHttpResponse(encryptedBytes, context); in decryptBytes()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | GetAdSelectionDataRunner.java | 469 ListenableFuture<byte[]> encryptedBytes = in orchestrateGetAdSelectionDataRunner() 474 return encryptedBytes; in orchestrateGetAdSelectionDataRunner() 545 byte[] encryptedBytes) { in persistAdSelectionIdRequest() argument 558 return encryptedBytes; in persistAdSelectionIdRequest()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiCarrierInfoManager.java | 1105 byte[] encryptedBytes = cipher.doFinal(data); in encryptDataUsingPublicKey() 1107 return Base64.encodeToString(encryptedBytes, 0, encryptedBytes.length, encodingFlag); in encryptDataUsingPublicKey()
|