Home
last modified time | relevance | path

Searched refs:CacheEventType (Results 1 – 5 of 5) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/cache/
DFledgeHttpCache.java90 notifyObservers(CacheEventType.GET); in get()
137 notifyObservers(CacheEventType.PUT); in put()
172 notifyObservers(CacheEventType.DELETE); in delete()
187 notifyObservers(CacheEventType.CLEANUP); in cleanUp()
196 public void notifyObservers(CacheEventType cacheEvent) { in notifyObservers()
234 public void update(CacheEventType cacheEvent) { in update()
DHttpCache.java58 enum CacheEventType { enum
77 void notifyObservers(CacheEventType cacheEvent); in notifyObservers()
81 void update(CacheEventType cacheEvent); in update()
DCacheProviderFactory.java106 public void notifyObservers(CacheEventType cacheEvent) {} in notifyObservers()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/cache/
DFledgeHttpCacheTest.java137 verify(mObserver).update(HttpCache.CacheEventType.PUT); in test_CachePutEntry_Succeeds()
147 verify(mObserver, never()).update(HttpCache.CacheEventType.PUT); in test_CachePutEntryNoCache_SkipsCache()
157 verify(mObserver, never()).update(HttpCache.CacheEventType.PUT); in test_CachePutEntryNoStoreCache_SkipsCache()
170 verify(mObserver).update(HttpCache.CacheEventType.GET); in test_CacheGetEntry_Succeeds()
190 verify(mObserver).update(HttpCache.CacheEventType.CLEANUP); in test_CacheCleanUp_Succeeds()
197 verify(mObserver).update(HttpCache.CacheEventType.DELETE); in test_CacheDelete_DeletesAll()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAdSelectionE2ETest.java4396 verify(mCacheObserver, timeout(3000)).update(HttpCache.CacheEventType.CLEANUP); in testRunAdSelectionMultipleCAsJSCachedSuccess_preV3BiddingLogic()
4524 verify(mCacheObserver, timeout(3000)).update(HttpCache.CacheEventType.CLEANUP); in testRunAdSelectionMultipleCAsJSCachedSuccess_v3BiddingLogic()