/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;
|
/art/test/558-switch/src/ |
Main.java | 18 public static boolean testMethod(int statusCode) { 19 switch (statusCode) {
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
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;
|
/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;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/ |
HttpException.java | 32 * @param statusCode int HTTP status code. 34 public HttpException(int statusCode) { 35 super("Response Code: " + statusCode); 36 mStatusCode = 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/main/java/com/android/volley/ |
NetworkResponse.java | 30 * @param statusCode the HTTP status code 36 public NetworkResponse(int statusCode, byte[] data, Map<String, String> headers, 38 this.statusCode = statusCode; 45 public NetworkResponse(int statusCode, byte[] data, Map<String, String> headers, 47 this(statusCode, data, headers, notModified, 0); 59 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);
|
/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/libgdx/gdx/src/com/badlogic/gdx/net/ |
HttpStatus.java | 32 int statusCode;
38 return statusCode;
41 public HttpStatus (int statusCode) {
42 this.statusCode = 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;
|
/frameworks/base/core/java/android/webkit/ |
WebResourceResponse.java | 64 * @param statusCode the status code needs to be in the ranges [100, 299], [400, 599]. 73 public WebResourceResponse(String mimeType, String encoding, int statusCode, 76 setStatusCodeAndReasonPhrase(statusCode, reasonPhrase); 122 * @param statusCode the status code needs to be in the ranges [100, 299], [400, 599]. 127 public void setStatusCodeAndReasonPhrase(int statusCode, String reasonPhrase) { 129 if (statusCode < 100) 130 throw new IllegalArgumentException("statusCode can't be less than 100."); 131 if (statusCode > 599) 132 throw new IllegalArgumentException("statusCode can't be greater than 599."); 133 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 | 31 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;
|