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

/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...]
/frameworks/base/libs/storage/
H A DIMountShutdownObserver.cpp32 int32_t statusCode = data.readInt32(); local
33 onShutDownComplete(statusCode);
/frameworks/volley/src/com/android/volley/
H A DNetworkResponse.java30 * @param statusCode the HTTP status code
35 public NetworkResponse(int statusCode, byte[] data, Map<String, String> headers, argument
37 this.statusCode = statusCode;
52 public final int statusCode; field in class:NetworkResponse
/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 DEventLoggerV1.java34 protected void logFailure(int statusCode) { argument
38 if (statusCode != TextToSpeech.STOPPED) {
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 DSynthesisPlaybackQueueItem.java124 void stop(int statusCode) { argument
130 mStatusCode = 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/webkit/
H A DWebResourceResponse.java59 * @param statusCode the status code needs to be in the ranges [100, 299], [400, 599].
67 public WebResourceResponse(String mimeType, String encoding, int statusCode, argument
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) { argument
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 > 29
[all...]
/frameworks/base/media/java/android/media/
H A DMediaRouterClientState.java100 public int statusCode; field in class:MediaRouterClientState.RouteInfo
111 statusCode = MediaRouter.RouteInfo.STATUS_NONE;
124 statusCode = other.statusCode;
139 statusCode = in.readInt();
160 dest.writeInt(statusCode);
176 + ", statusCode=" + statusCode
H A DMediaRouter.java482 route.setRealStatusCode(globalRoute.statusCode);
515 if (route.mRealStatusCode != globalRoute.statusCode) {
516 route.setRealStatusCode(globalRoute.statusCode);
1592 boolean setRealStatusCode(int statusCode) { argument
1593 if (mRealStatusCode != statusCode) {
1594 mRealStatusCode = statusCode;
1605 int statusCode = mRealStatusCode;
1607 switch (statusCode) {
1616 statusCode = STATUS_CONNECTING;
1620 if (mResolvedStatusCode == statusCode) {
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedRadioControl.java52 public void triggerIncomingUssd(String statusCode, String message); argument
H A DModelInterpreter.java386 public void triggerIncomingUssd(String statusCode, String message) {} argument
H A DSimulatedCommands.java1286 * @param statusCode Status code string. See <code>setOnUSSD</code>
1291 public void triggerIncomingUssd(String statusCode, String message) { argument
1293 String[] result = {statusCode, message};
/frameworks/volley/tests/src/com/android/volley/mock/
H A DMockHttpClient.java45 public void setErrorCode(int statusCode) { argument
46 if (statusCode == HttpStatus.SC_OK) {
47 throw new IllegalArgumentException("statusCode cannot be 200 for an error");
49 mStatusCode = statusCode;
/frameworks/base/tests/CoreTests/android/core/
H A DRequestAPITest.java311 public void verifyRedirect(int statusCode, String testName) throws Exception { argument
322 testEventHandler.expectStatus(statusCode);
327 mTestWebServer.setRedirect(REDIRECT_TO, statusCode);
343 requestHandle.setupRedirect(REDIRECT_TO, statusCode, new HashMap<String, String>());
/frameworks/base/core/java/android/net/http/
H A DRequestHandle.java143 * @param statusCode HTTP status code returned from original request
148 public boolean setupRedirect(String redirectTo, int statusCode, argument
191 if ((statusCode == 302 || statusCode == 303) && mMethod.equals("POST")) {
199 if (statusCode == 307) {
/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/av/drm/common/
H A DIDrmManagerService.cpp266 const int statusCode = reply.readInt32(); local
280 drmInfoStatus = new DrmInfoStatus(statusCode, infoType, drmBuffer, mimeType);
517 const int statusCode = reply.readInt32(); local
530 drmConvertedStatus = new DrmConvertedStatus(statusCode, convertedData, offset);
549 const int statusCode = reply.readInt32(); local
562 drmConvertedStatus = new DrmConvertedStatus(statusCode, convertedData, offset);
955 reply->writeInt32(drmInfoStatus->statusCode);
1216 reply->writeInt32(drmConvertedStatus->statusCode);
1247 reply->writeInt32(drmConvertedStatus->statusCode);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp750 int32_t statusCode; local
751 if (!msg->getStatusCode(&statusCode)) {
755 if (statusCode != 200) {
794 int32_t statusCode; local
795 if (!msg->getStatusCode(&statusCode)) {
799 if (statusCode != 200) {
974 int32_t statusCode; local
975 if (!msg->getStatusCode(&statusCode)) {
979 if (statusCode != 200) {
995 int32_t statusCode; local
[all...]
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp473 int statusCode = pDrmInfoStatus->statusCode; local
497 drmInfoStatus = env->NewObject(localRef, constructorId, statusCode, infoType,
648 int statusCode = pDrmConvertedStatus->statusCode; local
663 statusCode, dataArray, pDrmConvertedStatus->offset);
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsCall.java1872 private void notifyError(int reason, int statusCode, String message) { argument
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipSessionGroup.java953 int statusCode = response.getStatusCode();
954 switch (statusCode) {
966 if (statusCode >= 500) {
1056 private String getResponseString(int statusCode) { argument
1058 statusLine.setStatusCode(statusCode);
1059 statusLine.setReasonPhrase(SIPResponse.getReasonPhrase(statusCode));
1154 int statusCode = response.getStatusCode();
1155 switch (statusCode) {
1193 if (statusCode >= 400) {
1197 } else if (statusCode >
[all...]

Completed in 1149 milliseconds