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

1 2 3 4 5 6 7 8

  /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...]
  /external/apache-http/src/org/apache/http/client/
HttpResponseException.java 45 private final int statusCode;
47 public HttpResponseException(int statusCode, final String s) {
49 this.statusCode = statusCode;
53 return this.statusCode;
  /packages/services/Mms/src/com/android/mms/service/exception/
MmsHttpException.java 27 public MmsHttpException(int statusCode) {
29 mStatusCode = statusCode;
32 public MmsHttpException(int statusCode, String message) {
34 mStatusCode = statusCode;
37 public MmsHttpException(int statusCode, Throwable cause) {
39 mStatusCode = statusCode;
42 public MmsHttpException(int statusCode, String message, Throwable cause) {
44 mStatusCode = statusCode;
  /external/chromium_org/third_party/WebKit/Source/platform/network/
WebSocketHandshakeResponse.cpp 48 int WebSocketHandshakeResponse::statusCode() const
53 void WebSocketHandshakeResponse::setStatusCode(int statusCode)
55 ASSERT(statusCode >= 100 && statusCode < 600);
56 m_statusCode = statusCode;
  /external/apache-http/src/org/apache/http/message/
BasicStatusLine.java 66 private final int statusCode;
76 * @param statusCode the status code of the response
80 public BasicStatusLine(final ProtocolVersion version, int statusCode,
87 if (statusCode < 0) {
92 this.statusCode = statusCode;
102 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 105 * @param statusCode The status code for this sync operation.
110 final int statusType, final long id, final int statusCode, final int progress,
120 statusExtras.putInt(SYNC_STATUS_CODE, statusCode);
121 if (statusCode != IN_PROGRESS) {
139 * @param statusCode The status code for this sync operation.
143 final long mailboxId, final int statusCode, final int progress, int syncResult) {
144 syncStatus(cr, syncExtras, SYNC_STATUS_TYPE_MAILBOX, mailboxId, statusCode, progress,
  /cts/tests/tests/drm/src/android/drm/cts/
DrmInfoStatusTest.java 41 private static void checkInvalidStatusCode(int statusCode) throws Exception {
44 statusCode, DEFAULT_TYPE, DEFAULT_DATA, DEFAULT_MIME);
46 fail("Status code " + statusCode + " was accepted for DrmInfoStatus");
52 private static void checkValidStatusCode(int statusCode) throws Exception {
54 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 48 void WebSocketHandshakeResponseInfo::setStatusCode(int statusCode)
50 m_private->setStatusCode(statusCode);
  /frameworks/base/core/java/android/webkit/
WebResourceResponse.java 59 * @param statusCode the status code needs to be in the ranges [100, 299], [400, 599].
67 public WebResourceResponse(String mimeType, String encoding, int statusCode,
70 setStatusCodeAndReasonPhrase(statusCode, reasonPhrase);
114 * @param statusCode the status code needs to be in the ranges [100, 299], [400, 599].
119 public void setStatusCodeAndReasonPhrase(int statusCode, String reasonPhrase) {
120 if (statusCode < 100)
121 throw new IllegalArgumentException("statusCode can't be less than 100.");
122 if (statusCode > 599)
123 throw new IllegalArgumentException("statusCode can't be greater than 599.");
124 if (statusCode > 299 && statusCode < 400
    [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);
  /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,
  /external/deqp/scripts/log/
log_to_csv.py 11 print "%s,%s" % (result.name, result.statusCode)
  /frameworks/base/core/java/android/speech/tts/
AbstractEventLogger.java 92 public void onCompleted(int statusCode) {
107 if (statusCode != TextToSpeech.SUCCESS
109 logFailure(statusCode);
119 protected abstract void logFailure(int statusCode);
  /frameworks/base/include/storage/
IMountShutdownObserver.h 30 virtual void onShutDownComplete(const int32_t statusCode) = 0;
  /external/deqp/executor/tools/
xeExtractValues.cpp 45 : statusCode(false)
51 bool statusCode;
60 xe::TestStatusCode statusCode;
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 == xe::TESTSTATUSCODE_LAST
    [all...]

Completed in 432 milliseconds

1 2 3 4 5 6 7 8