| /packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/data/adselection/ |
| D | EncryptionKeyDaoTest.java | 123 assertThat(auctionKeys.get(0).getKeyIdentifier()) in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 124 .isEqualTo(ENCRYPTION_KEY_AUCTION.getKeyIdentifier()); in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 125 assertThat(auctionKeys.get(1).getKeyIdentifier()) in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 126 .isEqualTo(ENCRYPTION_KEY_AUCTION_TTL_5SECS.getKeyIdentifier()); in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 131 assertThat(queryKeys.get(0).getKeyIdentifier()) in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 132 .isEqualTo(ENCRYPTION_KEY_QUERY.getKeyIdentifier()); in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 133 assertThat(queryKeys.get(1).getKeyIdentifier()) in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 134 .isEqualTo(ENCRYPTION_KEY_QUERY_TTL_5SECS.getKeyIdentifier()); in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 139 assertThat(joinKeys.get(0).getKeyIdentifier()) in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 140 .isEqualTo(ENCRYPTION_KEY_JOIN.getKeyIdentifier()); in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() [all …]
|
| D | ProtectedServersEncryptionConfigDaoTest.java | 151 assertThat(auctionKeys.get(0).getKeyIdentifier()) in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 152 .isEqualTo(ENCRYPTION_KEY_AUCTION.getKeyIdentifier()); in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 154 assertThat(auctionKeys.get(1).getKeyIdentifier()) in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 155 .isEqualTo(ENCRYPTION_KEY_AUCTION_TTL_5SECS.getKeyIdentifier()); in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 161 assertThat(queryKeys.get(0).getKeyIdentifier()) in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 162 .isEqualTo(ENCRYPTION_KEY_QUERY.getKeyIdentifier()); in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 163 assertThat(queryKeys.get(1).getKeyIdentifier()) in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 164 .isEqualTo(ENCRYPTION_KEY_QUERY_TTL_5SECS.getKeyIdentifier()); in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 170 assertThat(joinKeys.get(0).getKeyIdentifier()) in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() 171 .isEqualTo(ENCRYPTION_KEY_JOIN.getKeyIdentifier()); in test_getLatestExpiryNKeysOfType_returnsNFreshestKey() [all …]
|
| D | DBProtectedServersEncryptionConfigTest.java | 51 assertThat(dBEncryptionKey.getKeyIdentifier()).isEqualTo(KEY_ID_1); in testBuildValidEncryptionKey_success() 69 assertThat(dBEncryptionKey.getKeyIdentifier()).isEqualTo(KEY_ID_1); in testBuildValidEncryptionKey_rowIdAbsent_success()
|
| D | DBEncryptionKeyTest.java | 45 assertThat(dBEncryptionKey.getKeyIdentifier()).isEqualTo(KEY_ID_1); in testBuildValidEncryptionKey_success()
|
| /packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/topics/ |
| D | EncryptedTopic.java | 48 public abstract String getKeyIdentifier(); in getKeyIdentifier() method in EncryptedTopic 113 && getKeyIdentifier().equals(encryptedTopic.getKeyIdentifier()) in equals() 121 getKeyIdentifier(), in hashCode() 131 + getKeyIdentifier() in toString()
|
| /packages/modules/AdServices/adservices/framework/java/android/adservices/topics/ |
| D | EncryptedTopic.java | 72 public String getKeyIdentifier() { in getKeyIdentifier() method in EncryptedTopic 88 && getKeyIdentifier().equals(encryptedTopic.getKeyIdentifier()) in equals() 96 getKeyIdentifier(), in hashCode()
|
| /packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/adselection/encryption/ |
| D | AuctionEncryptionKeyParserTest.java | 81 .setKeyIdentifier(ENCRYPTION_KEY_AUCTION.getKeyIdentifier()) in parseDbEncryptionKey_returnsSuccess() 108 assertThat(keys.get(0).getKeyIdentifier()).isEqualTo(AUCTION_KEY_1.keyId()); in getDbEncryptionKeys_missingMaxAge_usesDefaultAge() 125 assertThat(keys.get(0).getKeyIdentifier()).isEqualTo(AUCTION_KEY_1.keyId()); in getDbEncryptionKeys_parsesSingleKey()
|
| D | JoinEncryptionKeyParserTest.java | 79 .setKeyIdentifier(ENCRYPTION_KEY_JOIN.getKeyIdentifier()) in parseDbEncryptionKey_returnsSuccess() 116 assertThat(keys.get(0).getKeyIdentifier()).isEqualTo("h"); in getDbEncryptionKeys_missingMaxAge_usesDefaultAge()
|
| D | ProtectedServersEncryptionConfigManagerTest.java | 205 .isEqualTo(ENCRYPTION_KEY_JOIN_WITH_COORDINATOR.getKeyIdentifier()); in test_getLatestJoinKey_returnsJoinKey() 231 .isEqualTo(ENCRYPTION_KEY_AUCTION_WITH_COORDINATOR.getKeyIdentifier()); in test_getLatestAuctionKey_returnsAuctionKey() 685 assertThat(databaseEntries.get(0).getKeyIdentifier()).isEqualTo(AUCTION_KEY_1.keyId()); in test_getLatestOhttpKeyConfigOfType_withNoKeys_persistsToDatabase()
|
| D | AdSelectionEncryptionKeyManagerTest.java | 195 assertThat(actualKey.keyIdentifier()).isEqualTo(ENCRYPTION_KEY_JOIN.getKeyIdentifier()); in test_getLatestActiveJoinKey_returnsActiveJoinKey() 220 assertThat(actualKey.keyIdentifier()).isEqualTo(ENCRYPTION_KEY_AUCTION.getKeyIdentifier()); in test_getLatestActiveAuctionKey_returnsActiveAuctionKey()
|
| /packages/modules/AdServices/adservices/tests/unittest/service-core/topics/src/com/android/adservices/service/topics/ |
| D | EncryptionManagerTest.java | 136 assertThat(optionalEncryptedTopic.get().getKeyIdentifier()).isEqualTo(PUBLIC_KEY_BASE64); in testEncryption_success() 171 assertThat(optionalEncryptedTopic.get().getKeyIdentifier()) in testEncryption_verifyLatestKeys() 189 expect.that(optionalEncryptedTopic.get().getKeyIdentifier()).isEqualTo(overrideTestKey); in testEncryption_useTestingKeys()
|
| D | TopicsWorkerTest.java | 248 encryptedTopic1.getKeyIdentifier(), in testGetTopics_enableEncryption_disablePlaintextTopics() 249 encryptedTopic2.getKeyIdentifier(), in testGetTopics_enableEncryption_disablePlaintextTopics() 250 encryptedTopic3.getKeyIdentifier())) in testGetTopics_enableEncryption_disablePlaintextTopics() 345 encryptedTopic1.getKeyIdentifier(), in testGetTopics_enableEncryption_featureOn() 346 encryptedTopic2.getKeyIdentifier(), in testGetTopics_enableEncryption_featureOn() 347 encryptedTopic3.getKeyIdentifier())) in testGetTopics_enableEncryption_featureOn()
|
| /packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/topics/ |
| D | EncryptedTopicTest.java | 65 expect.that(mEncryptedTopic1.getKeyIdentifier()).isEqualTo(PUBLIC_KEY); in testGetters()
|
| /packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/ |
| D | DBEncryptionKey.java | 48 public abstract String getKeyIdentifier(); in getKeyIdentifier() method in DBEncryptionKey
|
| D | DBProtectedServersEncryptionConfig.java | 76 public abstract String getKeyIdentifier(); in getKeyIdentifier() method in DBProtectedServersEncryptionConfig
|
| /packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/ |
| D | ProtectedServersEncryptionConfigManager.java | 342 .setKeyIdentifier(key.getKeyIdentifier()) 353 .setKeyIdentifier(key.getKeyIdentifier())
|
| D | JoinEncryptionKeyParser.java | 57 .setKeyIdentifier(dbEncryptionKey.getKeyIdentifier()) in parseDbEncryptionKey()
|
| D | AuctionEncryptionKeyParser.java | 70 .setKeyIdentifier(dbEncryptionKey.getKeyIdentifier()) in parseDbEncryptionKey()
|
| /packages/modules/OnDevicePersonalization/tests/commontests/src/com/android/odp/module/common/encryption/ |
| D | OdpEncryptionKeyManagerTest.java | 340 .map(OdpEncryptionKey::getKeyIdentifier) in testFetchAndPersistActiveKeys_scheduledNoDeletion() 376 .map(OdpEncryptionKey::getKeyIdentifier) in testFetchAndPersistActiveKeys_nonScheduledNoDeletion()
|
| /packages/modules/OnDevicePersonalization/common/java/com/android/odp/module/common/data/ |
| D | OdpEncryptionKeyDao.java | 81 values.put(OdpEncryptionColumns.KEY_IDENTIFIER, key.getKeyIdentifier()); in insertEncryptionKey()
|
| /packages/modules/OnDevicePersonalization/common/java/com/android/odp/module/common/encryption/ |
| D | OdpEncryptionKey.java | 131 public @NonNull String getKeyIdentifier() { in getKeyIdentifier() method in OdpEncryptionKey
|
| /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
| D | TestCertActivity.java | 153 imsiEncryptionInfo.getKeyIdentifier()); in savePublicKey()
|
| /packages/modules/OnDevicePersonalization/tests/commontests/src/com/android/odp/module/common/data/ |
| D | OdpEncryptionKeyDaoTest.java | 96 .setKeyIdentifier(key1.getKeyIdentifier()) in testInsertDuplicateEncryptionKey_success()
|
| /packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/ |
| D | TopicsWorker.java | 242 keyIdentifiers.add(combinedTopic.getEncryptedTopic().getKeyIdentifier()); in getTopics()
|
| /packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/errors/ |
| D | AggregatedErrorReportingProtocol.java | 261 body.put(AggregatedErrorDataPayloadContract.KEY_ID, encryptionKey.getKeyIdentifier()); in createEncryptedRequestBody()
|