Searched refs:getRequestCount (Results 1 – 4 of 4) sorted by relevance
306 int initialRequestCount = mWebServer.getRequestCount(); in testAccessCacheMode_cacheElseNetwork()309 int requestCountAfterFirstLoad = mWebServer.getRequestCount(); in testAccessCacheMode_cacheElseNetwork()315 int requestCountAfterSecondLoad = mWebServer.getRequestCount(); in testAccessCacheMode_cacheElseNetwork()331 int initialRequestCount = mWebServer.getRequestCount(); in testAccessCacheMode_noCache()334 int requestCountAfterFirstLoad = mWebServer.getRequestCount(); in testAccessCacheMode_noCache()340 int requestCountAfterSecondLoad = mWebServer.getRequestCount(); in testAccessCacheMode_noCache()362 int initialRequestCount = mWebServer.getRequestCount(); in testAccessCacheMode_cacheOnly()365 int requestCountAfterFirstLoad = mWebServer.getRequestCount(); in testAccessCacheMode_cacheOnly()1149 assertEquals(1, httpsServer.getRequestCount(SECURE_URL)); in testAllowMixedMode()1155 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
533 public synchronized int getRequestCount() { in getRequestCount() method in CtsTestServer