/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
D | AwSettingsTest.java | 1219 assertEquals(0, mWebServer.getRequestCount(htmlPath)); in doEnsureSettingHasValue() 1222 assertEquals(1, mWebServer.getRequestCount(htmlPath)); in doEnsureSettingHasValue() 1225 assertEquals(0, mWebServer.getRequestCount(htmlPath)); in doEnsureSettingHasValue() 1622 assertEquals(1, webServer.getRequestCount(httpPath)); in testUserAgentWithTestServer() 1905 assertEquals(0, webServer.getRequestCount(httpPath)); in testBlockNetworkLoadsWithHttpResources() 1914 assertEquals(1, webServer.getRequestCount(httpPath)); in testBlockNetworkLoadsWithHttpResources() 1969 assertEquals(0, webServer.getRequestCount(httpPath)); in testBlockNetworkLoadsWithAudio() 2113 assertEquals(1, webServer.getRequestCount(htmlPath)); in testCacheMode() 2115 assertEquals(1, webServer.getRequestCount(htmlPath)); in testCacheMode() 2119 assertEquals(2, webServer.getRequestCount(htmlPath)); in testCacheMode() [all …]
|
D | AwContentsClientShouldOverrideUrlLoadingTest.java | 503 assertEquals(1, mWebServer.getRequestCount(pageWithLinkToIgnorePath)); in testCanIgnoreLoading() 504 assertEquals(1, mWebServer.getRequestCount(synchronizationPath)); in testCanIgnoreLoading() 505 assertEquals(0, mWebServer.getRequestCount(REDIRECT_TARGET_PATH)); in testCanIgnoreLoading() 575 assertEquals(0, mWebServer.getRequestCount(REDIRECT_TARGET_PATH)); in testNotCalledForPostNavigations() 582 return mWebServer.getRequestCount(REDIRECT_TARGET_PATH) == 1; in testNotCalledForPostNavigations() 622 return mWebServer.getRequestCount(REDIRECT_TARGET_PATH) == 1; in testCalledFor302AfterPostNavigations() 650 assertEquals(0, mWebServer.getRequestCount(REDIRECT_TARGET_PATH)); in testNotCalledForIframeHttpNavigations() 657 return mWebServer.getRequestCount(REDIRECT_TARGET_PATH) == 1; in testNotCalledForIframeHttpNavigations()
|
D | LoadUrlTest.java | 235 assertEquals(2, webServer.getRequestCount(path)); in testReloadWithExtraHeaders() 273 assertEquals(2, webServer.getRequestCount(path)); in testRedirectAndReloadWithExtraHeaders() 326 assertEquals(2, webServer.getRequestCount(path)); in testRendererNavigationAndGoBackWithExtraHeaders()
|
D | AwContentsTest.java | 267 assertEquals(1, webServer.getRequestCount(pagePath)); in testClearCacheMemoryAndDisk() 279 assertEquals(1, webServer.getRequestCount(pagePath)); in testClearCacheMemoryAndDisk() 291 assertEquals(2, webServer.getRequestCount(pagePath)); in testClearCacheMemoryAndDisk()
|
D | AwContentsClientShouldInterceptRequestTest.java | 366 assertEquals(0, mWebServer.getRequestCount("/" + CommonResources.ABOUT_FILENAME)); in testCanInterceptMainFrame() 396 assertEquals(0, mWebServer.getRequestCount("/" + CommonResources.ABOUT_FILENAME)); in testNullInputStreamCausesErrorForMainFrame()
|
/external/apache-http/src/org/apache/http/ |
D | HttpConnectionMetrics.java | 43 long getRequestCount(); in getRequestCount() method
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/ |
D | HttpOverSpdyTest.java | 206 assertEquals(1, cache.getRequestCount()); in responsesAreCached() 211 assertEquals(3, cache.getRequestCount()); in responsesAreCached() 224 assertEquals(1, cache.getRequestCount()); in conditionalCache() 228 assertEquals(2, cache.getRequestCount()); in conditionalCache()
|
/external/apache-http/src/org/apache/http/impl/ |
D | HttpConnectionMetricsImpl.java | 84 public long getRequestCount() { in getRequestCount() method in HttpConnectionMetricsImpl
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/ |
D | HttpResponseCacheTest.java | 323 assertEquals(2, cache.getRequestCount()); in testResponseCaching() 351 assertEquals(2, cache.getRequestCount()); in secureResponseCaching() 399 assertEquals(4, cache.getRequestCount()); // 2 requests + 2 redirects in responseCachingAndRedirects() 451 assertEquals(4, cache.getRequestCount()); // 2 direct + 2 redirect = 4 in secureResponseCachingAndRedirects() 487 assertEquals(4, cache.getRequestCount()); // 2 direct + 2 redirect = 4 in secureResponseCachingAndProtocolRedirects() 1275 assertEquals(1, cache.getRequestCount()); in statisticsConditionalCacheMiss() 1280 assertEquals(3, cache.getRequestCount()); in statisticsConditionalCacheMiss() 1294 assertEquals(1, cache.getRequestCount()); in statisticsConditionalCacheHit() 1299 assertEquals(3, cache.getRequestCount()); in statisticsConditionalCacheHit() 1309 assertEquals(1, cache.getRequestCount()); in statisticsFullCacheHit() [all …]
|
D | URLConnectionTest.java | 423 if (server.getRequestCount() == 3) { in testServerClosesOutput() 601 assertEquals(0, server.getRequestCount()); in connectViaHttpsToUntrustedServer() 975 assertEquals(1, server.getRequestCount()); in unauthorizedResponseHandling() 1735 assertEquals(1, server.getRequestCount()); in response305UseProxy() 1790 assertEquals(1, server.getRequestCount()); in test307Redirect() 1797 assertEquals(2, server.getRequestCount()); in test307Redirect()
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
D | MockWebServer.java | 155 public int getRequestCount() { in getRequestCount() method in MockWebServer
|
/external/chromium_org/net/test/android/javatests/src/org/chromium/net/test/util/ |
D | TestWebServer.java | 272 public int getRequestCount(String requestPath) { in getRequestCount() method in TestWebServer
|
/external/okhttp/src/main/java/com/squareup/okhttp/ |
D | HttpResponseCache.java | 399 public synchronized int getRequestCount() { in getRequestCount() method in HttpResponseCache
|