Searched refs:statusCode (Results 1 - 25 of 49) sorted by relevance

12

/frameworks/base/drm/java/android/drm/
H A DDrmConvertedStatus.java50 public final int statusCode; field in class:DrmConvertedStatus
63 * @param statusCode Conversion status. Must be one of the status code constants
68 public DrmConvertedStatus(int statusCode, byte[] convertedData, int offset) { argument
69 if (!isValidStatusCode(statusCode)) {
70 throw new IllegalArgumentException("Unsupported status code: " + statusCode);
73 this.statusCode = statusCode;
78 private boolean isValidStatusCode(int statusCode) { argument
79 return statusCode == STATUS_OK ||
80 statusCode
[all...]
H A DDrmInfoStatus.java46 public final int statusCode; field in class:DrmInfoStatus
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) { argument
79 if (!isValidStatusCode(statusCode)) {
80 throw new IllegalArgumentException("Unsupported status code: " + statusCode);
87 this.statusCode = statusCode;
93 private boolean isValidStatusCode(int statusCode) { argument
94 return statusCode == STATUS_OK || statusCode
[all...]
H A DDrmOutputStream.java70 if (status.statusCode == STATUS_OK) {
79 throw new IOException("Unexpected DRM status: " + status.statusCode);
105 if (status.statusCode == STATUS_OK) {
108 throw new IOException("Unexpected DRM status: " + status.statusCode);
/frameworks/base/core/java/android/os/storage/
H A DIStorageShutdownObserver.aidl31 * @param statusCode indicates success or failure of the shutdown.
33 void onShutDownComplete(int statusCode) = 0;
/frameworks/av/drm/common/
H A DDrmConvertedStatus.cpp23 statusCode(_statusCode),
H A DDrmInfoStatus.cpp23 statusCode(_statusCode),
/frameworks/base/core/java/android/webkit/
H A DWebResourceResponse.java64 * @param statusCode the status code needs to be in the ranges [100, 299], [400, 599].
73 public WebResourceResponse(String mimeType, String encoding, int statusCode, argument
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) { argument
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 > 29
218 WebResourceResponse(boolean immutable, String mimeType, String encoding, int statusCode, String reasonPhrase, Map<String, String> responseHeaders, InputStream data) argument
[all...]
/frameworks/base/libs/storage/
H A DIMountShutdownObserver.cpp31 virtual void onShutDownComplete(const int32_t /* statusCode */) {}
42 int32_t statusCode = data.readInt32(); local
43 onShutDownComplete(statusCode);
/frameworks/av/include/drm/
H A DDrmConvertedStatus.h59 int statusCode; member in class:android::DrmConvertedStatus
H A DDrmInfoStatus.h58 int statusCode; member in class:android::DrmInfoStatus
/frameworks/base/core/java/android/speech/tts/
H A DAbstractEventLogger.java92 public void onCompleted(int statusCode) { argument
107 if (statusCode != TextToSpeech.SUCCESS
109 logFailure(statusCode);
119 protected abstract void logFailure(int statusCode); argument
H A DEventLogger.java34 protected void logFailure(int statusCode) { argument
38 if (statusCode != TextToSpeech.STOPPED) {
/frameworks/base/core/java/android/ddm/
H A DDdmHandleExit.java69 int statusCode = in.getInt();
71 Runtime.getRuntime().halt(statusCode);
/frameworks/base/libs/storage/include/storage/
H A DIMountShutdownObserver.h30 virtual void onShutDownComplete(const int32_t statusCode) = 0;
/frameworks/base/telephony/java/com/android/ims/internal/uce/options/
H A DIOptionsListener.aidl37 * @param statusCode, UCE_SUCCESS as service availability.
40 void serviceAvailable(in StatusCode statusCode);
45 * @param statusCode, UCE_SUCCESS as service unavailability.
48 void serviceUnavailable(in StatusCode statusCode);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedRadioControl.java52 public void triggerIncomingUssd(String statusCode, String message); argument
/frameworks/base/media/java/android/media/
H A DMediaRouterClientState.java100 public int statusCode; field in class:MediaRouterClientState.RouteInfo
112 statusCode = MediaRouter.RouteInfo.STATUS_NONE;
126 statusCode = other.statusCode;
142 statusCode = in.readInt();
164 dest.writeInt(statusCode);
181 + ", statusCode=" + statusCode
/frameworks/base/telephony/java/com/android/ims/internal/uce/presence/
H A DIPresenceListener.aidl44 * @param statusCode, UCE_SUCCESS as service availability.
46 void serviceAvailable(in StatusCode statusCode);
51 * @param statusCode, UCE_SUCCESS as service unAvailability.
53 void serviceUnAvailable(in StatusCode statusCode);
/frameworks/av/include/media/stagefright/foundation/
H A DParsedMessage.h36 bool getStatusCode(int32_t *statusCode) const;
/frameworks/av/media/libstagefright/foundation/include/foundation/
H A DParsedMessage.h36 bool getStatusCode(int32_t *statusCode) const;
/frameworks/av/media/libstagefright/include/foundation/
H A DParsedMessage.h36 bool getStatusCode(int32_t *statusCode) const;
/frameworks/av/media/libstagefright/foundation/
H A DParsedMessage.cpp206 bool ParsedMessage::getStatusCode(int32_t *statusCode) const {
209 *statusCode = 0;
214 *statusCode = strtol(statusCodeString.c_str(), &end, 10);
217 || (*statusCode) < 100 || (*statusCode) > 999) {
218 *statusCode = 0;
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
H A DHTTPResponse.java34 int statusCode = -1;
48 statusCode = parseHeader(input, body, mHeaders);
62 mStatusCode = statusCode;
76 int statusCode;
83 statusCode = Integer.parseInt(status[1].trim());
98 return statusCode;
/frameworks/base/services/core/java/com/android/server/location/
H A DGpsXtraDownloader.java128 int statusCode = connection.getResponseCode();
129 if (statusCode != HttpURLConnection.HTTP_OK) {
130 if (DEBUG) Log.d(TAG, "HTTP error downloading gps XTRA: " + statusCode);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DWapPushOverSms.java159 * object. The caller of this method should check {@link DecodedResult#statusCode} for the
193 result.statusCode = Intents.RESULT_SMS_HANDLED;
198 result.statusCode = Intents.RESULT_SMS_HANDLED;
214 result.statusCode = Intents.RESULT_SMS_GENERIC_ERROR;
236 result.statusCode = Intents.RESULT_SMS_GENERIC_ERROR;
274 result.statusCode = Intents.RESULT_SMS_HANDLED;
308 result.statusCode = Activity.RESULT_OK;
313 result.statusCode = Intents.RESULT_SMS_GENERIC_ERROR;
329 if (result.statusCode != Activity.RESULT_OK) {
330 return result.statusCode;
634 int statusCode; field in class:WapPushOverSms.DecodedResult
[all...]

Completed in 540 milliseconds

12