Home
last modified time | relevance | path

Searched refs:DBEncryptionContext (Results 1 – 7 of 7) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DEncryptionContextDaoTest.java91 DBEncryptionContext context = getDbEncryptionContext(CONTEXT_ID_1); in test_getEncryptionContext_returnsContext()
102 DBEncryptionContext context1 = getDbEncryptionContext(CONTEXT_ID_1); in test_getEncryptionContext_multipleEntriesInTable_returnsContext()
103 DBEncryptionContext context2 = getDbEncryptionContext(CONTEXT_ID_2); in test_getEncryptionContext_multipleEntriesInTable_returnsContext()
129 DBEncryptionContext encryptionContext = getDbEncryptionContext(CONTEXT_ID_1); in test_removeExpiredEncryptionContext_removesExpiredEntries()
130 DBEncryptionContext encryptionContext2 = in test_removeExpiredEncryptionContext_removesExpiredEntries()
151 private DBEncryptionContext.Builder getDefaultDBEncryptionContextBuilder() { in getDefaultDBEncryptionContextBuilder()
152 return DBEncryptionContext.builder() in getDefaultDBEncryptionContextBuilder()
162 private DBEncryptionContext getDbEncryptionContext(long contextId) throws Exception { in getDbEncryptionContext()
166 private DBEncryptionContext getExpectedDbEncryptionContext(DBEncryptionContext insertedContext) in getExpectedDbEncryptionContext()
168 return DBEncryptionContext.builder() in getExpectedDbEncryptionContext()
DDBEncryptionContextTest.java57 DBEncryptionContext dbEncryptionContext = in testBuildEncryptionContext_success()
58 DBEncryptionContext.builder() in testBuildEncryptionContext_success()
77 assertThrows(IllegalStateException.class, () -> DBEncryptionContext.builder().build()); in test_unsetFields_throwsISE()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DEncryptionContextDao.java43 public abstract DBEncryptionContext getEncryptionContext( in getEncryptionContext()
48 public abstract void insertEncryptionContext(DBEncryptionContext context); in insertEncryptionContext()
65 DBEncryptionContext.builder() in persistEncryptionContext()
85 DBEncryptionContext dbEncryptionContext = in getEncryptionContextForIdAndKeyType()
DDBEncryptionContext.java41 public abstract class DBEncryptionContext { class
84 public static DBEncryptionContext.Builder builder() { in builder()
89 public static DBEncryptionContext create( in create()
135 public abstract DBEncryptionContext build(); in build()
DAdSelectionServerDatabase.java39 DBEncryptionContext.class,
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DObliviousHttpRequestContextMarshaller.java22 import com.android.adservices.data.adselection.DBEncryptionContext;
51 DBEncryptionContext dbEncryptionContext = in getAuctionOblivioushttpRequestContext()
83 DBEncryptionContext.builder() in insertAuctionEncryptionContext()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/
DObliviousHttpRequestContextMarshallerTest.java29 import com.android.adservices.data.adselection.DBEncryptionContext;
113 DBEncryptionContext dbEncryptionContext = in test_insertContext_success()
136 DBEncryptionContext.builder() in test_getContext_success()