Searched refs:setResponseCode (Results 1 – 8 of 8) sorted by relevance
58 public abstract Builder setResponseCode(int responseCode); in setResponseCode() method in HttpResponse.Builder72 .setResponseCode(0) in builder()
135 responseBuilder.setResponseCode(responseCode); in getHttpResponse()
80 .setResponseCode(HttpURLConnection.HTTP_OK) in request_contentTypeXml_returnsXmlBody()111 .setResponseCode(HttpURLConnection.HTTP_BAD_REQUEST) in request_httpGetResponseBadRequest_throwsException()142 .setResponseCode(HttpURLConnection.HTTP_OK) in request_contentTypeXml_returnsXmlBody_useSpecificNetwork()183 .setResponseCode(HttpURLConnection.HTTP_OK) in request_postJson_doNotEscapeForwardSlash()
44 inline void setResponseCode(MtpResponseCode code) in setResponseCode() function
458 mResponse.setResponseCode(response); in handleRequest()
177 .setResponseCode(0) in builder()184 public abstract Builder setResponseCode(int value); in setResponseCode() method in FakeURLStreamHandler.FakeResponse.Builder
64 .setResponseCode(200) in testConnectToHttps()114 .setResponseCode(200) in testConnectViaProxy()156 .setResponseCode(200) in testConnectViaHttpProxyToHttps()
260 MockResponse response = new MockResponse().setResponseCode(status); in buildResponse()