/frameworks/base/drm/java/android/drm/ |
H A D | DrmConvertedStatus.java | 50 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 D | DrmInfoStatus.java | 46 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 D | DrmOutputStream.java | 70 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/volley/src/com/android/volley/ |
H A D | NetworkResponse.java | 30 * @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/drm/common/ |
H A D | DrmConvertedStatus.cpp | 23 statusCode(_statusCode),
|
H A D | DrmInfoStatus.cpp | 23 statusCode(_statusCode),
|
/frameworks/base/core/java/android/webkit/ |
H A D | 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, 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/core/java/android/os/storage/ |
H A D | 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 { 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/libs/storage/ |
H A D | IMountShutdownObserver.cpp | 32 int32_t statusCode = data.readInt32(); local 33 onShutDownComplete(statusCode);
|
/frameworks/av/include/drm/ |
H A D | DrmConvertedStatus.h | 59 int statusCode; member in class:android::DrmConvertedStatus
|
H A D | DrmInfoStatus.h | 58 int statusCode; member in class:android::DrmInfoStatus
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | AbstractEventLogger.java | 92 public void onCompleted(int statusCode) { argument 107 if (statusCode != TextToSpeech.SUCCESS 109 logFailure(statusCode); 119 protected abstract void logFailure(int statusCode); argument
|
H A D | EventLoggerV1.java | 34 protected void logFailure(int statusCode) { argument 38 if (statusCode != TextToSpeech.STOPPED) {
|
H A D | PlaybackSynthesisCallback.java | 205 int statusCode = 0; 234 statusCode = mStatusCode; 238 if (statusCode == TextToSpeech.SUCCESS) { 241 item.stop(statusCode);
|
H A D | SynthesisPlaybackQueueItem.java | 124 void stop(int statusCode) { argument 130 mStatusCode = statusCode;
|
/frameworks/base/core/java/android/ddm/ |
H A D | DdmHandleExit.java | 69 int statusCode = in.getInt(); 71 Runtime.getRuntime().halt(statusCode);
|
/frameworks/base/include/storage/ |
H A D | IMountShutdownObserver.h | 30 virtual void onShutDownComplete(const int32_t statusCode) = 0;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedRadioControl.java | 52 public void triggerIncomingUssd(String statusCode, String message); argument
|
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | BasicNetwork.java | 95 int statusCode = statusLine.getStatusCode(); 99 if (statusCode == HttpStatus.SC_NOT_MODIFIED) { 118 if (statusCode < 200 || statusCode > 299) { 121 return new NetworkResponse(statusCode, responseContents, responseHeaders, false); 129 int statusCode = 0; 132 statusCode = httpResponse.getStatusLine().getStatusCode(); 136 VolleyLog.e("Unexpected response code %d for %s", statusCode, request.getUrl()); 138 networkResponse = new NetworkResponse(statusCode, responseContents, 140 if (statusCode [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaRouterClientState.java | 100 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
|
/frameworks/volley/tests/src/com/android/volley/mock/ |
H A D | MockHttpClient.java | 45 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/av/include/media/stagefright/foundation/ |
H A D | ParsedMessage.h | 36 bool getStatusCode(int32_t *statusCode) const;
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ParsedMessage.cpp | 206 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/core/java/android/net/http/ |
H A D | Request.java | 247 int statusCode = 0; 252 statusCode = statusLine.getStatusCode(); 253 } while (statusCode < HttpStatus.SC_OK); 260 statusCode, statusLine.getReasonPhrase()); 263 hasBody = canResponseHaveBody(mHttpRequest, statusCode); 334 if (statusCode == HttpStatus.SC_OK 335 || statusCode == HttpStatus.SC_PARTIAL_CONTENT) {
|
H A D | HttpsConnection.java | 202 int statusCode = 0; 228 statusCode = statusLine.getStatusCode(); 229 } while (statusCode < HttpStatus.SC_OK); 256 if (statusCode == HttpStatus.SC_OK) { 278 statusCode,
|