Home
last modified time | relevance | path

Searched refs:setKeyType (Results 1 – 23 of 23) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/encryptionkey/
DEncryptionKeyDaoTest.java65 .setKeyType(EncryptionKey.KeyType.ENCRYPTION)
79 .setKeyType(EncryptionKey.KeyType.ENCRYPTION)
93 .setKeyType(EncryptionKey.KeyType.SIGNING)
107 .setKeyType(EncryptionKey.KeyType.SIGNING)
121 .setKeyType(EncryptionKey.KeyType.ENCRYPTION)
135 .setKeyType(EncryptionKey.KeyType.ENCRYPTION)
147 .setKeyType(EncryptionKey.KeyType.ENCRYPTION)
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/
DAuctionEncryptionKeyParserTest.java83 .setKeyType( in parseDbEncryptionKey_returnsSuccess()
151 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in getObliviousHttpKeyConfig_insufficientKeyLength_throwsError()
167 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in getObliviousHttpKeyConfig_keyNotHexadecimal_throwsError()
183 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in getObliviousHttpKeyConfig_convertsKmsKeyIdToOhttpKeyIdCorrectly()
DJoinEncryptionKeyParserTest.java82 .setKeyType( in parseDbEncryptionKey_returnsSuccess()
136 .setKeyType( in getObliviousHttpKeyConfig_wrongFormat_throwsException()
152 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN) in getObliviousHttpKeyConfig_returnsKeyConfig()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/encryptionkey/
DEncryptionKeyJobHandlerTest.java82 .setKeyType(EncryptionKey.KeyType.ENCRYPTION)
95 .setKeyType(EncryptionKey.KeyType.SIGNING)
108 .setKeyType(EncryptionKey.KeyType.ENCRYPTION)
121 .setKeyType(EncryptionKey.KeyType.ENCRYPTION)
134 .setKeyType(EncryptionKey.KeyType.SIGNING)
DEncryptionKeyTest.java45 .setKeyType(EncryptionKey.KeyType.ENCRYPTION) in createKeyCommitment()
DEncryptionKeyFetcherTest.java161 .setKeyType(EncryptionKey.KeyType.ENCRYPTION) in constructEncryptionKey()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/data/
DFederatedComputeEncryptionKeyDaoTest.java97 .setKeyType(key1.getKeyType()) in testInsertDuplicateEncryptionKey_success()
229 .setKeyType(FederatedComputeEncryptionKey.KEY_TYPE_UNDEFINED) in insertNullFieldEncryptionKey()
244 .setKeyType(FederatedComputeEncryptionKey.KEY_TYPE_UNDEFINED) in createRandomPublicKeyWithConstantTTL()
254 .setKeyType(KEY_TYPE) in createFixedPublicKey()
DFederatedComputeEncryptionKeyTest.java52 .setKeyType(KEY_TYPE) in testBuilderAndEquals()
63 .setKeyType(FederatedComputeEncryptionKey.KEY_TYPE_UNDEFINED) in testBuilderAndEquals()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/encryptionkey/
DEncryptionKey.java142 .setKeyType(this.mKeyType) in cloneToBuilder()
168 public Builder setKeyType(KeyType keyType) { in setKeyType() method in EncryptionKey.Builder
DEncryptionKeyFetcher.java293 builder.setKeyType(keyType); in buildEncryptionKeys()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DEncryptionManagerTest.java86 .setKeyType(EncryptionKey.KeyType.ENCRYPTION)
99 .setKeyType(EncryptionKey.KeyType.ENCRYPTION)
326 .setKeyType(EncryptionKey.KeyType.ENCRYPTION) in testEncryption_keyDecodingFailure()
361 .setKeyType(EncryptionKey.KeyType.ENCRYPTION) in testEncryption_keyWithSmallerLength()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/encryption/
DFederatedComputeKeyFetchManagerTest.java363 .setKeyType(KEY_TYPE_ENCRYPTION) in testFetchAndPersistActiveKeys_scheduledWithDeletion()
402 .setKeyType(KEY_TYPE_ENCRYPTION) in testFetchAndPersistActiveKeys_nonScheduledWithDeletion()
455 .setKeyType(KEY_TYPE_ENCRYPTION) in testGetOrFetchActiveKeys_noFetch()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DAdSelectionEncryptionKey.java65 public abstract Builder setKeyType(@AdSelectionEncryptionKeyType int keyType); in setKeyType() method in AdSelectionEncryptionKey.Builder
DJoinEncryptionKeyParser.java58 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.JOIN) in parseDbEncryptionKey()
DAuctionEncryptionKeyParser.java69 .setKeyType(AdSelectionEncryptionKey.AdSelectionEncryptionKeyType.AUCTION) in parseDbEncryptionKey()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/encryptionkey/
DSqliteObjectMapper.java36 (enumValue) -> builder.setKeyType(EncryptionKey.KeyType.valueOf(enumValue))); in constructEncryptionKeyFromCursor()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/
DEncryptionKeyConverterUtil.java96 builder.setKeyType( in convertVersion3Key()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/data/
DFederatedComputeEncryptionKeyDao.java154 .setKeyType( in readFederatedComputeEncryptionKeysFromDatabase()
DFederatedComputeEncryptionKey.java276 public @NonNull Builder setKeyType(@KeyType int value) { in setKeyType() method in FederatedComputeEncryptionKey.Builder
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/encryption/
DFederatedComputeEncryptionKeyManager.java211 .setKeyType(keyType) in parseFetchEncryptionKeyPayload()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/http/
DHttpFederatedProtocolTest.java161 .setKeyType(FederatedComputeEncryptionKey.KEY_TYPE_ENCRYPTION)
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/
DFederatedComputeWorkerTest.java334 .setKeyType(FederatedComputeEncryptionKey.KEY_TYPE_ENCRYPTION)
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAdSelectionE2ETest.java7996 .setKeyType(EncryptionKey.KeyType.SIGNING) in persistEncryptionKeyInDb()