Home
last modified time | relevance | path

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

/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/http/
DHttpClientTest.java81 .setResponseCode(HttpURLConnection.HTTP_OK) in request_contentTypeXml_returnsXmlBody()
112 .setResponseCode(HttpURLConnection.HTTP_BAD_REQUEST) in request_httpGetResponseBadRequest_throwsException()
143 .setResponseCode(HttpURLConnection.HTTP_OK) in request_contentTypeXml_returnsXmlBody_useSpecificNetwork()
184 .setResponseCode(HttpURLConnection.HTTP_OK) in request_postJson_doNotEscapeForwardSlash()
232 .setResponseCode(HttpURLConnection.HTTP_OK) in request_getResponseBodyFailed_expectThrowsException()
253 .setResponseCode(HttpURLConnection.HTTP_OK) in history()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/http/
DHttpResponse.java63 public abstract Builder setResponseCode(int responseCode); in setResponseCode() method in HttpResponse.Builder
82 .setResponseCode(0) in builder()
DHttpClient.java167 responseBuilder.setResponseCode(responseCode); in getHttpResponse()
/frameworks/av/media/mtp/
DMtpResponsePacket.h44 inline void setResponseCode(MtpResponseCode code) in setResponseCode() function
DMtpServer.cpp462 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.java261 MockResponse response = new MockResponse().setResponseCode(status); in buildResponse()