HomeSort by relevance Sort by last modified time
    Searched refs:statusCode (Results 1 - 25 of 135) 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;
  /external/chromium_org/third_party/WebKit/Source/platform/network/
WebSocketHandshakeResponse.cpp 47 int WebSocketHandshakeResponse::statusCode() const
52 void WebSocketHandshakeResponse::setStatusCode(int statusCode)
54 ASSERT(statusCode >= 100 && statusCode < 600);
55 m_statusCode = statusCode;
WebSocketHandshakeResponse.h 45 int statusCode() const;
  /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;
  /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;
  /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"
40 * statusCode = 0 for OK, 1 for progress, other codes for error
43 void loadAttachmentStatus(long messageId, long attachmentId, int statusCode, int progress);
EmailServiceStatus.java 86 * @param statusCode The status code for this sync operation.
91 final int statusType, final long id, final int statusCode, final int progress,
101 statusExtras.putInt(SYNC_STATUS_CODE, statusCode);
102 if (statusCode != IN_PROGRESS) {
120 * @param statusCode The status code for this sync operation.
124 final long mailboxId, final int statusCode, final int progress, int syncResult) {
125 syncStatus(cr, syncExtras, SYNC_STATUS_TYPE_MAILBOX, mailboxId, statusCode, progress,
  /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/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/chromium_org/third_party/WebKit/Source/platform/exported/
WebSocketHandshakeResponseInfo.cpp 50 void WebSocketHandshakeResponseInfo::setStatusCode(int statusCode)
52 m_private->setStatusCode(statusCode);
  /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);
  /developers/samples/android/common/src/java/com/example/android/common/play/
PlayHelper.java 58 int statusCode = GooglePlayServicesUtil
61 if ((statusCode == ConnectionResult.SUCCESS )
65 if (GooglePlayServicesUtil.isUserRecoverableError(statusCode)) {
66 Dialog eDialog = GooglePlayServicesUtil.getErrorDialog(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);

Completed in 406 milliseconds

1 2 3 4 5 6