Searched refs:DBEncryptionContext (Results 1 – 7 of 7) sorted by relevance
91 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()
57 DBEncryptionContext dbEncryptionContext = in testBuildEncryptionContext_success()58 DBEncryptionContext.builder() in testBuildEncryptionContext_success()77 assertThrows(IllegalStateException.class, () -> DBEncryptionContext.builder().build()); in test_unsetFields_throwsISE()
43 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()
41 public abstract class DBEncryptionContext { class84 public static DBEncryptionContext.Builder builder() { in builder()89 public static DBEncryptionContext create( in create()135 public abstract DBEncryptionContext build(); in build()
39 DBEncryptionContext.class,
22 import com.android.adservices.data.adselection.DBEncryptionContext;51 DBEncryptionContext dbEncryptionContext = in getAuctionOblivioushttpRequestContext()83 DBEncryptionContext.builder() in insertAuctionEncryptionContext()
29 import com.android.adservices.data.adselection.DBEncryptionContext;113 DBEncryptionContext dbEncryptionContext = in test_insertContext_success()136 DBEncryptionContext.builder() in test_getContext_success()