Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DObliviousHttpRequestContextMarshaller.java51 DBEncryptionContext dbEncryptionContext = in getAuctionOblivioushttpRequestContext() local
56 if (Objects.isNull(dbEncryptionContext)) { in getAuctionOblivioushttpRequestContext()
66 ObliviousHttpKeyConfig.fromSerializedKeyConfig(dbEncryptionContext.getKeyConfig()), in getAuctionOblivioushttpRequestContext()
67 EncapsulatedSharedSecret.create(dbEncryptionContext.getSharedSecret()), in getAuctionOblivioushttpRequestContext()
68 dbEncryptionContext.getSeed(), in getAuctionOblivioushttpRequestContext()
69 dbEncryptionContext.getHasMediaTypeChanged()); in getAuctionOblivioushttpRequestContext()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DDBEncryptionContextTest.java57 DBEncryptionContext dbEncryptionContext = in testBuildEncryptionContext_success() local
68 assertThat(dbEncryptionContext.getContextId()).isEqualTo(CONTEXT_ID_1); in testBuildEncryptionContext_success()
69 assertThat(dbEncryptionContext.getKeyConfig()) in testBuildEncryptionContext_success()
71 assertThat(dbEncryptionContext.getSharedSecret()).isEqualTo(SHARED_SECRET_BYTES); in testBuildEncryptionContext_success()
72 assertThat(dbEncryptionContext.getSeed()).isEqualTo(SEED_BYTES); in testBuildEncryptionContext_success()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DEncryptionContextDao.java85 DBEncryptionContext dbEncryptionContext = in getEncryptionContextForIdAndKeyType() local
93 dbEncryptionContext.getKeyConfig()), in getEncryptionContextForIdAndKeyType()
95 dbEncryptionContext.getSharedSecret()), in getEncryptionContextForIdAndKeyType()
96 dbEncryptionContext.getSeed(), in getEncryptionContextForIdAndKeyType()
97 dbEncryptionContext.getHasMediaTypeChanged())) in getEncryptionContextForIdAndKeyType()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/
DObliviousHttpRequestContextMarshallerTest.java113 DBEncryptionContext dbEncryptionContext = in test_insertContext_success() local
117 assertThat(dbEncryptionContext).isNotNull(); in test_insertContext_success()
118 assertThat(dbEncryptionContext.getContextId()).isEqualTo(CONTEXT_ID_1); in test_insertContext_success()
121 assertThat(dbEncryptionContext.getKeyConfig()) in test_insertContext_success()
123 assertThat(dbEncryptionContext.getSharedSecret()).isEqualTo(SHARED_SECRET_BYTES); in test_insertContext_success()
124 assertThat(dbEncryptionContext.getSeed()).isEqualTo(SEED_BYTES); in test_insertContext_success()