Searched refs:getRequestCount (Results 1 – 4 of 4) sorted by relevance
296 int initialRequestCount = mWebServer.getRequestCount(); in testAccessCacheMode_cacheElseNetwork()299 int requestCountAfterFirstLoad = mWebServer.getRequestCount(); in testAccessCacheMode_cacheElseNetwork()305 int requestCountAfterSecondLoad = mWebServer.getRequestCount(); in testAccessCacheMode_cacheElseNetwork()321 int initialRequestCount = mWebServer.getRequestCount(); in testAccessCacheMode_noCache()324 int requestCountAfterFirstLoad = mWebServer.getRequestCount(); in testAccessCacheMode_noCache()330 int requestCountAfterSecondLoad = mWebServer.getRequestCount(); in testAccessCacheMode_noCache()352 int initialRequestCount = mWebServer.getRequestCount(); in testAccessCacheMode_cacheOnly()355 int requestCountAfterFirstLoad = mWebServer.getRequestCount(); in testAccessCacheMode_cacheOnly()1145 assertEquals(1, httpsServer.getRequestCount(SECURE_URL)); in testAllowMixedMode()1151 assertEquals(2, httpsServer.getRequestCount(SECURE_URL)); in testAllowMixedMode()[all …]
144 assertEquals(1, cache.getRequestCount()); in testStatisticsTracking()153 assertEquals(3, cache.getRequestCount()); in testStatisticsTracking()
298 public int getRequestCount(String requestPath) { in getRequestCount() method in TestWebServer
478 public synchronized int getRequestCount() { in getRequestCount() method in CtsTestServer