Home
last modified time | relevance | path

Searched refs:statusCode (Results 1 – 25 of 74) sorted by relevance

123

/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
DHttpResponseException.java15 private int statusCode; field in HttpResponseException
18 public HttpResponseException(int statusCode) { in HttpResponseException() argument
20 this.statusCode = statusCode; in HttpResponseException()
23 public HttpResponseException(String detailMessage, int statusCode) { in HttpResponseException() argument
25 this.statusCode = statusCode; in HttpResponseException()
28 public HttpResponseException(String detailMessage, int statusCode, List responseHeaders) { in HttpResponseException() argument
30 this.statusCode = statusCode; in HttpResponseException()
34 public HttpResponseException(String message, Throwable cause, int statusCode) { in HttpResponseException() argument
36 this.statusCode = statusCode; in HttpResponseException()
39 public HttpResponseException(Throwable cause, int statusCode) { in HttpResponseException() argument
[all …]
/external/nist-sip/java/gov/nist/javax/sip/header/
DStatusLine.java57 protected int statusCode; field in StatusLine
78 if (sl.statusCode != 0) { in match()
80 int hiscode = sl.statusCode; in match()
81 String codeString = Integer.toString(sl.statusCode); in match()
82 String mycode = Integer.toString(statusCode); in match()
86 if (statusCode != sl.statusCode) in match()
116 String encoding = SIPConstants.SIP_VERSION_STRING + SP + statusCode; in encode()
134 return statusCode; in getStatusCode()
154 public void setStatusCode(int statusCode) { in setStatusCode() argument
155 this.statusCode = statusCode; in setStatusCode()
/external/deqp/scripts/log/
Dlog_parser.py57 def __init__ (self, name, statusCode, statusDetails, log): argument
59 self.statusCode = statusCode
64 return "%s: %s (%s)" % (self.name, self.statusCode, self.statusDetails)
143 statusCode = ' '.join(args[1:])
144 statusDetails = statusCode
146 if not StatusCode.isValid(statusCode):
148 if statusCode == "Watchdog timeout occurred.":
149 statusCode = StatusCode.TIMEOUT
151 statusCode = StatusCode.CRASH
154 …self.testCaseResults.append(TestCaseResult(self.curCaseName, statusCode, statusDetails, self.curRe…
[all …]
/external/volley/src/main/java/com/android/volley/toolbox/
DBasicNetwork.java124 int statusCode = httpResponse.getStatusCode(); in performRequest() local
128 if (statusCode == HttpURLConnection.HTTP_NOT_MODIFIED) { in performRequest()
161 logSlowRequests(requestLifetime, request, responseContents, statusCode); in performRequest()
163 if (statusCode < 200 || statusCode > 299) { in performRequest()
167 statusCode, in performRequest()
177 int statusCode; in performRequest()
179 statusCode = httpResponse.getStatusCode(); in performRequest()
183 VolleyLog.e("Unexpected response code %d for %s", statusCode, request.getUrl()); in performRequest()
188 statusCode, in performRequest()
193 if (statusCode == HttpURLConnection.HTTP_UNAUTHORIZED in performRequest()
[all …]
DHttpResponse.java37 public HttpResponse(int statusCode, List<Header> headers) { in HttpResponse() argument
38 this(statusCode, headers, /* contentLength= */ -1, /* content= */ null); in HttpResponse()
51 int statusCode, List<Header> headers, int contentLength, InputStream content) { in HttpResponse() argument
52 mStatusCode = statusCode; in HttpResponse()
DAdaptedHttpStack.java55 int statusCode = apacheResp.getStatusLine().getStatusCode(); in executeRequest() local
64 return new HttpResponse(statusCode, headerList); in executeRequest()
73 statusCode, in executeRequest()
/external/volley/src/main/java/com/android/volley/
DNetworkResponse.java43 int statusCode, in NetworkResponse() argument
48 this(statusCode, data, headers, toAllHeaderList(headers), notModified, networkTimeMs); in NetworkResponse()
61 int statusCode, in NetworkResponse() argument
66 this(statusCode, data, toHeaderMap(allHeaders), allHeaders, notModified, networkTimeMs); in NetworkResponse()
82 int statusCode, byte[] data, Map<String, String> headers, boolean notModified) { in NetworkResponse() argument
83 this(statusCode, data, headers, notModified, /* networkTimeMs= */ 0); in NetworkResponse()
120 int statusCode, in NetworkResponse() argument
126 this.statusCode = statusCode; in NetworkResponse()
139 public final int statusCode; field in NetworkResponse
/external/deqp/executor/tools/
DxeExtractValues.cpp45 : statusCode(false) in CommandLine()
51 bool statusCode; member
60 xe::TestStatusCode statusCode; member
156 tagResult.statusCode = caseData->getStatusCode(); in testCaseResultComplete()
168 …if ((parseResult != xe::TestResultParser::PARSERESULT_ERROR && fullResult.statusCode != xe::TESTST… in testCaseResultComplete()
169 …(tagResult.statusCode == xe::TESTSTATUSCODE_LAST && fullResult.statusCode != xe::TESTSTATUSCODE_LA… in testCaseResultComplete()
171 tagResult.statusCode = fullResult.statusCode; in testCaseResultComplete()
174 else if (tagResult.statusCode == xe::TESTSTATUSCODE_LAST) in testCaseResultComplete()
177 tagResult.statusCode = xe::TESTSTATUSCODE_INTERNAL_ERROR; in testCaseResultComplete()
230 if (cmdLine.statusCode) in printTaggedValues()
[all …]
DxeTestLogCompare.cpp155 header.statusCode = caseData->getStatusCode(); in testCaseResultComplete()
158 if (header.statusCode == xe::TESTSTATUSCODE_LAST) in testCaseResultComplete()
251 headers[ndx].statusCode = xe::TESTSTATUSCODE_LAST; in getTestResultHeaders()
321 if (iter->statusCode != headers[0].statusCode) in runCompare()
337 …dst << " " << batchNames[ndx] << ": " << getStatusCodeName(headers[ndx].statusCode) << " (" << he… in runCompare()
344 …(cmdLine.outValue == OUTPUTVALUE_STATUS_CODE ? getStatusCodeName(iter->statusCode) : iter->statusD… in runCompare()
/external/grpc-grpc/src/csharp/Grpc.Core/
DStatus.cs36 readonly StatusCode statusCode; field
44 public Status(StatusCode statusCode, string detail) in Status()
46 this.statusCode = statusCode; in Status()
57 return statusCode;
77 return string.Format("Status(StatusCode={0}, Detail=\"{1}\")", statusCode, detail); in ToString()
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DTestHttpResponse.java24 private int statusCode; field in TestHttpResponse
33 this.statusCode = 200; in TestHttpResponse()
37 public TestHttpResponse(int statusCode, String responseBody) { in TestHttpResponse() argument
38 this.statusCode = statusCode; in TestHttpResponse()
42 public TestHttpResponse(int statusCode, String responseBody, Header... headers) { in TestHttpResponse() argument
43 this(statusCode, responseBody.getBytes(UTF_8), headers); in TestHttpResponse()
46 public TestHttpResponse(int statusCode, byte[] responseBody, Header... headers) { in TestHttpResponse() argument
47 this.statusCode = statusCode; in TestHttpResponse()
237 return statusCode;
241 return "HTTP status " + statusCode;
DFakeHttp.java21 …public static void addPendingHttpResponse(int statusCode, String responseBody, Header... headers) { in addPendingHttpResponse() argument
22 getFakeHttpLayer().addPendingHttpResponse(statusCode, responseBody, headers); in addPendingHttpResponse()
34 …public static void addPendingHttpResponseWithContentType(int statusCode, String responseBody, Head… in addPendingHttpResponseWithContentType() argument
35 getFakeHttpLayer().addPendingHttpResponse(statusCode, responseBody, contentType); in addPendingHttpResponseWithContentType()
170 public static void setDefaultHttpResponse(int statusCode, String responseBody) { in setDefaultHttpResponse() argument
171 getFakeHttpLayer().setDefaultHttpResponse(statusCode, responseBody); in setDefaultHttpResponse()
/external/apache-http/src/org/apache/http/message/
DBasicStatusLine.java66 private final int statusCode; field in BasicStatusLine
80 public BasicStatusLine(final ProtocolVersion version, int statusCode, in BasicStatusLine() argument
87 if (statusCode < 0) { in BasicStatusLine()
92 this.statusCode = statusCode; in BasicStatusLine()
102 return this.statusCode; in getStatusCode()
/external/apache-http/src/org/apache/http/client/
DHttpResponseException.java45 private final int statusCode; field in HttpResponseException
47 public HttpResponseException(int statusCode, final String s) { in HttpResponseException() argument
49 this.statusCode = statusCode; in HttpResponseException()
53 return this.statusCode; in getStatusCode()
/external/nist-sip/java/gov/nist/javax/sip/message/
DMessageFactoryImpl.java286 public Response createResponse(int statusCode, CallIdHeader callId, in createResponse() argument
297 statusLine.setStatusCode(statusCode); in createResponse()
298 String reasonPhrase = SIPResponse.getReasonPhrase(statusCode); in createResponse()
343 public Response createResponse(int statusCode, CallIdHeader callId, in createResponse() argument
353 sipResponse.setStatusCode(statusCode); in createResponse()
390 public Response createResponse(int statusCode, CallIdHeader callId, in createResponse() argument
400 sipResponse.setStatusCode(statusCode); in createResponse()
433 public Response createResponse(int statusCode, Request request, in createResponse() argument
440 SIPResponse sipResponse = sipRequest.createResponse(statusCode); in createResponse()
466 public Response createResponse(int statusCode, Request request, in createResponse() argument
[all …]
/external/nist-sip/java/javax/sip/message/
DMessageFactory.java32 Response createResponse(int statusCode, CallIdHeader callId, in createResponse() argument
37 Response createResponse(int statusCode, CallIdHeader callId, in createResponse() argument
42 Response createResponse(int statusCode, CallIdHeader callId, in createResponse() argument
46 Response createResponse(int statusCode, Request request, in createResponse() argument
50 Response createResponse(int statusCode, Request request, in createResponse() argument
54 Response createResponse(int statusCode, Request request) in createResponse() argument
/external/glide/library/src/main/java/com/bumptech/glide/load/data/
DHttpUrlFetcher.java68 final int statusCode = urlConnection.getResponseCode(); in loadDataWithRedirects() local
69 if (statusCode / 100 == 2) { in loadDataWithRedirects()
72 } else if (statusCode / 100 == 3) { in loadDataWithRedirects()
80 if (statusCode == -1) { in loadDataWithRedirects()
83 … throw new IOException("Request failed " + statusCode + ": " + urlConnection.getResponseMessage()); in loadDataWithRedirects()
/external/deqp/framework/platform/android/
DtcuTestLogParserJNI.cpp57 void testCaseResult (const char* statusCode, const char* details);
149 void TestLogListener::testCaseResult (const char* statusCode, const char* details) in testCaseResult() argument
151 jstring jStatusCode = m_env->NewStringUTF(statusCode); in testCaseResult()
234 if (m_testCaseResult.statusCode != xe::TESTSTATUSCODE_LAST && !m_loggedResult) in parse()
236 …listener.testCaseResult(xe::getTestStatusCodeName(m_testCaseResult.statusCode), m_testCaseResult.s… in parse()
272 if (m_testCaseResult.statusCode != xe::TESTSTATUSCODE_LAST && !m_loggedResult) in parse()
274 …listener.testCaseResult(xe::getTestStatusCodeName(m_testCaseResult.statusCode), m_testCaseResult.s… in parse()
293 if (m_testCaseResult.statusCode != xe::TESTSTATUSCODE_LAST && !m_loggedResult) in parse()
295 …listener.testCaseResult(xe::getTestStatusCodeName(m_testCaseResult.statusCode), m_testCaseResult.s… in parse()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPClientTransaction.java608 int statusCode = transactionResponse.getStatusCode(); in nonInviteClientTransaction() local
610 if (statusCode / 100 == 1) { in nonInviteClientTransaction()
621 } else if (200 <= statusCode && statusCode <= 699) { in nonInviteClientTransaction()
636 if (statusCode / 100 == 1) { in nonInviteClientTransaction()
642 } else if (200 <= statusCode && statusCode <= 699) { in nonInviteClientTransaction()
725 int statusCode = transactionResponse.getStatusCode(); in inviteClientTransaction() local
756 if (statusCode / 100 == 2) { in inviteClientTransaction()
772 } else if (statusCode / 100 == 1) { in inviteClientTransaction()
783 } else if (300 <= statusCode && statusCode <= 699) { in inviteClientTransaction()
821 if (statusCode / 100 == 1) { in inviteClientTransaction()
[all …]
/external/deqp/scripts/
Drun_nightly.py105 def __init__ (self, name, statusCode): argument
107 self.statusCode = statusCode
185 statusCode = result.statusCode if result != None else 'Missing'
186 statusCodes.append(statusCode)
225 for statusCode in result.statusCodes:
226 col += '<td class="%s">%s</td>\n' % (statusCode, statusCode)
/external/apache-http/android/src/android/net/http/
DRequest.java245 int statusCode = 0; in readResponse() local
250 statusCode = statusLine.getStatusCode(); in readResponse()
251 } while (statusCode < HttpStatus.SC_OK); in readResponse()
258 statusCode, statusLine.getReasonPhrase()); in readResponse() local
261 hasBody = canResponseHaveBody(mHttpRequest, statusCode); in readResponse()
332 if (statusCode == HttpStatus.SC_OK in readResponse()
333 || statusCode == HttpStatus.SC_PARTIAL_CONTENT) { in readResponse()
/external/deqp/executor/
DxeTestResultParser.cpp217 TestStatusCode getTestStatusCode (const char* statusCode) in getTestStatusCode() argument
219 …Code)getEnumValue("status code", s_statusCodeMap, DE_LENGTH_OF_ARRAY(s_statusCodeMap), statusCode); in getTestStatusCode()
369 m_result->statusCode = TESTSTATUSCODE_INTERNAL_ERROR; in parse()
377 m_result->statusCode = TESTSTATUSCODE_INTERNAL_ERROR; in parse()
483 result->statusCode = getTestStatusCode(getAttribute("StatusCode")); in handleElementStart()
749 m_result->statusCode = result->statusCode; in handleElementEnd()
878 result->statusCode = data.getStatusCode(); in parseTestCaseResultFromData()
887 if (result->statusCode == TESTSTATUSCODE_LAST) in parseTestCaseResultFromData()
889 result->statusCode = TESTSTATUSCODE_INTERNAL_ERROR; in parseTestCaseResultFromData()
899 else if (result->statusCode == TESTSTATUSCODE_LAST) in parseTestCaseResultFromData()
[all …]
DxeTestLogParser.cpp140 TestStatusCode statusCode = TESTSTATUSCODE_CRASH; in parse() local
144 statusCode = getTestStatusCode(reason); in parse()
150 m_currentCaseData->setTestResult(statusCode, reason); in parse()
/external/grpc-grpc/src/objective-c/GRPCClient/private/
DNSError+GRPC.m26 + (instancetype)grpc_errorFromStatusCode:(grpc_status_code)statusCode
29 if (statusCode == GRPC_STATUS_OK) {
35 code:statusCode
/external/autotest/frontend/client/src/autotest/common/
DXhrJsonRpcProxy.java58 int statusCode = response.getStatusCode(); in onResponseReceived() local
59 if (statusCode != 200) { in onResponseReceived()
60 notify.showError("Received error " + Integer.toString(statusCode) + " " + in onResponseReceived()

123