/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 | 63 if (status.statusCode == STATUS_OK) { in finish() 68 throw new IOException("Unexpected DRM status: " + status.statusCode); in finish() 94 if (status.statusCode == STATUS_OK) { in write() 97 throw new IOException("Unexpected DRM status: " + status.statusCode); in write()
|
/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/com/android/volley/toolbox/ |
D | BasicNetwork.java | 95 int statusCode = statusLine.getStatusCode(); in performRequest() local 99 if (statusCode == HttpStatus.SC_NOT_MODIFIED) { in performRequest() 109 if (statusCode != HttpStatus.SC_OK && statusCode != HttpStatus.SC_NO_CONTENT) { in performRequest() 112 return new NetworkResponse(statusCode, responseContents, responseHeaders, false); in performRequest() 120 int statusCode = 0; in performRequest() 123 statusCode = httpResponse.getStatusLine().getStatusCode(); in performRequest() 127 VolleyLog.e("Unexpected response code %d for %s", statusCode, request.getUrl()); in performRequest() 129 networkResponse = new NetworkResponse(statusCode, responseContents, in performRequest() 131 if (statusCode == HttpStatus.SC_UNAUTHORIZED || in performRequest() 132 statusCode == HttpStatus.SC_FORBIDDEN) { in performRequest()
|
/frameworks/volley/src/com/android/volley/ |
D | NetworkResponse.java | 35 public NetworkResponse(int statusCode, byte[] data, Map<String, String> headers, in NetworkResponse() argument 37 this.statusCode = statusCode; in NetworkResponse() 52 public final int statusCode; field in NetworkResponse
|
/frameworks/base/libs/storage/ |
D | IMountShutdownObserver.cpp | 32 int32_t statusCode = data.readInt32(); in onTransact() local 33 onShutDownComplete(statusCode); in onTransact()
|
/frameworks/av/media/libstagefright/wifi-display/ |
D | ParsedMessage.cpp | 191 bool ParsedMessage::getStatusCode(int32_t *statusCode) const { in getStatusCode() 196 *statusCode = strtol(statusCodeString.c_str(), &end, 10); in getStatusCode() 199 || (*statusCode) < 100 || (*statusCode) > 999) { in getStatusCode() 200 *statusCode = 0; in getStatusCode()
|
D | ParsedMessage.h | 36 bool getStatusCode(int32_t *statusCode) const;
|
/frameworks/base/core/java/android/net/http/ |
D | Request.java | 250 int statusCode = 0; in readResponse() local 255 statusCode = statusLine.getStatusCode(); in readResponse() 256 } while (statusCode < HttpStatus.SC_OK); in readResponse() 263 statusCode, statusLine.getReasonPhrase()); in readResponse() local 266 hasBody = canResponseHaveBody(mHttpRequest, statusCode); in readResponse() 337 if (statusCode == HttpStatus.SC_OK in readResponse() 338 || statusCode == HttpStatus.SC_PARTIAL_CONTENT) { in readResponse()
|
D | HttpsConnection.java | 202 int statusCode = 0; in openConnection() local 228 statusCode = statusLine.getStatusCode(); in openConnection() 229 } while (statusCode < HttpStatus.SC_OK); in openConnection() 256 if (statusCode == HttpStatus.SC_OK) { in openConnection() 278 statusCode, in openConnection() local
|
D | RequestHandle.java | 148 public boolean setupRedirect(String redirectTo, int statusCode, in setupRedirect() argument 191 if ((statusCode == 302 || statusCode == 303) && mMethod.equals("POST")) { in setupRedirect() 199 if (statusCode == 307) { in setupRedirect()
|
/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/tests/src/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/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 | 737 int32_t statusCode; in onReceiveM1Response() local 738 if (!msg->getStatusCode(&statusCode)) { in onReceiveM1Response() 742 if (statusCode != 200) { in onReceiveM1Response() 781 int32_t statusCode; in onReceiveM3Response() local 782 if (!msg->getStatusCode(&statusCode)) { in onReceiveM3Response() 786 if (statusCode != 200) { in onReceiveM3Response() 956 int32_t statusCode; in onReceiveM4Response() local 957 if (!msg->getStatusCode(&statusCode)) { in onReceiveM4Response() 961 if (statusCode != 200) { in onReceiveM4Response() 977 int32_t statusCode; in onReceiveM5Response() local [all …]
|
/frameworks/av/include/drm/ |
D | DrmConvertedStatus.h | 59 int statusCode;
|
D | DrmInfoStatus.h | 58 int statusCode;
|
/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/base/include/storage/ |
D | IMountShutdownObserver.h | 30 virtual void onShutDownComplete(const int32_t statusCode) = 0;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
D | SimulatedRadioControl.java | 52 public void triggerIncomingUssd(String statusCode, String message); in triggerIncomingUssd() argument
|
/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/opt/mms/src/java/com/google/android/mms/util/ |
D | DrmConvertSession.java | 97 convertedStatus.statusCode == DrmConvertedStatus.STATUS_OK && in convert() 131 convertedStatus.statusCode != DrmConvertedStatus.STATUS_OK || in close()
|