/frameworks/base/drm/java/android/drm/ |
D | DrmConvertedStatus.java | 50 public final int statusCode; field in DrmConvertedStatus 68 public DrmConvertedStatus(int statusCode, byte[] convertedData, int offset) { in DrmConvertedStatus() argument 69 if (!isValidStatusCode(statusCode)) { in DrmConvertedStatus() 70 throw new IllegalArgumentException("Unsupported status code: " + statusCode); in DrmConvertedStatus() 73 this.statusCode = statusCode; in DrmConvertedStatus() 78 private boolean isValidStatusCode(int statusCode) { in isValidStatusCode() argument 79 return statusCode == STATUS_OK || in isValidStatusCode() 80 statusCode == STATUS_INPUTDATA_ERROR || in isValidStatusCode() 81 statusCode == STATUS_ERROR; in isValidStatusCode()
|
D | DrmInfoStatus.java | 46 public final int statusCode; field in DrmInfoStatus 74 public DrmInfoStatus(int statusCode, int infoType, ProcessedData data, String mimeType) { in DrmInfoStatus() argument 79 if (!isValidStatusCode(statusCode)) { in DrmInfoStatus() 80 throw new IllegalArgumentException("Unsupported status code: " + statusCode); in DrmInfoStatus() 87 this.statusCode = statusCode; in DrmInfoStatus() 93 private boolean isValidStatusCode(int statusCode) { in isValidStatusCode() argument 94 return statusCode == STATUS_OK || statusCode == STATUS_ERROR; in isValidStatusCode()
|
D | DrmOutputStream.java | 70 if (status.statusCode == STATUS_OK) { in finish() 79 throw new IOException("Unexpected DRM status: " + status.statusCode); in finish() 105 if (status.statusCode == STATUS_OK) { in write() 108 throw new IOException("Unexpected DRM status: " + status.statusCode); in write()
|
/frameworks/base/core/java/android/webkit/ |
D | WebResourceResponse.java | 73 public WebResourceResponse(String mimeType, String encoding, int statusCode, in WebResourceResponse() argument 76 setStatusCodeAndReasonPhrase(statusCode, reasonPhrase); in WebResourceResponse() 127 public void setStatusCodeAndReasonPhrase(int statusCode, String reasonPhrase) { in setStatusCodeAndReasonPhrase() argument 129 if (statusCode < 100) in setStatusCodeAndReasonPhrase() 131 if (statusCode > 599) in setStatusCodeAndReasonPhrase() 133 if (statusCode > 299 && statusCode < 400) in setStatusCodeAndReasonPhrase() 146 mStatusCode = statusCode; in setStatusCodeAndReasonPhrase() 218 public WebResourceResponse(boolean immutable, String mimeType, String encoding, int statusCode, in WebResourceResponse() argument 223 mStatusCode = statusCode; in WebResourceResponse()
|
/frameworks/volley/src/main/java/com/android/volley/ |
D | NetworkResponse.java | 36 public NetworkResponse(int statusCode, byte[] data, Map<String, String> headers, in NetworkResponse() argument 38 this.statusCode = statusCode; in NetworkResponse() 45 public NetworkResponse(int statusCode, byte[] data, Map<String, String> headers, in NetworkResponse() argument 47 this(statusCode, data, headers, notModified, 0); in NetworkResponse() 59 public final int statusCode; field in NetworkResponse
|
/frameworks/base/core/java/android/os/storage/ |
D | IMountShutdownObserver.java | 69 int statusCode; in onTransact() local 70 statusCode = data.readInt(); in onTransact() 71 this.onShutDownComplete(statusCode); in onTransact() 100 public void onShutDownComplete(int statusCode) throws RemoteException { in onShutDownComplete() argument 105 _data.writeInt(statusCode); in onShutDownComplete() 123 public void onShutDownComplete(int statusCode) throws RemoteException; in onShutDownComplete() argument
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
D | BasicNetwork.java | 98 int statusCode = statusLine.getStatusCode(); in performRequest() local 102 if (statusCode == HttpStatus.SC_NOT_MODIFIED) { in performRequest() 134 if (statusCode < 200 || statusCode > 299) { in performRequest() 137 return new NetworkResponse(statusCode, responseContents, responseHeaders, false, in performRequest() 146 int statusCode = 0; in performRequest() 149 statusCode = httpResponse.getStatusLine().getStatusCode(); in performRequest() 153 VolleyLog.e("Unexpected response code %d for %s", statusCode, request.getUrl()); in performRequest() 155 networkResponse = new NetworkResponse(statusCode, responseContents, in performRequest() 157 if (statusCode == HttpStatus.SC_UNAUTHORIZED || in performRequest() 158 statusCode == HttpStatus.SC_FORBIDDEN) { in performRequest()
|
/frameworks/base/media/java/android/media/ |
D | MediaRouterClientState.java | 100 public int statusCode; field in MediaRouterClientState.RouteInfo 111 statusCode = MediaRouter.RouteInfo.STATUS_NONE; in RouteInfo() 124 statusCode = other.statusCode; in RouteInfo() 139 statusCode = in.readInt(); in RouteInfo() 160 dest.writeInt(statusCode); in writeToParcel() 176 + ", statusCode=" + statusCode in toString()
|
/frameworks/base/core/java/android/speech/tts/ |
D | AbstractEventLogger.java | 92 public void onCompleted(int statusCode) { in onCompleted() argument 107 if (statusCode != TextToSpeech.SUCCESS in onCompleted() 109 logFailure(statusCode); in onCompleted() 119 protected abstract void logFailure(int statusCode); in logFailure() argument
|
D | PlaybackSynthesisCallback.java | 205 int statusCode = 0; in done() local 234 statusCode = mStatusCode; in done() 238 if (statusCode == TextToSpeech.SUCCESS) { in done() 241 item.stop(statusCode); in done()
|
D | EventLoggerV1.java | 34 protected void logFailure(int statusCode) { in logFailure() argument 38 if (statusCode != TextToSpeech.STOPPED) { in logFailure()
|
D | SynthesisPlaybackQueueItem.java | 124 void stop(int statusCode) { in stop() argument 130 mStatusCode = statusCode; in stop()
|
/frameworks/av/media/libstagefright/foundation/ |
D | ParsedMessage.cpp | 206 bool ParsedMessage::getStatusCode(int32_t *statusCode) const { in getStatusCode() 209 *statusCode = 0; in getStatusCode() 214 *statusCode = strtol(statusCodeString.c_str(), &end, 10); in getStatusCode() 217 || (*statusCode) < 100 || (*statusCode) > 999) { in getStatusCode() 218 *statusCode = 0; in getStatusCode()
|
/frameworks/base/libs/storage/ |
D | IMountShutdownObserver.cpp | 32 int32_t statusCode = data.readInt32(); in onTransact() local 33 onShutDownComplete(statusCode); in onTransact()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GpsXtraDownloader.java | 118 int statusCode = connection.getResponseCode(); in doDownload() local 119 if (statusCode != HttpURLConnection.HTTP_OK) { in doDownload() 120 if (DEBUG) Log.d(TAG, "HTTP error downloading gps XTRA: " + statusCode); in doDownload()
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleExit.java | 69 int statusCode = in.getInt(); in handleChunk() local 71 Runtime.getRuntime().halt(statusCode); in handleChunk()
|
/frameworks/volley/src/test/java/com/android/volley/mock/ |
D | MockHttpClient.java | 45 public void setErrorCode(int statusCode) { in setErrorCode() argument 46 if (statusCode == HttpStatus.SC_OK) { in setErrorCode() 49 mStatusCode = statusCode; in setErrorCode()
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipSessionGroup.java | 953 int statusCode = response.getStatusCode(); in registeringToReady() local 954 switch (statusCode) { in registeringToReady() 966 if (statusCode >= 500) { in registeringToReady() 1056 private String getResponseString(int statusCode) { 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 >= 300) { [all …]
|
/frameworks/support/v7/mediarouter/jellybean-mr1/android/support/v7/media/ |
D | MediaRouterJellybeanMr1.java | 152 int statusCode = (Integer)mGetStatusCodeMethod.invoke(route); in isConnecting() local 153 return statusCode == mStatusConnecting; in isConnecting()
|
/frameworks/support/v4/jellybean-mr1/android/support/v4/media/routing/ |
D | MediaRouterJellybeanMr1.java | 152 int statusCode = (Integer)mGetStatusCodeMethod.invoke(route); in isConnecting() local 153 return statusCode == mStatusConnecting; in isConnecting()
|
/frameworks/av/drm/common/ |
D | DrmConvertedStatus.cpp | 23 statusCode(_statusCode), in DrmConvertedStatus()
|
D | DrmInfoStatus.cpp | 23 statusCode(_statusCode), in DrmInfoStatus()
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | WifiDisplaySource.cpp | 756 int32_t statusCode; in onReceiveM1Response() local 757 if (!msg->getStatusCode(&statusCode)) { in onReceiveM1Response() 761 if (statusCode != 200) { in onReceiveM1Response() 800 int32_t statusCode; in onReceiveM3Response() local 801 if (!msg->getStatusCode(&statusCode)) { in onReceiveM3Response() 805 if (statusCode != 200) { in onReceiveM3Response() 980 int32_t statusCode; in onReceiveM4Response() local 981 if (!msg->getStatusCode(&statusCode)) { in onReceiveM4Response() 985 if (statusCode != 200) { in onReceiveM4Response() 1001 int32_t statusCode; in onReceiveM5Response() local [all …]
|
/frameworks/base/tests/CoreTests/android/core/ |
D | RequestAPITest.java | 311 public void verifyRedirect(int statusCode, String testName) throws Exception { in verifyRedirect() argument 322 testEventHandler.expectStatus(statusCode); in verifyRedirect() 327 mTestWebServer.setRedirect(REDIRECT_TO, statusCode); in verifyRedirect() 343 requestHandle.setupRedirect(REDIRECT_TO, statusCode, new HashMap<String, String>()); in verifyRedirect()
|
/frameworks/av/include/drm/ |
D | DrmConvertedStatus.h | 59 int statusCode;
|