/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | EncryptionKeyDaoTest.java | 45 private static final DBEncryptionKey ENCRYPTION_KEY_AUCTION = 46 DBEncryptionKey.builder() 53 private static final DBEncryptionKey ENCRYPTION_KEY_JOIN = 54 DBEncryptionKey.builder() 61 private static final DBEncryptionKey ENCRYPTION_KEY_QUERY = 62 DBEncryptionKey.builder() 68 private static final DBEncryptionKey ENCRYPTION_KEY_AUCTION_TTL_5SECS = 69 DBEncryptionKey.builder() 76 private static final DBEncryptionKey ENCRYPTION_KEY_JOIN_TTL_5SECS = 77 DBEncryptionKey.builder() [all …]
|
D | DBEncryptionKeyTest.java | 43 DBEncryptionKey dBEncryptionKey = in testBuildValidEncryptionKey_success() 44 DBEncryptionKey.builder() in testBuildValidEncryptionKey_success() 62 DBEncryptionKey.builder() in testBuildEncryptionKey_unsetKeyIdentifier_throws() 74 DBEncryptionKey.builder() in testBuildEncryptionKey_unsetPublicKey_throws() 86 DBEncryptionKey.builder() in testBuildEncryptionKey_unsetEncryptionKeyType_throws() 98 DBEncryptionKey.builder() in testBuildEncryptionKey_unsetExpiryTtlSeconds_throws() 107 DBEncryptionKey encryptionKey = in testBuildEncryptionKey_expiryInstantSetCorrectly() 108 DBEncryptionKey.builder() in testBuildEncryptionKey_expiryInstantSetCorrectly()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/ |
D | DBEncryptionKeyFixture.java | 22 import com.android.adservices.data.adselection.DBEncryptionKey; 33 public static final DBEncryptionKey.Builder ENCRYPTION_KEY_AUCTION_TTL_5SECS = 34 DBEncryptionKey.builder() 42 public static final DBEncryptionKey.Builder ENCRYPTION_KEY_JOIN_TTL_5SECS = 43 DBEncryptionKey.builder() 50 public static List<DBEncryptionKey> getKeysExpiringInTtl( in getKeysExpiringInTtl()
|
D | AuctionEncryptionKeyFixture.java | 21 import com.android.adservices.data.adselection.DBEncryptionKey; 46 public static final DBEncryptionKey ENCRYPTION_KEY_AUCTION = 47 DBEncryptionKey.builder() 53 public static final DBEncryptionKey ENCRYPTION_KEY_AUCTION_TTL_1SECS = 54 DBEncryptionKey.builder()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/ |
D | EncryptionKeyDao.java | 41 public abstract List<DBEncryptionKey> getLatestExpiryNKeysOfType( in getLatestExpiryNKeysOfType() 58 public abstract List<DBEncryptionKey> getLatestExpiryNActiveKeysOfType( in getLatestExpiryNActiveKeysOfType() 76 public abstract List<DBEncryptionKey> getExpiredKeysForType( in getExpiredKeysForType() 87 public abstract List<DBEncryptionKey> getExpiredKeys(Instant now); in getExpiredKeys() 100 public abstract void insertAllKeys(List<DBEncryptionKey> keys); in insertAllKeys()
|
D | DBEncryptionKey.java | 36 public abstract class DBEncryptionKey { class 86 public static DBEncryptionKey.Builder builder() { in builder() 96 public static DBEncryptionKey create( in create() 139 abstract DBEncryptionKey autoBuild(); in autoBuild() 142 public final DBEncryptionKey build() { in build()
|
D | AdSelectionServerDatabase.java | 38 DBEncryptionKey.class,
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/ |
D | JoinEncryptionKeyTestUtil.java | 21 import com.android.adservices.data.adselection.DBEncryptionKey; 44 static final DBEncryptionKey ENCRYPTION_KEY_JOIN = 45 DBEncryptionKey.builder() 61 static final DBEncryptionKey ENCRYPTION_KEY_JOIN_TTL_1SECS = 62 DBEncryptionKey.builder()
|
D | AuctionEncryptionKeyParserTest.java | 33 import com.android.adservices.data.adselection.DBEncryptionKey; 106 List<DBEncryptionKey> keys = in getDbEncryptionKeys_missingMaxAge_usesDefaultAge() 122 List<DBEncryptionKey> keys = in getDbEncryptionKeys_parsesSingleKey() 140 List<DBEncryptionKey> keys = in getDbEncryptionKeys_parsesMultipleKeys()
|
D | BackgroundKeyFetchWorkerTest.java | 52 import com.android.adservices.data.adselection.DBEncryptionKey; 236 public FluentFuture<List<DBEncryptionKey>> fetchAndPersistActiveKeysOfType( in testRunBackgroundKeyFetch_longRuntime_throwsTimeoutDuringFetch() 394 List<DBEncryptionKey> joinKeys = 445 List<DBEncryptionKey> auctionKeys = 498 Futures.immediateFuture(new ArrayList<DBEncryptionKey>()))); 570 List<DBEncryptionKey> auctionKeys = 574 List<DBEncryptionKey> joinKeys = 620 List<DBEncryptionKey> auctionKeys = 624 List<DBEncryptionKey> joinKeys =
|
D | JoinEncryptionKeyParserTest.java | 31 import com.android.adservices.data.adselection.DBEncryptionKey; 117 List<DBEncryptionKey> keys = in getDbEncryptionKeys_missingMaxAge_usesDefaultAge()
|
D | AdSelectionEncryptionKeyManagerTest.java | 49 import com.android.adservices.data.adselection.DBEncryptionKey; 417 List<DBEncryptionKey> keys = in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey() 449 List<DBEncryptionKey> keys = in test_getLatestOhttpKeyConfig_refreshFlagOff_withExpiredKey_returnsExpiredKey() 597 List<DBEncryptionKey> keys = in test_getLatestActiveOhttpKeyConfig_withExpiredKey_shouldFetchAndPersistAndReturnNewKey()
|
D | ProtectedServersEncryptionConfigManagerTest.java | 51 import com.android.adservices.data.adselection.DBEncryptionKey; 438 List<DBEncryptionKey> actualKeys = in test_fetchAndPersistActiveKeysOfType_persistsJey()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/ |
D | JoinEncryptionKeyParser.java | 19 import com.android.adservices.data.adselection.DBEncryptionKey; 49 public AdSelectionEncryptionKey parseDbEncryptionKey(DBEncryptionKey dbEncryptionKey) { in parseDbEncryptionKey() 65 public List<DBEncryptionKey> getDbEncryptionKeys(AdServicesHttpClientResponse response) { in getDbEncryptionKeys() 79 DBEncryptionKey.Builder keyBuilder = DBEncryptionKey.builder(); in getDbEncryptionKeys()
|
D | ProtectedServersEncryptionConfigManager.java | 31 import com.android.adservices.data.adselection.DBEncryptionKey; 268 public FluentFuture<List<DBEncryptionKey>> fetchAndPersistActiveKeysOfType( 324 DBEncryptionKey key, String coordinatorUrl) { 336 private DBEncryptionKey toDbEncryptionKey(DBProtectedServersEncryptionConfig key) { 337 DBEncryptionKey.Builder builder = DBEncryptionKey.builder(); 346 private AdSelectionEncryptionKey selectRandomDbKeyAndParse(List<DBEncryptionKey> keys) { 348 DBEncryptionKey randomKey = keys.get(random.nextInt(keys.size()));
|
D | AuctionEncryptionKeyParser.java | 22 import com.android.adservices.data.adselection.DBEncryptionKey; 61 public AdSelectionEncryptionKey parseDbEncryptionKey(DBEncryptionKey dbEncryptionKey) { in parseDbEncryptionKey() 85 public List<DBEncryptionKey> getDbEncryptionKeys(AdServicesHttpClientResponse response) { in getDbEncryptionKeys() 95 ImmutableList.Builder<DBEncryptionKey> dbKeys = ImmutableList.builder(); in getDbEncryptionKeys() 98 DBEncryptionKey.Builder keyBuilder = DBEncryptionKey.builder(); in getDbEncryptionKeys()
|
D | EncryptionKeyParser.java | 19 import com.android.adservices.data.adselection.DBEncryptionKey; 30 AdSelectionEncryptionKey parseDbEncryptionKey(DBEncryptionKey dbEncryptionKey); in parseDbEncryptionKey() 33 List<DBEncryptionKey> getDbEncryptionKeys(AdServicesHttpClientResponse response); in getDbEncryptionKeys()
|
D | AdSelectionEncryptionKeyManager.java | 32 import com.android.adservices.data.adselection.DBEncryptionKey; 233 List<DBEncryptionKey> keys = 256 List<DBEncryptionKey> keys = 292 public FluentFuture<List<DBEncryptionKey>> fetchAndPersistActiveKeysOfType( 342 private AdSelectionEncryptionKey selectRandomDbKeyAndParse(List<DBEncryptionKey> keys) {
|
D | ProtectedServersEncryptionConfigManagerBase.java | 31 import com.android.adservices.data.adselection.DBEncryptionKey; 74 abstract FluentFuture<List<DBEncryptionKey>> fetchAndPersistActiveKeysOfType( in fetchAndPersistActiveKeysOfType() 111 protected List<DBEncryptionKey> parseKeyResponse( in parseKeyResponse() 125 protected AdSelectionEncryptionKey parseDbEncryptionKey(DBEncryptionKey dbEncryptionKey) { in parseDbEncryptionKey()
|
D | BackgroundKeyFetchWorker.java | 31 import com.android.adservices.data.adselection.DBEncryptionKey; 181 List<ListenableFuture<List<DBEncryptionKey>>> keyFetchFutures = new ArrayList<>(); in fetchNewKeys() 306 private ListenableFuture<List<DBEncryptionKey>> fetchAndPersistAuctionKeys( in fetchAndPersistAuctionKeys() 324 private ListenableFuture<List<DBEncryptionKey>> fetchAndPersistJoinKey( in fetchAndPersistJoinKey()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AuctionServerE2ETest.java | 113 import com.android.adservices.data.adselection.DBEncryptionKey; 1828 DBEncryptionKey dbEncryptionKey = in testPersistAdSelectionResult_withDecrypt_validRequest_successEmptyUri() 1829 DBEncryptionKey.builder() in testPersistAdSelectionResult_withDecrypt_validRequest_successEmptyUri() 2714 DBEncryptionKey dbEncryptionKey = in testGetAdSelectionData_withOhttpGatewayDecryption() 2715 DBEncryptionKey.builder() in testGetAdSelectionData_withOhttpGatewayDecryption() 2827 DBEncryptionKey dbEncryptionKey = in testGetAdSelectionData_withOhttpGatewayDecryption_withServerAuctionMediaTypeChanged() 2828 DBEncryptionKey.builder() in testGetAdSelectionData_withOhttpGatewayDecryption_withServerAuctionMediaTypeChanged() 3333 DBEncryptionKey dbEncryptionKey = in testGetAdSelectionData_multiCloudOff_refreshFlagOn_fetchesNewKey() 3334 DBEncryptionKey.builder() in testGetAdSelectionData_multiCloudOff_refreshFlagOn_fetchesNewKey() 3342 List<DBEncryptionKey> encryptionConfigs = in testGetAdSelectionData_multiCloudOff_refreshFlagOn_fetchesNewKey() [all …]
|