Home
last modified time | relevance | path

Searched refs:persistCacheEntry (Results 1 – 4 of 4) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/cache/
DCacheEntryDaoTest.java86 mCacheEntryDao.persistCacheEntry(mCacheEntry)); in test_CacheEntryPut_Succeeds()
95 mCacheEntryDao.persistCacheEntry(mCacheEntry); in test_CacheEntryGet_Succeeds()
123 mCacheEntryDao.persistCacheEntry(cacheEntry); in test_CacheEntryGetStaleEntry_Failure()
134 mCacheEntryDao.persistCacheEntry(mCacheEntry); in test_CacheEntryDeleteAll_Succeeds()
156 mCacheEntryDao.persistCacheEntry(cacheEntry); in test_CacheEntryDeleteStaleQueries_SmallMaxAge_Succeeds()
181 mCacheEntryDao.persistCacheEntry(entry); in test_CachePrunedToDesiredSizeAndFIFO_Success()
DFledgeHttpCacheTest.java124 verify(mCacheEntryDaoMock).persistCacheEntry(mCacheEntryArgumentCaptor.capture()); in test_CachePutEntry_Succeeds()
146 verify(mCacheEntryDaoMock, times(0)).persistCacheEntry(any(DBCacheEntry.class)); in test_CachePutEntryNoCache_SkipsCache()
156 verify(mCacheEntryDaoMock, times(0)).persistCacheEntry(any(DBCacheEntry.class)); in test_CachePutEntryNoStoreCache_SkipsCache()
217 verify(mCacheEntryDaoMock).persistCacheEntry(mCacheEntryArgumentCaptor.capture()); in test_MaxAgeUpperBounded_GlobalMaxAge()
232 verify(mCacheEntryDaoMock).persistCacheEntry(mCacheEntryArgumentCaptor.capture()); in test_MaxAgeLowerBounded_RequestMaxAge()
245 verify(mCacheEntryDaoMock).persistCacheEntry(mCacheEntryArgumentCaptor.capture()); in test_CacheE2ESetDefaultMaxAge_GarbledMaxAge()
255 verify(mCacheEntryDaoMock).persistCacheEntry(mCacheEntryArgumentCaptor.capture()); in test_CacheE2ESetDefaultMaxAge_MissingMaxAge()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/cache/
DCacheEntryDao.java35 long persistCacheEntry(DBCacheEntry cacheEntry); in persistCacheEntry() method
DFledgeHttpCache.java136 mCacheEntryDao.persistCacheEntry(entry); in put()