Searched refs:HttpCache (Results 1 – 10 of 10) sorted by relevance
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/cache/ |
D | CacheProviderFactory.java | 36 public static HttpCache create(Context context, Flags flags) { in create() 50 public static HttpCache createNoOpCache() { in createNoOpCache() 59 static class NoOpCache implements HttpCache {
|
D | HttpCache.java | 24 public interface HttpCache { interface
|
D | FledgeHttpCache.java | 40 public class FledgeHttpCache implements HttpCache {
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/cache/ |
D | FledgeHttpCacheTest.java | 79 @Mock private HttpCache.CacheObserver mObserver; 137 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/service-core/java/com/android/adservices/service/common/httpclient/ |
D | AdServicesHttpsClient.java | 38 import com.android.adservices.service.common.cache.HttpCache; 103 private final HttpCache mCache; 142 @NonNull ExecutorService executorService, @NonNull HttpCache cache) { in AdServicesHttpsClient() 159 @NonNull HttpCache cache) { in AdServicesHttpsClient() 930 public HttpCache getAssociatedCache() { in getAssociatedCache()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/ |
D | KAnonCallerImplFullIntegrationTests.java | 54 import com.android.adservices.service.common.cache.HttpCache; 149 HttpCache cache = new FledgeHttpCache(cacheEntryDao, MAX_AGE_SECONDS, MAX_ENTRIES); in setup()
|
D | KAnonCallerImplTest.java | 67 import com.android.adservices.service.common.cache.HttpCache; 168 HttpCache cache = new FledgeHttpCache(cacheEntryDao, MAX_AGE_SECONDS, MAX_ENTRIES); in setup()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/httpclient/ |
D | AdServicesHttpsClientTest.java | 72 import com.android.adservices.service.common.cache.HttpCache; 152 private HttpCache mCache; 695 HttpCache cache = CacheProviderFactory.create(CONTEXT, disableCacheFlags); in testFetchPayloadCacheDisabledSkipsCache()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | FrequencyCapFilteringE2ETest.java | 87 import com.android.adservices.service.common.cache.HttpCache; 187 @Mock private HttpCache mHttpCacheMock;
|
D | AdSelectionE2ETest.java | 148 import com.android.adservices.service.common.cache.HttpCache; 4341 HttpCache cache = CacheProviderFactory.create(mSpyContext, mFlags); in testRunAdSelectionMultipleCAsJSCachedSuccess_preV3BiddingLogic() 4396 verify(mCacheObserver, timeout(3000)).update(HttpCache.CacheEventType.CLEANUP); in testRunAdSelectionMultipleCAsJSCachedSuccess_preV3BiddingLogic() 4469 HttpCache cache = CacheProviderFactory.create(mSpyContext, mFlags); in testRunAdSelectionMultipleCAsJSCachedSuccess_v3BiddingLogic() 4524 verify(mCacheObserver, timeout(3000)).update(HttpCache.CacheEventType.CLEANUP); in testRunAdSelectionMultipleCAsJSCachedSuccess_v3BiddingLogic()
|