Home
last modified time | relevance | path

Searched refs:getKeyConfig (Results 1 – 9 of 9) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/ohttp/
DObliviousHttpTestFixtures.java69 getKeyConfig(4))); in getTestVectors()
96 getKeyConfig(6))); in getTestVectors()
123 getKeyConfig(7))); in getTestVectors()
150 getKeyConfig(2))); in getTestVectors()
185 private static ObliviousHttpKeyConfig getKeyConfig(int keyIdentifier) in getKeyConfig() method in ObliviousHttpTestFixtures
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/
DKAnonObliviousHttpEncryptorImplTest.java94 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_encryptBytes_success()
122 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_encryptBytes_success_withServerAuctionMediaTypeNoChange()
176 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_decryptBytes_success()
203 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_decryptBytes_success_withServerAuctionMediaTypeNoChange()
225 private ObliviousHttpKeyConfig getKeyConfig(int keyIdentifier) throws InvalidKeySpecException { in getKeyConfig() method in KAnonObliviousHttpEncryptorImplTest
DObliviousHttpEncryptorImplTest.java108 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_encryptBytes_success()
136 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_encryptBytes_success_withServerAuctionMediaTypeChange()
184 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_decryptBytes_success()
212 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_decryptBytes_success_withServerAuctionMediaTypeChange()
235 private ObliviousHttpKeyConfig getKeyConfig(int keyIdentifier) throws InvalidKeySpecException { in getKeyConfig() method in ObliviousHttpEncryptorImplTest
DObliviousHttpRequestContextMarshallerTest.java121 assertThat(dbEncryptionContext.getKeyConfig()) in test_insertContext_success()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DObliviousHttpEncryptorWithSeedImplTest.java96 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_encryptBytes_success()
136 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_encryptBytes_success_withServerAuctionMediaTypeChange()
188 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_decryptBytes_success()
228 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_decryptBytes_success_withServerAuctionMediaTypeChange()
263 private ObliviousHttpKeyConfig getKeyConfig(int keyIdentifier) throws InvalidKeySpecException { in getKeyConfig() method in ObliviousHttpEncryptorWithSeedImplTest
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DDBEncryptionContextTest.java69 assertThat(dbEncryptionContext.getKeyConfig()) in testBuildEncryptionContext_success()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DEncryptionContextDao.java93 dbEncryptionContext.getKeyConfig()), in getEncryptionContextForIdAndKeyType()
DDBEncryptionContext.java57 public abstract byte[] getKeyConfig(); in getKeyConfig() method in DBEncryptionContext
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DObliviousHttpRequestContextMarshaller.java66 ObliviousHttpKeyConfig.fromSerializedKeyConfig(dbEncryptionContext.getKeyConfig()), in getAuctionOblivioushttpRequestContext()