Home
last modified time | relevance | path

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

1234

/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.py58 def __init__ (self, name, statusCode, statusDetails, log): argument
60 self.statusCode = statusCode
65 return "%s: %s (%s)" % (self.name, self.statusCode, self.statusDetails)
176 statusCode = ' '.join(args[1:])
177 statusDetails = statusCode
179 if not StatusCode.isValid(statusCode):
181 if statusCode == "Watchdog timeout occurred.":
182 statusCode = StatusCode.TIMEOUT
184 statusCode = StatusCode.CRASH
187 …self.testCaseResults.append(TestCaseResult(self.curCaseName, statusCode, statusDetails, self.curRe…
[all …]
/external/volley/src/main/java/com/android/volley/toolbox/
DNetworkUtility.java52 long requestLifetime, Request<?> request, byte[] responseContents, int statusCode) { in logSlowRequests() argument
60 statusCode, in logSlowRequests()
151 int statusCode; in handleException() local
153 statusCode = httpResponse.getStatusCode(); in handleException()
162 VolleyLog.e("Unexpected response code %d for %s", statusCode, request.getUrl()); in handleException()
169 statusCode, in handleException()
174 if (statusCode == HttpURLConnection.HTTP_UNAUTHORIZED in handleException()
175 || statusCode == HttpURLConnection.HTTP_FORBIDDEN) { in handleException()
177 } else if (statusCode >= 400 && statusCode <= 499) { in handleException()
180 } else if (statusCode >= 500 && statusCode <= 599) { in handleException()
DBasicAsyncNetwork.java74 final int statusCode = httpResponse.getStatusCode(); in onRequestSucceeded() local
77 if (statusCode == HttpURLConnection.HTTP_NOT_MODIFIED) { in onRequestSucceeded()
95 statusCode, in onRequestSucceeded()
117 statusCode)); in onRequestSucceeded()
178 int statusCode, in onResponseRead() argument
186 logSlowRequests(requestLifetime, request, responseContents, statusCode); in onResponseRead()
188 if (statusCode < 200 || statusCode > 299) { in onResponseRead()
201 statusCode, in onResponseRead()
215 int statusCode; field in BasicAsyncNetwork.ResponseParsingTask
224 int statusCode) { in ResponseParsingTask() argument
[all …]
DHttpResponse.java40 public HttpResponse(int statusCode, List<Header> headers) { in HttpResponse() argument
41 this(statusCode, headers, /* contentLength= */ -1, /* content= */ null); in HttpResponse()
54 int statusCode, List<Header> headers, int contentLength, InputStream content) { in HttpResponse() argument
55 mStatusCode = statusCode; in HttpResponse()
70 public HttpResponse(int statusCode, List<Header> headers, byte[] contentBytes) { in HttpResponse() argument
71 mStatusCode = statusCode; in HttpResponse()
DBasicNetwork.java104 int statusCode = httpResponse.getStatusCode(); in performRequest() local
108 if (statusCode == HttpURLConnection.HTTP_NOT_MODIFIED) { in performRequest()
129 requestLifetime, request, responseContents, statusCode); in performRequest()
131 if (statusCode < 200 || statusCode > 299) { in performRequest()
135 statusCode, in performRequest()
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.java44 int statusCode, in NetworkResponse() argument
49 this(statusCode, data, headers, toAllHeaderList(headers), notModified, networkTimeMs); in NetworkResponse()
62 int statusCode, in NetworkResponse() argument
67 this(statusCode, data, toHeaderMap(allHeaders), allHeaders, notModified, networkTimeMs); in NetworkResponse()
83 int statusCode, in NetworkResponse() argument
87 this(statusCode, data, headers, notModified, /* networkTimeMs= */ 0); in NetworkResponse()
124 int statusCode, in NetworkResponse() argument
130 this.statusCode = statusCode; in NetworkResponse()
143 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/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/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/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/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/
DExoMediaDrm.java167 private final int statusCode; field in ExoMediaDrm.KeyStatus
170 public KeyStatus(int statusCode, byte[] keyId) { in KeyStatus() argument
171 this.statusCode = statusCode; in KeyStatus()
176 return statusCode; in getStatusCode()
/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/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastUtils.java53 public static String getLogString(int statusCode) { in getLogString() argument
54 switch (statusCode) { in getLogString()
95 return CastStatusCodes.getStatusCodeString(statusCode); in getLogString()
/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()

1234