HomeSort by relevance Sort by last modified time
    Searched defs:statusCode (Results 1 - 25 of 65) 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/support/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;
48 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/webkit/Source/WebCore/websockets/
WebSocketHandshakeResponse.cpp 62 int WebSocketHandshakeResponse::statusCode() const
67 void WebSocketHandshakeResponse::setStatusCode(int statusCode)
69 ASSERT(statusCode >= 100 && statusCode < 600);
70 m_statusCode = statusCode;
  /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);
  /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/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/webkit/Tools/DumpRenderTree/cf/
WebArchiveDumpSupport.cpp 140 CFIndex statusCode = CFHTTPMessageGetResponseStatusCode(httpMessage);
141 RetainPtr<CFNumberRef> statusCodeNumber(AdoptCF, CFNumberCreate(kCFAllocatorDefault, kCFNumberCFIndexType, &statusCode));
142 CFDictionarySetValue(responseDictionary.get(), CFSTR("statusCode"), statusCodeNumber.get());
  /external/webkit/Tools/DumpRenderTree/win/
HistoryDelegate.cpp 122 int statusCode = 0;
123 if (FAILED(httpResponse->statusCode(&statusCode)))
139 bool wasFailure = hasSubstituteData || (httpResponse && statusCode >= 400);
ResourceLoadDelegate.cpp 113 int statusCode = 0;
116 httpResponse->statusCode(&statusCode);
118 return L"<NSURLResponse " + url + L", http status code " + wstringFromInt(statusCode) + L">";
  /hardware/ti/wlan/wl1271/stad/src/Sta_Management/
qosMngr_API.h 77 TI_UINT8 statusCode;
  /external/okhttp/src/main/java/libcore/net/spdy/
SpdyWriter.java 38 public int statusCode;
89 out.writeInt(statusCode);
SpdyReader.java 69 public int statusCode;
145 statusCode = in.readInt();
  /external/webkit/Source/WebCore/page/
EventSource.cpp 184 int statusCode = response.httpStatusCode();
186 bool responseIsValid = statusCode == 200 && mimeTypeIsValid;
201 if (statusCode == 200 && !mimeTypeIsValid) {
214 if (statusCode <= 200 || statusCode > 299)
  /external/webkit/Source/WebKit/win/
WebURLResponse.cpp 50 static String CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode(CFIndex statusCode)
53 if (statusCode < 100 || statusCode >= 600)
55 else if (statusCode >= 100 && statusCode <= 199) {
56 switch (statusCode) {
67 } else if (statusCode >= 200 && statusCode <= 299) {
68 switch (statusCode) {
94 } else if (statusCode >= 300 && statusCode <= 399)
    [all...]
  /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/av/media/libstagefright/wifi-display/sink/
WifiDisplaySink.cpp 268 int32_t statusCode;
269 if (!msg->getStatusCode(&statusCode)) {
273 if (statusCode != 200) {
282 int32_t statusCode;
283 if (!msg->getStatusCode(&statusCode)) {
287 if (statusCode != 200) {
296 int32_t statusCode;
297 if (!msg->getStatusCode(&statusCode)) {
301 if (statusCode != 200) {
381 int32_t statusCode;
    [all...]
  /frameworks/support/volley/src/com/android/volley/toolbox/
BasicNetwork.java 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 ||
132 statusCode == HttpStatus.SC_FORBIDDEN) {

Completed in 573 milliseconds

1 2 3