Home
last modified time | relevance | path

Searched refs:DBProtectedServersEncryptionConfig (Results 1 – 11 of 11) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DProtectedServersEncryptionConfigDaoTest.java50 private static final DBProtectedServersEncryptionConfig ENCRYPTION_KEY_AUCTION =
51 DBProtectedServersEncryptionConfig.builder()
59 private static final DBProtectedServersEncryptionConfig ENCRYPTION_KEY_JOIN =
60 DBProtectedServersEncryptionConfig.builder()
68 private static final DBProtectedServersEncryptionConfig ENCRYPTION_KEY_QUERY =
69 DBProtectedServersEncryptionConfig.builder()
76 private static final DBProtectedServersEncryptionConfig ENCRYPTION_KEY_AUCTION_TTL_5SECS =
77 DBProtectedServersEncryptionConfig.builder()
85 private static final DBProtectedServersEncryptionConfig ENCRYPTION_KEY_JOIN_TTL_5SECS =
86 DBProtectedServersEncryptionConfig.builder()
[all …]
DDBProtectedServersEncryptionConfigTest.java40 DBProtectedServersEncryptionConfig dBEncryptionKey = in testBuildValidEncryptionKey_success()
41 DBProtectedServersEncryptionConfig.builder() in testBuildValidEncryptionKey_success()
59 DBProtectedServersEncryptionConfig dBEncryptionKey = in testBuildValidEncryptionKey_rowIdAbsent_success()
60 DBProtectedServersEncryptionConfig.builder() in testBuildValidEncryptionKey_rowIdAbsent_success()
80 DBProtectedServersEncryptionConfig.builder() in testBuildEncryptionKey_keyIdentifierNotSet_throws()
93 DBProtectedServersEncryptionConfig.builder() in testBuildEncryptionKey_publicKeyNotSet_throws()
106 DBProtectedServersEncryptionConfig.builder() in testBuildEncryptionKey_encryptionKeyTypeNotSet_throws()
119 DBProtectedServersEncryptionConfig.builder() in testBuildEncryptionKey_expiryTtlSecondsNotSet_throws()
132 DBProtectedServersEncryptionConfig.builder() in testBuildEncryptionKey_coordinatorUrl_throws()
142 DBProtectedServersEncryptionConfig encryptionKey = in testBuildEncryptionKey_expiryInstantSetCorrectly()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DProtectedServersEncryptionConfigDao.java42 public abstract List<DBProtectedServersEncryptionConfig> getLatestExpiryNKeys( in getLatestExpiryNKeys()
59 public abstract List<DBProtectedServersEncryptionConfig> getLatestExpiryNKeysByType( in getLatestExpiryNKeysByType()
78 public abstract List<DBProtectedServersEncryptionConfig> getLatestExpiryNActiveKeys( in getLatestExpiryNActiveKeys()
99 public abstract List<DBProtectedServersEncryptionConfig> getExpiredKeys( in getExpiredKeys()
110 public abstract List<DBProtectedServersEncryptionConfig> getAllExpiredKeys(Instant now); in getAllExpiredKeys()
126 public abstract void insertKeys(List<DBProtectedServersEncryptionConfig> keys); in insertKeys()
DDBProtectedServersEncryptionConfig.java44 public abstract class DBProtectedServersEncryptionConfig { class
113 public static DBProtectedServersEncryptionConfig.Builder builder() { in builder()
124 public static DBProtectedServersEncryptionConfig create( in create()
185 abstract DBProtectedServersEncryptionConfig autoBuild(); in autoBuild()
188 public final DBProtectedServersEncryptionConfig build() { in build()
DAdSelectionServerDatabase.java41 DBProtectedServersEncryptionConfig.class
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/
DJoinEncryptionKeyTestUtil.java22 import com.android.adservices.data.adselection.DBProtectedServersEncryptionConfig;
52 static final DBProtectedServersEncryptionConfig ENCRYPTION_KEY_JOIN_WITH_COORDINATOR =
53 DBProtectedServersEncryptionConfig.builder()
69 static final DBProtectedServersEncryptionConfig ENCRYPTION_KEY_JOIN_WITH_COORDINATOR_TTL_1SECS =
70 DBProtectedServersEncryptionConfig.builder()
DProtectedServersEncryptionConfigManagerTest.java52 import com.android.adservices.data.adselection.DBProtectedServersEncryptionConfig;
423 DBProtectedServersEncryptionConfig.builder() in test_fetchAndPersistActiveKeysOfType_persistsJey()
562 DBProtectedServersEncryptionConfig.builder() in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey()
604 DBProtectedServersEncryptionConfig.builder() in test_getLatestOhttpKeyConfig_refreshFlagOff_withExpiredKey_returnsExpiredKey()
654 List<DBProtectedServersEncryptionConfig> databaseEntries = in test_getLatestOhttpKeyConfigOfType_withNoKeys_persistsToDatabase()
DBackgroundKeyFetchWorkerTest.java53 import com.android.adservices.data.adselection.DBProtectedServersEncryptionConfig;
702 public static final DBProtectedServersEncryptionConfig.Builder ENCRYPTION_KEY_WITH_COORDINATOR =
703 DBProtectedServersEncryptionConfig.builder()
711 private static List<DBProtectedServersEncryptionConfig> getEncryptionConfigs(
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DProtectedServersEncryptionConfigManager.java32 import com.android.adservices.data.adselection.DBProtectedServersEncryptionConfig;
191 List<DBProtectedServersEncryptionConfig> keys =
229 List<DBProtectedServersEncryptionConfig> keys =
284 List<DBProtectedServersEncryptionConfig> encryptionConfigs =
323 private DBProtectedServersEncryptionConfig fromDbEncryptionKey(
325 DBProtectedServersEncryptionConfig.Builder builder =
326 DBProtectedServersEncryptionConfig.builder();
336 private DBEncryptionKey toDbEncryptionKey(DBProtectedServersEncryptionConfig key) {
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/
DAuctionEncryptionKeyFixture.java22 import com.android.adservices.data.adselection.DBProtectedServersEncryptionConfig;
92 public static final DBProtectedServersEncryptionConfig ENCRYPTION_KEY_AUCTION_WITH_COORDINATOR =
93 DBProtectedServersEncryptionConfig.builder()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAuctionServerE2ETest.java114 import com.android.adservices.data.adselection.DBProtectedServersEncryptionConfig;
3061 DBProtectedServersEncryptionConfig dbEncryptionKey = in testGetAdSelectionData_multiCloudOn_refreshFlagOn_fetchesNewKey()
3062 DBProtectedServersEncryptionConfig.builder() in testGetAdSelectionData_multiCloudOn_refreshFlagOn_fetchesNewKey()
3071 List<DBProtectedServersEncryptionConfig> protectedServersEncryptionConfigs = in testGetAdSelectionData_multiCloudOn_refreshFlagOn_fetchesNewKey()
3199 DBProtectedServersEncryptionConfig dbEncryptionKey = in testGetAdSelectionData_multiCloudOn_refreshFlagOff_noNetworkCall()
3200 DBProtectedServersEncryptionConfig.builder() in testGetAdSelectionData_multiCloudOn_refreshFlagOff_noNetworkCall()
3209 List<DBProtectedServersEncryptionConfig> protectedServersEncryptionConfigs = in testGetAdSelectionData_multiCloudOn_refreshFlagOff_noNetworkCall()