Home
last modified time | relevance | path

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

/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/data/adselection/
DProtectedServersEncryptionConfigDaoTest.java47 private static final DBProtectedServersEncryptionConfig ENCRYPTION_KEY_AUCTION =
48 DBProtectedServersEncryptionConfig.builder()
56 private static final DBProtectedServersEncryptionConfig ENCRYPTION_KEY_JOIN =
57 DBProtectedServersEncryptionConfig.builder()
65 private static final DBProtectedServersEncryptionConfig ENCRYPTION_KEY_QUERY =
66 DBProtectedServersEncryptionConfig.builder()
73 private static final DBProtectedServersEncryptionConfig ENCRYPTION_KEY_AUCTION_TTL_5SECS =
74 DBProtectedServersEncryptionConfig.builder()
82 private static final DBProtectedServersEncryptionConfig ENCRYPTION_KEY_JOIN_TTL_5SECS =
83 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/protectedaudience/src/com/android/adservices/service/adselection/encryption/
DJoinEncryptionKeyTestUtil.java22 import com.android.adservices.data.adselection.DBProtectedServersEncryptionConfig;
53 static final DBProtectedServersEncryptionConfig ENCRYPTION_KEY_JOIN_WITH_COORDINATOR =
54 DBProtectedServersEncryptionConfig.builder()
70 static final DBProtectedServersEncryptionConfig ENCRYPTION_KEY_JOIN_WITH_COORDINATOR_TTL_1SECS =
71 DBProtectedServersEncryptionConfig.builder()
DProtectedServersEncryptionConfigManagerTest.java63 import com.android.adservices.data.adselection.DBProtectedServersEncryptionConfig;
444 DBProtectedServersEncryptionConfig.builder() in test_fetchAndPersistActiveKeysOfType_persistsJey()
585 DBProtectedServersEncryptionConfig.builder() in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey()
627 DBProtectedServersEncryptionConfig.builder() in test_getLatestOhttpKeyConfig_refreshFlagOff_withExpiredKey_returnsExpiredKey()
677 List<DBProtectedServersEncryptionConfig> databaseEntries = in test_getLatestOhttpKeyConfigOfType_withNoKeys_persistsToDatabase()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DProtectedServersEncryptionConfigManager.java34 import com.android.adservices.data.adselection.DBProtectedServersEncryptionConfig;
203 List<DBProtectedServersEncryptionConfig> keys =
241 List<DBProtectedServersEncryptionConfig> keys =
296 List<DBProtectedServersEncryptionConfig> encryptionConfigs =
335 private DBProtectedServersEncryptionConfig fromDbEncryptionKey(
337 DBProtectedServersEncryptionConfig.Builder builder =
338 DBProtectedServersEncryptionConfig.builder();
348 private DBEncryptionKey toDbEncryptionKey(DBProtectedServersEncryptionConfig key) {
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/
DAuctionEncryptionKeyFixture.java24 import com.android.adservices.data.adselection.DBProtectedServersEncryptionConfig;
102 public static final DBProtectedServersEncryptionConfig ENCRYPTION_KEY_AUCTION_WITH_COORDINATOR =
103 DBProtectedServersEncryptionConfig.builder()
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/adselection/
DAuctionServerIntegrationTest.java156 import com.android.adservices.data.adselection.DBProtectedServersEncryptionConfig;
3177 DBProtectedServersEncryptionConfig dbEncryptionKey = in testGetAdSelectionData_refreshFlagOn_fetchesNewKey()
3178 DBProtectedServersEncryptionConfig.builder() in testGetAdSelectionData_refreshFlagOn_fetchesNewKey()
3187 List<DBProtectedServersEncryptionConfig> protectedServersEncryptionConfigs = in testGetAdSelectionData_refreshFlagOn_fetchesNewKey()
3289 DBProtectedServersEncryptionConfig dbEncryptionKey = in testGetAdSelectionData_refreshFlagOff_noNetworkCall()
3290 DBProtectedServersEncryptionConfig.builder() in testGetAdSelectionData_refreshFlagOff_noNetworkCall()
3299 List<DBProtectedServersEncryptionConfig> protectedServersEncryptionConfigs = in testGetAdSelectionData_refreshFlagOff_noNetworkCall()