Home
last modified time | relevance | path

Searched refs:setResponseCode (Results 1 – 8 of 8) sorted by relevance

/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/http/
DHttpResponse.java58 public abstract Builder setResponseCode(int responseCode); in setResponseCode() method in HttpResponse.Builder
72 .setResponseCode(0) in builder()
DHttpClient.java135 responseBuilder.setResponseCode(responseCode); in getHttpResponse()
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/http/
DHttpClientTest.java80 .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()
231 .setResponseCode(HttpURLConnection.HTTP_OK) in request_getResponseBodyFailed_expectThrowsException()
/frameworks/av/media/mtp/
DMtpResponsePacket.h44 inline void setResponseCode(MtpResponseCode code) in setResponseCode() function
DMtpServer.cpp458 mResponse.setResponseCode(response); in handleRequest()
/frameworks/libs/service_entitlement/tests/utils/com/android/libraries/entitlement/testing/
DFakeURLStreamHandler.java192 .setResponseCode(0) in builder()
200 public abstract Builder setResponseCode(int value); in setResponseCode() method in FakeURLStreamHandler.FakeResponse.Builder
/frameworks/base/core/tests/coretests/src/android/net/http/
DAbstractProxyTest.java64 .setResponseCode(200) in testConnectToHttps()
114 .setResponseCode(200) in testConnectViaProxy()
156 .setResponseCode(200) in testConnectViaHttpProxyToHttps()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java260 MockResponse response = new MockResponse().setResponseCode(status); in buildResponse()