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/protectedaudience/src/com/android/adservices/service/adselection/encryption/
DKAnonObliviousHttpEncryptorImplTest.java85 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_encryptBytes_success()
113 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_encryptBytes_success_withServerAuctionMediaTypeNoChange()
167 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_decryptBytes_success()
194 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_decryptBytes_success_withServerAuctionMediaTypeNoChange()
216 private ObliviousHttpKeyConfig getKeyConfig(int keyIdentifier) throws InvalidKeySpecException { in getKeyConfig() method in KAnonObliviousHttpEncryptorImplTest
DObliviousHttpEncryptorImplTest.java96 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_encryptBytes_success()
124 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_encryptBytes_success_withServerAuctionMediaTypeChange()
176 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_decryptBytes_success()
204 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_decryptBytes_success_withServerAuctionMediaTypeChange()
227 private ObliviousHttpKeyConfig getKeyConfig(int keyIdentifier) throws InvalidKeySpecException { in getKeyConfig() method in ObliviousHttpEncryptorImplTest
DObliviousHttpRequestContextMarshallerTest.java125 assertThat(dbEncryptionContext.getKeyConfig()) in test_insertContext_success()
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/adselection/
DObliviousHttpEncryptorWithSeedImplTest.java82 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_encryptBytes_success()
122 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_encryptBytes_success_withServerAuctionMediaTypeChange()
174 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_decryptBytes_success()
214 .thenReturn(FluentFuture.from(immediateFuture(getKeyConfig(4)))); in test_decryptBytes_success_withServerAuctionMediaTypeChange()
249 private ObliviousHttpKeyConfig getKeyConfig(int keyIdentifier) throws InvalidKeySpecException { in getKeyConfig() method in ObliviousHttpEncryptorWithSeedImplTest
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/data/adselection/
DDBEncryptionContextTest.java64 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.java74 ObliviousHttpKeyConfig.fromSerializedKeyConfig(dbEncryptionContext.getKeyConfig()), in getAuctionOblivioushttpRequestContext()