Home
last modified time | relevance | path

Searched refs:setResponse (Results 1 – 25 of 37) sorted by relevance

12

/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DClientOnPageFinishedTest.java125 final String redirectTargetUrl = webServer.setResponse(redirectTargetPath, in testOnPageFinishedCalledAfterRedirectedUrlIsOverridden()
162 final String testUrl = webServer.setResponse(testPath, testHtml, null); in testOnPageFinishedNotCalledForValidSubresources()
163 final String syncUrl = webServer.setResponse(syncPath, testHtml, null); in testOnPageFinishedNotCalledForValidSubresources()
206 final String testUrl = webServer.setResponse(testPath, testHtml, null); in testOnPageFinishedNotCalledForHistoryApi()
208 final String syncUrl = webServer.setResponse(syncPath, testHtml, null); in testOnPageFinishedNotCalledForHistoryApi()
258 final String testUrl = webServer.setResponse(testPath, testHtml, null); in doTestOnPageFinishedCalledForHrefNavigations()
DNavigationHistoryTest.java81 return mWebServer.setResponse(PAGE_1_PATH,
89 return mWebServer.setResponse(PAGE_2_PATH,
97 return mWebServer.setResponse(PAGE_2_PATH,
208 final String url = mWebServer.setResponse("/favicon.html",
241 return mWebServer.setResponse(LOGIN_PAGE_PATH,
258 return mWebServer.setResponse(LOGIN_RESPONSE_PAGE_PATH,
DLoadUrlTest.java152 final String url = webServer.setResponse( in testLoadUrlWithExtraHeaders()
185 final String url = webServer.setResponse( in testNoOverridingOfExistingHeaders()
222 final String url = webServer.setResponse(path, in testReloadWithExtraHeaders()
256 final String url = webServer.setResponse(path, in testRedirectAndReloadWithExtraHeaders()
297 final String nextUrl = webServer.setResponse(nextPath, in testRendererNavigationAndGoBackWithExtraHeaders()
301 final String url = webServer.setResponse(path, in testRendererNavigationAndGoBackWithExtraHeaders()
DCookieManagerTest.java74 String url = webServer.setResponse(path, responseStr, null); in testAcceptCookie()
86 url = webServer.setResponse(path, responseStr, responseHeaders); in testAcceptCookie()
93 url = webServer.setResponse(path, responseStr, null); in testAcceptCookie()
104 url = webServer.setResponse(path, responseStr, responseHeaders); in testAcceptCookie()
421 return webServer.setResponse(path, response, responseHeaders); in makeCookieUrl()
434 return webServer.setResponse(path, responseStr, null); in makeScriptLinkUrl()
608 return webServer.setResponse(path, responseStr, null); in makeIframeUrl()
623 return webServer.setResponse(path, response, null); in makeCookieScriptUrl()
DAwContentsClientFaviconTest.java115 final String pageUrl = mWebServer.setResponse(FAVICON1_PAGE_URL, FAVICON1_PAGE_HTML, in testReceiveBasicFavicon()
140 final String pageUrl = mWebServer.setResponse(FAVICON1_PAGE_URL, FAVICON1_PAGE_HTML, in testDoNotMakeRequestForFaviconAfter404()
163 final String pageUrl = mWebServer.setResponse(TOUCHICON_REL_URL, TOUCHICON_REL_PAGE_HTML, in testReceiveBasicTouchIconLinkRel()
DAwQuotaManagerBridgeTest.java145 mWebServer.setResponse(cachedFilePath, cachedFileContents, null); in useAppCache()
151 mWebServer.setResponse(manifestPath, manifestContents, manifestHeaders); in useAppCache()
156 String url = mWebServer.setResponse(pagePath, pageContents, null); in useAppCache()
DLoadDataWithBaseUrlTest.java118 final String scriptUrl = webServer.setResponse(SCRIPT_FILE, SCRIPT_JS, in testScriptLoad()
137 final String frameUrl = webServer.setResponse("/" + CommonResources.ABOUT_FILENAME, in testSameOrigin()
156 final String frameUrl = webServer.setResponse("/" + CommonResources.ABOUT_FILENAME, in testCrossOrigin()
244 final String historyUrl = webServer.setResponse("/" + CommonResources.ABOUT_FILENAME, in testHistoryUrlNavigation()
DAwContentsClientOnFormResubmissionTest.java105 String url = mServer.setResponse("/form", LOAD_RESPONSE, null); in doReload()
112 mServer.setResponse("/form", RELOAD_RESPONSE, null); in doReload()
DAwContentsClientVisitedHistoryTest.java75 final String pageUrl = webServer.setResponse(path, html, null); in testUpdateVisitedHistoryCallback()
116 final String pageUrl = webServer.setResponse(path, html, null); in testGetVisitedHistoryExerciseCodePath()
DAwContentsTest.java265 final String pageUrl = webServer.setResponse( in testClearCacheMemoryAndDisk()
334 final String pageUrl = webServer.setResponse("/favicon.html", in testGetFavicon()
382 final String pageUrl = webServer.setResponse( in testDownload()
486 final String pageUrl = webServer.setResponse( in testCanInjectHeaders()
525 webServer.setResponse(pagePath, "<html><body>hello world</body></html>", null); in testSslPreferences()
DAwContentsClientAutoLoginTest.java40 final String pageUrl = webServer.setResponse(path, html, headers); in autoLoginTestHelper()
DCookieManagerStartupTest.java68 String url = webServer.setResponse(path, CommonResources.ABOUT_HTML, null); in testStartup()
DGetTitleTest.java67 final String url = webServer.setResponse(filename, html, null); in loadFromUrlAndGetTitle()
DMediaAccessPermissionRequestTest.java62 mWebRTCPage = mTestWebServer.setResponse("/WebRTC", DATA, in setUp()
DAwSettingsTest.java1224 final String url = mWebServer.setResponse(htmlPath, "response", null); in doEnsureSettingHasValue()
1736 final String url = webServer.setResponse(httpPath, "foo", null); in testUserAgentWithTestServer()
2071 final String audioUrl = webServer.setResponse(httpPath, "1", null); in testBlockNetworkLoadsWithAudio()
2230 final String url = webServer.setResponse(htmlPath, "response", null); in testCacheMode()
2250 final String urlNotInCache = webServer.setResponse(htmlNotInCachePath, "", null); in testCacheMode()
2280 final String url = webServer.setResponse(htmlPath, "response", null); in testCacheModeWithBlockedNetworkLoads()
2339 mHtmlUrl = webServer.setResponse( in ManifestTestHelper()
2342 webServer.setResponse( in ManifestTestHelper()
2786 httpServer.setResponse(jsUrl, "window.loaded_js = 42;", null); in testAllowMixedMode()
2794 String fullSecureUrl = httpsServer.setResponse(secureUrl, secureHtml, null); in testAllowMixedMode()
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
DTransitionTest.java181 final String url2 = webServer.setResponse(URL_2, URL_2_DATA, null); in testAddStylesheetToTransitionCalled()
202 final String url3 = webServer.setResponse(URL_3, in testAddStylesheetToTransitionCalled()
233 final String url2 = webServer.setResponse(URL_2, URL_2_DATA, null); in testAddStylesheetToTransitionNotCalled()
246 final String url3 = webServer.setResponse(URL_3, URL_3_DATA, null); in testAddStylesheetToTransitionNotCalled()
275 final String url2 = webServer.setResponse(URL_2, URL_2_DATA, null); in testParseTransitionEnteringColor()
294 final String url3 = webServer.setResponse(URL_3, in testParseTransitionEnteringColor()
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DCachingCorrectnessTest.cpp76 resource->setResponse(response); in resourceFromResourceResponse()
88 …resource->setResponse(ResourceResponse(KURL(ParsedURLString, kResourceURL), "text/html", 0, nullAt… in resourceFromResourceRequest()
407 firstResource->setResponse(fresh200Response); in TEST_F()
441 firstResource->setResponse(fresh200Response); in TEST_F()
493 firstResource->setResponse(fresh200Response);
528 firstResource->setResponse(fresh200Response);
563 firstResource->setResponse(fresh200Response);
DRawResourceTest.cpp141 raw->setResponse(response); in TEST()
179 raw->setResponse(response); in TEST()
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/
DAuthenticationHelperImpl.java325 authorization.setResponse(response); in getAuthorization()
341 authorization.setResponse(response); in getAuthorization()
391 authorization.setResponse(response); in getAuthorization()
407 authorization.setResponse(response); in getAuthorization()
/external/nist-sip/java/javax/sip/header/
DAuthenticationInfoHeader.java21 void setResponse(String response) throws ParseException; in setResponse() method
DAuthorizationHeader.java31 void setResponse(String response) throws ParseException; in setResponse() method
/external/smack/src/org/jivesoftware/smackx/workgroup/ext/macros/
DMacro.java56 public void setResponse(String response) { in setResponse() method in Macro
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/
DImagePageGenerator.java62 return webServer.setResponse(pagePath, getPageTemplateSource(imagePath), null); in getPageUrl()
DVideoTestWebServer.java71 mFullScreenVideoTestURL = mTestWebServer.setResponse("/" + fullScreenVideoPath, in initFullScreenVideoTest()
/external/nist-sip/java/gov/nist/javax/sip/header/
DAuthenticationInfo.java203 public void setResponse(String response) throws ParseException { in setResponse() method in AuthenticationInfo

12