Searched refs:statusCode (Results 1 - 25 of 44) sorted by path

12

/frameworks/av/drm/common/
H A DDrmConvertedStatus.cpp23 statusCode(_statusCode),
H A DDrmInfoStatus.cpp23 statusCode(_statusCode),
H A DIDrmManagerService.cpp267 const int statusCode = reply.readInt32(); local
281 drmInfoStatus = new DrmInfoStatus(statusCode, infoType, drmBuffer, mimeType);
520 const int statusCode = reply.readInt32(); local
533 drmConvertedStatus = new DrmConvertedStatus(statusCode, convertedData, offset);
552 const int statusCode = reply.readInt32(); local
565 drmConvertedStatus = new DrmConvertedStatus(statusCode, convertedData, offset);
965 reply->writeInt32(drmInfoStatus->statusCode);
1237 reply->writeInt32(drmConvertedStatus->statusCode);
1268 reply->writeInt32(drmConvertedStatus->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/av/include/media/stagefright/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/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp756 int32_t statusCode; local
757 if (!msg->getStatusCode(&statusCode)) {
761 if (statusCode != 200) {
800 int32_t statusCode; local
801 if (!msg->getStatusCode(&statusCode)) {
805 if (statusCode != 200) {
980 int32_t statusCode; local
981 if (!msg->getStatusCode(&statusCode)) {
985 if (statusCode != 200) {
1001 int32_t statusCode; local
[all...]
/frameworks/base/core/java/android/ddm/
H A DDdmHandleExit.java69 int statusCode = in.getInt();
71 Runtime.getRuntime().halt(statusCode);
/frameworks/base/core/java/android/os/storage/
H A DIMountShutdownObserver.java69 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 { argument
105 _data.writeInt(statusCode);
121 * @param statusCode indicates success or failure of the shutdown.
123 public void onShutDownComplete(int statusCode) throws RemoteException; argument
/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 DEventLoggerV1.java34 protected void logFailure(int statusCode) { argument
38 if (statusCode != TextToSpeech.STOPPED) {
H A DPlaybackSynthesisCallback.java217 int statusCode = 0;
246 statusCode = mStatusCode;
250 if (statusCode == TextToSpeech.SUCCESS) {
253 item.stop(statusCode);
H A DSynthesisPlaybackQueueItem.java124 void stop(int statusCode) { argument
130 mStatusCode = 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/core/tests/coretests/src/android/os/storage/
H A DAsecTests.java666 int statusCode; field in class:AsecTests.ShutdownObserver
678 public void onShutDownComplete(int statusCode) throws RemoteException { argument
679 this.statusCode = statusCode;
/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 DDrmManagerClient.java148 if (null != status && DrmInfoStatus.STATUS_OK == status.statusCode) {
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/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp474 int statusCode = pDrmInfoStatus->statusCode; local
498 drmInfoStatus = env->NewObject(localRef, constructorId, statusCode, infoType,
649 int statusCode = pDrmConvertedStatus->statusCode; local
664 statusCode, dataArray, pDrmConvertedStatus->offset);
/frameworks/base/include/storage/
H A DIMountShutdownObserver.h30 virtual void onShutDownComplete(const int32_t statusCode) = 0;
/frameworks/base/libs/storage/
H A DIMountShutdownObserver.cpp32 int32_t statusCode = data.readInt32(); local
33 onShutDownComplete(statusCode);
/frameworks/base/media/java/android/media/
H A DMediaDrm.java403 KeyStatus(@NonNull byte[] keyId, @KeyStatusCode int statusCode) { argument
405 mStatusCode = statusCode;
H A DMediaRouter.java490 route.setRealStatusCode(globalRoute.statusCode);
523 if (route.mRealStatusCode != globalRoute.statusCode) {
524 route.setRealStatusCode(globalRoute.statusCode);
1660 boolean setRealStatusCode(int statusCode) { argument
1661 if (mRealStatusCode != statusCode) {
1662 mRealStatusCode = statusCode;
1673 int statusCode = mRealStatusCode;
1675 switch (statusCode) {
1684 statusCode = STATUS_CONNECTING;
1688 if (mResolvedStatusCode == statusCode) {
[all...]

Completed in 2750 milliseconds

12