/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | EncryptionContextDaoTest.java | 62 private EncryptionContextDao mEncryptionContextDao; field in EncryptionContextDaoTest 74 mEncryptionContextDao = in setup() 84 mEncryptionContextDao.getEncryptionContext( in test_getEncryptionContext_emptyTable_returnsNull() 92 mEncryptionContextDao.insertEncryptionContext(context); in test_getEncryptionContext_returnsContext() 95 mEncryptionContextDao.getEncryptionContext( in test_getEncryptionContext_returnsContext() 105 mEncryptionContextDao.insertEncryptionContext(context1); in test_getEncryptionContext_multipleEntriesInTable_returnsContext() 106 mEncryptionContextDao.insertEncryptionContext(context2); in test_getEncryptionContext_multipleEntriesInTable_returnsContext() 109 mEncryptionContextDao.getEncryptionContext( in test_getEncryptionContext_multipleEntriesInTable_returnsContext() 117 mEncryptionContextDao.getEncryptionContext( in test_insertEncryptionContext_returnsSuccess() 120 mEncryptionContextDao.insertEncryptionContext(getDbEncryptionContext(CONTEXT_ID_1)); in test_insertEncryptionContext_returnsSuccess() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/ |
D | ObliviousHttpRequestContextMarshallerTest.java | 72 private EncryptionContextDao mEncryptionContextDao; field in ObliviousHttpRequestContextMarshallerTest 81 mEncryptionContextDao = in setUp() 89 new ObliviousHttpRequestContextMarshaller(mEncryptionContextDao); in setUp() 96 mEncryptionContextDao.getEncryptionContext( in test_insertContext_success() 114 mEncryptionContextDao.getEncryptionContext( in test_insertContext_success() 130 mEncryptionContextDao.getEncryptionContext( in test_getContext_success() 135 mEncryptionContextDao.insertEncryptionContext( in test_getContext_success() 167 mEncryptionContextDao.getEncryptionContext( in test_getContext_contextMissing_throwsIAE()
|
D | ObliviousHttpEncryptorImplTest.java | 65 private EncryptionContextDao mEncryptionContextDao; field in ObliviousHttpEncryptorImplTest 78 mEncryptionContextDao = in setUp() 85 mEncryptionKeyManagerMock, mEncryptionContextDao, mLightweightExecutor); in setUp() 196 assertThat(mEncryptionContextDao.getEncryptionContext(1L, AUCTION)).isNotNull(); in test_decryptBytes_success() 224 assertThat(mEncryptionContextDao.getEncryptionContext(1L, AUCTION)).isNotNull(); in test_decryptBytes_success_withServerAuctionMediaTypeChange()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | ObliviousHttpEncryptorWithSeedImplTest.java | 67 private EncryptionContextDao mEncryptionContextDao; field in ObliviousHttpEncryptorWithSeedImplTest 78 mEncryptionContextDao = in setUp() 102 mEncryptionContextDao, in test_encryptBytes_success() 142 mEncryptionContextDao, in test_encryptBytes_success_withServerAuctionMediaTypeChange() 177 mEncryptionContextDao, in test_decryptBytes_invalidEncryptedBytes() 195 mEncryptionContextDao, in test_decryptBytes_success() 207 assertThat(mEncryptionContextDao.getEncryptionContext(1L, AUCTION)).isNotNull(); in test_decryptBytes_success() 235 mEncryptionContextDao, in test_decryptBytes_success_withServerAuctionMediaTypeChange() 247 assertThat(mEncryptionContextDao.getEncryptionContext(1L, AUCTION)).isNotNull(); in test_decryptBytes_success_withServerAuctionMediaTypeChange()
|
D | AuctionServerE2ETest.java | 328 private EncryptionContextDao mEncryptionContextDao; field in AuctionServerE2ETest 392 mEncryptionContextDao = serverDb.encryptionContextDao(); in setUp() 1869 mEncryptionContextDao, in testPersistAdSelectionResult_withDecrypt_validRequest_successEmptyUri() 1897 mEncryptionContextDao.getEncryptionContext( in testPersistAdSelectionResult_withDecrypt_validRequest_successEmptyUri() 2755 mEncryptionContextDao, in testGetAdSelectionData_withOhttpGatewayDecryption() 2866 mEncryptionContextDao, in testGetAdSelectionData_withOhttpGatewayDecryption_withServerAuctionMediaTypeChanged() 2965 mEncryptionContextDao, in testGetAdSelectionData_multiCloudOn_success() 2981 mEncryptionContextDao.getEncryptionContext( in testGetAdSelectionData_multiCloudOn_success() 3104 mEncryptionContextDao, in testGetAdSelectionData_multiCloudOn_refreshFlagOn_fetchesNewKey() 3247 mEncryptionContextDao, in testGetAdSelectionData_multiCloudOn_refreshFlagOff_noNetworkCall() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/ |
D | ObliviousHttpRequestContextMarshaller.java | 37 private final EncryptionContextDao mEncryptionContextDao; field in ObliviousHttpRequestContextMarshaller 42 mEncryptionContextDao = encryptionContextDao; in ObliviousHttpRequestContextMarshaller() 52 mEncryptionContextDao.getEncryptionContext( in getAuctionOblivioushttpRequestContext() 82 mEncryptionContextDao.insertEncryptionContext( in insertAuctionEncryptionContext()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | FledgeMaintenanceTasksWorker.java | 54 @NonNull private final EncryptionContextDao mEncryptionContextDao; field in FledgeMaintenanceTasksWorker 86 mEncryptionContextDao = encryptionContextDao; in FledgeMaintenanceTasksWorker() 99 mEncryptionContextDao = in FledgeMaintenanceTasksWorker() 162 mEncryptionContextDao.removeExpiredEncryptionContext(expirationTime); in clearExpiredAdSelectionData()
|