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

1 2 3 4 5 6

  /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...]
DrmOutputStream.java 63 if (status.statusCode == STATUS_OK) {
68 throw new IOException("Unexpected DRM status: " + status.statusCode);
94 if (status.statusCode == STATUS_OK) {
97 throw new IOException("Unexpected DRM status: " + status.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;
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
IEmailServiceCallback.aidl 23 * statuscode = 1, progress = 0: "starting"
24 * statuscode = 0, progress = n/a: "finished"
27 * statuscode = err, progress = n/a: "stopping due to error"
30 * statuscode = 1, progress = 0: "starting"
31 * statuscode = 1, progress = 30: "working"
32 * statuscode = 1, progress = 60: "working"
33 * statuscode = 0, progress = n/a: "finished"
39 * statusCode = 0 for OK, 1 for progress, other codes for error
42 void syncMailboxListStatus(long accountId, int statusCode, int progress);
47 * statusCode = 0 for OK, 1 for progress, other codes for erro
    [all...]
  /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;
  /external/webkit/Source/WebKit/win/Interfaces/
IWebHTTPURLResponse.idl 41 HRESULT localizedStringForStatusCode([in] int statusCode, [out, retval] BSTR* statusString);
42 HRESULT statusCode([out, retval] int* statusCode);
  /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;
  /cts/tests/tests/drm/src/android/drm/cts/
DrmInfoStatusTest.java 42 private static void checkInvalidStatusCode(int statusCode) throws Exception {
45 statusCode, DEFAULT_TYPE, DEFAULT_DATA, DEFAULT_MIME);
47 fail("Status code " + statusCode + " was accepted for DrmInfoStatus");
53 private static void checkValidStatusCode(int statusCode) throws Exception {
55 statusCode, DEFAULT_TYPE, DEFAULT_DATA, DEFAULT_MIME);
  /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;
WebSocketHandshakeResponse.h 47 int statusCode() const;
48 void setStatusCode(int 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...]
SipStatusLine.java 16 * @return StatusCode
32 * Set the statusCode member
33 * @param statusCode int to set
35 public abstract void setStatusCode(int statusCode);
  /frameworks/av/drm/common/
DrmConvertedStatus.cpp 23 statusCode(_statusCode),
DrmInfoStatus.cpp 23 statusCode(_statusCode),
  /frameworks/av/include/drm/
DrmConvertedStatus.h 59 int statusCode;
DrmInfoStatus.h 58 int statusCode;
  /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/base/libs/storage/
IMountShutdownObserver.cpp 32 int32_t statusCode = data.readInt32();
33 onShutDownComplete(statusCode);
  /frameworks/base/include/storage/
IMountShutdownObserver.h 30 virtual void onShutDownComplete(const int32_t statusCode) = 0;
  /external/nist-sip/java/javax/sip/message/
MessageFactory.java 32 Response createResponse(int statusCode, CallIdHeader callId,
37 Response createResponse(int statusCode, CallIdHeader callId,
42 Response createResponse(int statusCode, CallIdHeader callId,
46 Response createResponse(int statusCode, Request request,
50 Response createResponse(int statusCode, Request request,
54 Response createResponse(int statusCode, Request request)
  /frameworks/base/core/java/android/ddm/
DdmHandleExit.java 69 int statusCode = in.getInt();
71 Runtime.getRuntime().halt(statusCode);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
SimulatedRadioControl.java 52 public void triggerIncomingUssd(String statusCode, String message);
  /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...]

Completed in 548 milliseconds

1 2 3 4 5 6