Searched defs:statusCode (Results 1 - 25 of 51) sorted by relevance

123

/external/apache-http/src/org/apache/http/client/
H A DHttpResponseException.java45 private final int statusCode; field in class:HttpResponseException
47 public HttpResponseException(int statusCode, final String s) { argument
49 this.statusCode = statusCode;
53 return this.statusCode;
/external/apache-http/src/org/apache/http/message/
H A DBasicStatusLine.java66 private final int statusCode; field in class:BasicStatusLine
76 * @param statusCode the status code of the response
80 public BasicStatusLine(final ProtocolVersion version, int statusCode, argument
87 if (statusCode < 0) {
92 this.statusCode = statusCode;
102 return this.statusCode;
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DStatusLineParser.java50 protected int statusCode() throws ParseException { method in class:StatusLineParser
53 dbg_enter("statusCode");
63 dbg_leave("statusCode");
80 int scode = statusCode();
/external/deqp/executor/
H A DxeTestLogParser.cpp140 TestStatusCode statusCode = TESTSTATUSCODE_CRASH; local
144 statusCode = getTestStatusCode(reason);
150 m_currentCaseData->setTestResult(statusCode, reason);
H A DxeBatchResult.cpp60 void TestCaseResultData::setTestResult (TestStatusCode statusCode, const char* statusDetails) argument
62 m_statusCode = statusCode;
H A DxeTestResultParser.cpp217 TestStatusCode getTestStatusCode (const char* statusCode) argument
219 return (TestStatusCode)getEnumValue("status code", s_statusCodeMap, DE_LENGTH_OF_ARRAY(s_statusCodeMap), statusCode);
369 m_result->statusCode = TESTSTATUSCODE_INTERNAL_ERROR;
377 m_result->statusCode = TESTSTATUSCODE_INTERNAL_ERROR;
483 result->statusCode = getTestStatusCode(getAttribute("StatusCode"));
749 m_result->statusCode = result->statusCode;
878 result->statusCode = data.getStatusCode();
887 if (result->statusCode == TESTSTATUSCODE_LAST)
889 result->statusCode
[all...]
H A DxeTestCaseResult.hpp56 const char* getTestStatusCodeName (TestStatusCode statusCode);
116 TestCaseResultHeader (void) : caseType(TESTCASETYPE_LAST), statusCode(TESTSTATUSCODE_LAST) {}
120 TestStatusCode statusCode; //!< Test status code. member in class:xe::TestCaseResultHeader
213 Result (void) : Item(TYPE_RESULT), statusCode(TESTSTATUSCODE_LAST) {}
216 TestStatusCode statusCode; member in class:xe::ri::Result
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DSipStatusLine.java32 * Set the statusCode member
33 * @param statusCode int to set
35 public abstract void setStatusCode(int statusCode); argument
H A DStatusLine.java57 protected int statusCode; field in class:StatusLine
78 if (sl.statusCode != 0) {
80 int hiscode = sl.statusCode;
81 String codeString = Integer.toString(sl.statusCode);
82 String mycode = Integer.toString(statusCode);
86 if (statusCode != sl.statusCode)
116 String encoding = SIPConstants.SIP_VERSION_STRING + SP + statusCode;
134 return statusCode;
154 public void setStatusCode(int statusCode) { argument
[all...]
/external/nanohttpd/websocket/src/test/java/fi/iki/elonen/samples/echo/
H A DSimpleEchoSocket.java78 public void onClose(int statusCode, String reason) { argument
79 System.out.printf("Connection closed: %d - %s%n", statusCode, reason);
/external/nist-sip/java/javax/sip/message/
H A DMessageFactory.java32 Response createResponse(int statusCode, CallIdHeader callId, argument
37 Response createResponse(int statusCode, CallIdHeader callId, argument
42 Response createResponse(int statusCode, CallIdHeader callId, argument
46 Response createResponse(int statusCode, Request request, argument
50 Response createResponse(int statusCode, Request request, argument
54 Response createResponse(int statusCode, Request request) argument
H A DResponse.java61 void setStatusCode(int statusCode) throws ParseException; argument
/external/deqp/executor/tools/
H A DxeExtractValues.cpp45 : statusCode(false)
51 bool statusCode; member in struct:CommandLine
60 xe::TestStatusCode statusCode; member in struct:CaseValues
156 tagResult.statusCode = caseData->getStatusCode();
168 if ((parseResult != xe::TestResultParser::PARSERESULT_ERROR && fullResult.statusCode != xe::TESTSTATUSCODE_LAST) ||
169 (tagResult.statusCode == xe::TESTSTATUSCODE_LAST && fullResult.statusCode != xe::TESTSTATUSCODE_LAST))
171 tagResult.statusCode = fullResult.statusCode;
174 else if (tagResult.statusCode
[all...]
H A DxeCommandLineExecutor.cpp420 xe::TestStatusCode statusCode = xe::TESTSTATUSCODE_PENDING; local
431 statusCode = result.statusCode;
434 countByStatusCode[statusCode] += 1;
/external/deqp/framework/platform/android/
H A DtcuTestLogParserJNI.cpp57 void testCaseResult (const char* statusCode, const char* details);
149 void TestLogListener::testCaseResult (const char* statusCode, const char* details) argument
151 jstring jStatusCode = m_env->NewStringUTF(statusCode);
234 if (m_testCaseResult.statusCode != xe::TESTSTATUSCODE_LAST && !m_loggedResult)
236 listener.testCaseResult(xe::getTestStatusCodeName(m_testCaseResult.statusCode), m_testCaseResult.statusDetails.c_str());
272 if (m_testCaseResult.statusCode != xe::TESTSTATUSCODE_LAST && !m_loggedResult)
274 listener.testCaseResult(xe::getTestStatusCodeName(m_testCaseResult.statusCode), m_testCaseResult.statusDetails.c_str());
293 if (m_testCaseResult.statusCode != xe::TESTSTATUSCODE_LAST && !m_loggedResult)
295 listener.testCaseResult(xe::getTestStatusCodeName(m_testCaseResult.statusCode), m_testCaseResult.statusDetails.c_str());
/external/nist-sip/java/gov/nist/javax/sip/message/
H A DMessageFactoryImpl.java260 * Creates a new Response message of type specified by the statusCode
264 * @param statusCode -
265 * the new integer of the statusCode value of this Message.
284 * while parsing the statusCode or the body.
286 public Response createResponse(int statusCode, CallIdHeader callId, argument
297 statusLine.setStatusCode(statusCode);
298 String reasonPhrase = SIPResponse.getReasonPhrase(statusCode);
300 // throw new ParseException(statusCode + " Unkown ", 0);
317 * Creates a new Response message of type specified by the statusCode
321 * @param statusCode
343 createResponse(int statusCode, CallIdHeader callId, CSeqHeader cSeq, FromHeader from, ToHeader to, List via, MaxForwardsHeader maxForwards, byte[] content, ContentTypeHeader contentType) argument
390 createResponse(int statusCode, CallIdHeader callId, CSeqHeader cSeq, FromHeader from, ToHeader to, List via, MaxForwardsHeader maxForwards) argument
433 createResponse(int statusCode, Request request, ContentTypeHeader contentType, Object content) argument
466 createResponse(int statusCode, Request request, ContentTypeHeader contentType, byte[] content) argument
495 createResponse(int statusCode, Request request) argument
598 createResponse(int statusCode, CallIdHeader callId, CSeqHeader cSeq, FromHeader from, ToHeader to, List via, MaxForwardsHeader maxForwards, ContentTypeHeader contentType, Object content) argument
654 createResponse(int statusCode, CallIdHeader callId, CSeqHeader cSeq, FromHeader from, ToHeader to, List via, MaxForwardsHeader maxForwards, ContentTypeHeader contentType, byte[] content) argument
[all...]
H A DSIPResponse.java302 *@param statusCode is the status code to set.
305 public void setStatusCode(int statusCode) throws ParseException { argument
310 if (statusCode < 100 || statusCode > 699)
314 this.statusLine.setStatusCode(statusCode);
H A DSIPRequest.java654 * @param statusCode Status code for the response. Reason phrase is generated.
660 public SIPResponse createResponse(int statusCode) { argument
662 String reasonPhrase = SIPResponse.getReasonPhrase(statusCode);
663 return this.createResponse(statusCode, reasonPhrase);
676 * @param statusCode Status code for the response.
684 public SIPResponse createResponse(int statusCode, String reasonPhrase) { argument
691 newResponse.setStatusCode(statusCode);
693 throw new IllegalArgumentException("Bad code " + statusCode);
698 newResponse.setReasonPhrase(SIPResponse.getReasonPhrase(statusCode));
706 || (nextHeader instanceof RecordRouteList && mustCopyRR(statusCode))
[all...]
/external/nist-sip/java/javax/sip/
H A DDialog.java67 Response createReliableProvisionalResponse(int statusCode) argument
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
H A DTestHttpResponse.java24 private int statusCode; field in class:TestHttpResponse
33 this.statusCode = 200;
37 public TestHttpResponse(int statusCode, String responseBody) { argument
38 this.statusCode = statusCode;
42 public TestHttpResponse(int statusCode, String responseBody, Header... headers) { argument
43 this(statusCode, responseBody.getBytes(), headers);
46 public TestHttpResponse(int statusCode, byte[] responseBody, Header... headers) { argument
47 this.statusCode = statusCode;
[all...]
H A DFakeHttpLayer.java37 public void addPendingHttpResponse(int statusCode, String responseBody, Header... headers) { argument
38 addPendingHttpResponse(new TestHttpResponse(statusCode, responseBody, headers));
88 public void setDefaultHttpResponse(int statusCode, String responseBody) { argument
89 setDefaultHttpResponse(new TestHttpResponse(statusCode, responseBody));
/external/apache-http/android/src/android/net/http/
H A DRequestHandle.java139 * @param statusCode HTTP status code returned from original request
144 public boolean setupRedirect(String redirectTo, int statusCode, argument
190 if ((statusCode == 302 || statusCode == 303) && mMethod.equals("POST")) {
198 if (statusCode == 307) {
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
H A DRobolectric.java1071 * @param statusCode the status code of the response
1075 public static void addPendingHttpResponse(int statusCode, String responseBody, Header... headers) { argument
1076 getFakeHttpLayer().addPendingHttpResponse(statusCode, responseBody, headers);
1082 * @param statusCode the status code of the response
1088 public static void addPendingHttpResponseWithContentType(int statusCode, String responseBody, Header contentType) { argument
1089 getFakeHttpLayer().addPendingHttpResponse(statusCode, responseBody, contentType);
1204 public static void setDefaultHttpResponse(int statusCode, String responseBody) { argument
1205 getFakeHttpLayer().setDefaultHttpResponse(statusCode, responseBody);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
H A DFramedConnection.java355 void writeSynReset(int streamId, ErrorCode statusCode) throws IOException { argument
356 frameWriter.rstStream(streamId, statusCode);
425 public void shutdown(ErrorCode statusCode) throws IOException { argument
436 frameWriter.goAway(lastGoodStreamId, statusCode, Util.EMPTY_BYTE_ARRAY);
/external/robolectric/v3/
H A Dshadows-httpclient-3.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ org/ org/robolectric/ org/robolectric/shadows/ ...

Completed in 739 milliseconds

123