HomeSort by relevance Sort by last modified time
    Searched defs:statusCode (Results 1 - 25 of 70) sorted by null

1 2 3

  /frameworks/base/libs/storage/
IMountShutdownObserver.cpp 32 int32_t statusCode = data.readInt32();
33 onShutDownComplete(statusCode);
  /external/apache-http/src/org/apache/http/client/
HttpResponseException.java 40 private final int statusCode;
42 public HttpResponseException(int statusCode, final String s) {
44 this.statusCode = statusCode;
48 return this.statusCode;
  /frameworks/base/drm/java/android/drm/
DrmConvertedStatus.java 50 public final int statusCode;
63 * @param statusCode Conversion status. Must be one of the status code constants
68 public DrmConvertedStatus(int statusCode, byte[] convertedData, int offset) {
69 if (!isValidStatusCode(statusCode)) {
70 throw new IllegalArgumentException("Unsupported status code: " + statusCode);
73 this.statusCode = statusCode;
78 private boolean isValidStatusCode(int statusCode) {
79 return statusCode == STATUS_OK ||
80 statusCode == STATUS_INPUTDATA_ERROR |
    [all...]
DrmInfoStatus.java 46 public final int statusCode;
67 * @param statusCode The status of the communication. Must be one of the defined
74 public DrmInfoStatus(int statusCode, int infoType, ProcessedData data, String mimeType) {
79 if (!isValidStatusCode(statusCode)) {
80 throw new IllegalArgumentException("Unsupported status code: " + statusCode);
87 this.statusCode = statusCode;
93 private boolean isValidStatusCode(int statusCode) {
94 return statusCode == STATUS_OK || statusCode == STATUS_ERROR
    [all...]
  /frameworks/volley/src/com/android/volley/
NetworkResponse.java 30 * @param statusCode the HTTP status code
35 public NetworkResponse(int statusCode, byte[] data, Map<String, String> headers,
37 this.statusCode = statusCode;
52 public final int statusCode;
  /external/apache-http/src/org/apache/http/message/
BasicStatusLine.java 61 private final int statusCode;
71 * @param statusCode the status code of the response
75 public BasicStatusLine(final ProtocolVersion version, int statusCode,
82 if (statusCode < 0) {
87 this.statusCode = statusCode;
97 return this.statusCode;
BasicLineParser.java 419 int statusCode = 0;
421 statusCode =
436 return createStatusLine(ver, statusCode, reasonPhrase);
  /external/chromium_org/third_party/WebKit/Source/modules/websockets/
WebSocketHandshakeResponse.cpp 50 int WebSocketHandshakeResponse::statusCode() const
55 void WebSocketHandshakeResponse::setStatusCode(int statusCode)
57 ASSERT(statusCode >= 100 && statusCode < 600);
58 m_statusCode = statusCode;
WebSocketHandshake.cpp 289 int statusCode;
291 int lineLength = readStatusLine(header, len, statusCode, statusText);
294 if (statusCode == -1) {
298 LOG(Network, "WebSocketHandshake %p readServerHandshake() Status code is %d", this, statusCode);
299 m_response.setStatusCode(statusCode);
301 if (statusCode != 101) {
303 m_failureReason = "Unexpected response code: " + String::number(statusCode);
393 // statusCode and statusText will be set to -1 and a null string, respectively.
394 int WebSocketHandshake::readStatusLine(const char* header, size_t headerLength, int& statusCode, String& statusText)
400 statusCode = -1
    [all...]
  /frameworks/av/include/drm/
DrmConvertedStatus.h 59 int statusCode;
DrmInfoStatus.h 58 int statusCode;
  /frameworks/base/core/java/android/ddm/
DdmHandleExit.java 69 int statusCode = in.getInt();
71 Runtime.getRuntime().halt(statusCode);
  /developers/samples/android/common/src/com/example/android/common/play/
PlayHelper.java 41 int statusCode = GooglePlayServicesUtil
44 if ((statusCode == ConnectionResult.SUCCESS )
48 if (GooglePlayServicesUtil.isUserRecoverableError(statusCode)) {
49 Dialog eDialog = GooglePlayServicesUtil.getErrorDialog(statusCode,
  /external/nist-sip/java/gov/nist/javax/sip/parser/
StatusLineParser.java 50 protected int statusCode() throws ParseException {
53 dbg_enter("statusCode");
63 dbg_leave("statusCode");
80 int scode = statusCode();
  /external/apache-http/src/org/apache/http/impl/client/
DefaultRedirectHandler.java 81 int statusCode = response.getStatusLine().getStatusCode();
82 switch (statusCode) {
  /external/chromium_org/third_party/WebKit/Source/core/dom/
SecurityPolicyViolationEvent.h 47 int statusCode;
71 int statusCode() const { return m_statusCode; }
92 , m_statusCode(initializer.statusCode)
  /external/nist-sip/java/gov/nist/javax/sip/header/
StatusLine.java 57 protected int statusCode;
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) {
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
TestHttpResponse.java 24 private int statusCode;
33 this.statusCode = 200;
37 public TestHttpResponse(int statusCode, String responseBody) {
38 this.statusCode = statusCode;
42 public TestHttpResponse(int statusCode, String responseBody, Header... headers) {
43 this(statusCode, responseBody.getBytes(), headers);
46 public TestHttpResponse(int statusCode, byte[] responseBody, Header... headers) {
47 this.statusCode = statusCode;
    [all...]
  /external/smack/src/com/kenai/jbosh/
ApacheHTTPResponse.java 102 private int statusCode;
214 return statusCode;
242 statusCode = httpResp.getStatusLine().getStatusCode();
  /frameworks/base/core/java/android/os/storage/
IMountShutdownObserver.java 69 int statusCode;
70 statusCode = data.readInt();
71 this.onShutDownComplete(statusCode);
98 * @param statusCode indicates success or failure of the shutdown.
100 public void onShutDownComplete(int statusCode) throws RemoteException {
105 _data.writeInt(statusCode);
121 * @param statusCode indicates success or failure of the shutdown.
123 public void onShutDownComplete(int statusCode) throws RemoteException;
  /frameworks/support/v7/mediarouter/jellybean-mr1/android/support/v7/media/
MediaRouterJellybeanMr1.java 152 int statusCode = (Integer)mGetStatusCodeMethod.invoke(route);
153 return statusCode == mStatusConnecting;
  /external/chromium_org/third_party/WebKit/Source/core/page/
EventSource.cpp 220 int statusCode = response.httpStatusCode();
222 bool responseIsValid = statusCode == 200 && mimeTypeIsValid;
237 if (statusCode == 200 && !mimeTypeIsValid) {
  /frameworks/volley/src/com/android/volley/toolbox/
BasicNetwork.java 95 int statusCode = statusLine.getStatusCode();
99 if (statusCode == HttpStatus.SC_NOT_MODIFIED) {
109 if (statusCode != HttpStatus.SC_OK && statusCode != HttpStatus.SC_NO_CONTENT) {
112 return new NetworkResponse(statusCode, responseContents, responseHeaders, false);
120 int statusCode = 0;
123 statusCode = httpResponse.getStatusLine().getStatusCode();
127 VolleyLog.e("Unexpected response code %d for %s", statusCode, request.getUrl());
129 networkResponse = new NetworkResponse(statusCode, responseContents,
131 if (statusCode == HttpStatus.SC_UNAUTHORIZED |
    [all...]
  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
ImageDownloader.java 259 final int statusCode = response.getStatusLine().getStatusCode();
260 if (statusCode != HttpStatus.SC_OK) {
261 Log.w("ImageDownloader", "Error " + statusCode +
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
MockSpdyPeer.java 170 public int statusCode;
226 @Override public void rstStream(int flags, int streamId, int statusCode) {
231 this.statusCode = statusCode;
246 @Override public void goAway(int flags, int lastGoodStreamId, int statusCode) {
251 this.statusCode = statusCode;

Completed in 2266 milliseconds

1 2 3