/frameworks/base/libs/storage/ |
IMountShutdownObserver.cpp | 31 virtual void onShutDownComplete(const int32_t /* statusCode */) {} 42 int32_t statusCode = data.readInt32(); 43 onShutDownComplete(statusCode);
|
/external/apache-http/src/org/apache/http/client/ |
HttpResponseException.java | 45 private final int statusCode; 47 public HttpResponseException(int statusCode, final String s) { 49 this.statusCode = statusCode; 53 return this.statusCode;
|
/external/volley/src/main/java/com/android/volley/ |
NetworkResponse.java | 30 * @param statusCode the HTTP status code 36 public NetworkResponse(int statusCode, byte[] data, Map<String, String> headers, 38 this.statusCode = statusCode; 45 public NetworkResponse(int statusCode, byte[] data, Map<String, String> headers, 47 this(statusCode, data, headers, notModified, 0); 59 public final int statusCode;
|
/frameworks/base/drm/java/android/drm/ |
DrmConvertedStatus.java | 50 public final int statusCode; 63 * @param statusCode Conversion status. Must be one of the status code constants 68 public DrmConvertedStatus(int statusCode, byte[] convertedData, int offset) { 69 if (!isValidStatusCode(statusCode)) { 70 throw new IllegalArgumentException("Unsupported status code: " + statusCode); 73 this.statusCode = statusCode; 78 private boolean isValidStatusCode(int statusCode) { 79 return statusCode == STATUS_OK || 80 statusCode == STATUS_INPUTDATA_ERROR | [all...] |
DrmInfoStatus.java | 46 public final int statusCode; 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) { 79 if (!isValidStatusCode(statusCode)) { 80 throw new IllegalArgumentException("Unsupported status code: " + statusCode); 87 this.statusCode = statusCode; 93 private boolean isValidStatusCode(int statusCode) { 94 return statusCode == STATUS_OK || statusCode == STATUS_ERROR [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicStatusLine.java | 66 private final int statusCode; 76 * @param statusCode the status code of the response 80 public BasicStatusLine(final ProtocolVersion version, int statusCode, 87 if (statusCode < 0) { 92 this.statusCode = statusCode; 102 return this.statusCode;
|
BasicLineParser.java | 424 int statusCode = 0; 426 statusCode = 441 return createStatusLine(ver, statusCode, reasonPhrase);
|
/external/deqp/executor/ |
xeTestLogParser.cpp | 140 TestStatusCode statusCode = TESTSTATUSCODE_CRASH; 144 statusCode = getTestStatusCode(reason); 150 m_currentCaseData->setTestResult(statusCode, reason);
|
/frameworks/av/include/drm/ |
DrmConvertedStatus.h | 59 int statusCode;
|
DrmInfoStatus.h | 58 int statusCode;
|
/frameworks/base/core/java/android/ddm/ |
DdmHandleExit.java | 69 int statusCode = in.getInt(); 71 Runtime.getRuntime().halt(statusCode);
|
/developers/samples/android/common/src/java/com/example/android/common/play/ |
PlayHelper.java | 58 int statusCode = GooglePlayServicesUtil 61 if ((statusCode == ConnectionResult.SUCCESS ) 65 if (GooglePlayServicesUtil.isUserRecoverableError(statusCode)) { 66 Dialog eDialog = GooglePlayServicesUtil.getErrorDialog(statusCode,
|
/external/autotest/frontend/client/src/autotest/common/ |
XhrJsonRpcProxy.java | 58 int statusCode = response.getStatusCode(); 59 if (statusCode != 200) { 60 notify.showError("Received error " + Integer.toString(statusCode) + " " +
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
StatusLineParser.java | 50 protected int statusCode() throws ParseException { 53 dbg_enter("statusCode"); 63 dbg_leave("statusCode"); 80 int scode = statusCode();
|
/external/apache-http/src/org/apache/http/impl/client/ |
DefaultRedirectHandler.java | 86 int statusCode = response.getStatusLine().getStatusCode(); 87 switch (statusCode) {
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
StatusLine.java | 57 protected int statusCode; 78 if (sl.statusCode != 0) { 80 int hiscode = sl.statusCode; 81 String codeString = Integer.toString(sl.statusCode); 82 String mycode = Integer.toString(statusCode); 86 if (statusCode != sl.statusCode) 116 String encoding = SIPConstants.SIP_VERSION_STRING + SP + statusCode; 134 return statusCode; 154 public void setStatusCode(int statusCode) { [all...] |
/frameworks/base/media/java/android/media/ |
MediaRouterClientState.java | 100 public int statusCode; 112 statusCode = MediaRouter.RouteInfo.STATUS_NONE; 126 statusCode = other.statusCode; 142 statusCode = in.readInt(); 164 dest.writeInt(statusCode); 181 + ", statusCode=" + statusCode
|
/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
HttpUrlFetcher.java | 68 final int statusCode = urlConnection.getResponseCode(); 69 if (statusCode / 100 == 2) { 72 } else if (statusCode / 100 == 3) { 80 if (statusCode == -1) { 83 throw new IOException("Request failed " + statusCode + ": " + urlConnection.getResponseMessage());
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
TestHttpResponse.java | 24 private int statusCode; 33 this.statusCode = 200; 37 public TestHttpResponse(int statusCode, String responseBody) { 38 this.statusCode = statusCode; 42 public TestHttpResponse(int statusCode, String responseBody, Header... headers) { 43 this(statusCode, responseBody.getBytes(), headers); 46 public TestHttpResponse(int statusCode, byte[] responseBody, Header... headers) { 47 this.statusCode = statusCode; [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
GpsXtraDownloader.java | 128 int statusCode = connection.getResponseCode(); 129 if (statusCode != HttpURLConnection.HTTP_OK) { 130 if (DEBUG) Log.d(TAG, "HTTP error downloading gps XTRA: " + statusCode);
|
/frameworks/support/v7/mediarouter/jellybean-mr1/android/support/v7/media/ |
MediaRouterJellybeanMr1.java | 161 int statusCode = (Integer)mGetStatusCodeMethod.invoke(route); 162 return statusCode == mStatusConnecting;
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
InstallFailed.java | 49 * @param statusCode The status code from the package installer. 53 private int getExplanationFromErrorCode(int statusCode) { 54 Log.d(LOG_TAG, "Installation status code: " + statusCode); 56 switch (statusCode) { 74 int statusCode = getIntent().getIntExtra(PackageInstaller.EXTRA_STATUS, 112 if (statusCode == PackageInstaller.STATUS_FAILURE_STORAGE) { 118 getExplanationFromErrorCode(statusCode));
|
/external/deqp/executor/tools/ |
xeExtractValues.cpp | 45 : statusCode(false) 51 bool statusCode; 60 xe::TestStatusCode statusCode; 156 tagResult.statusCode = caseData->getStatusCode(); 168 if ((parseResult != xe::TestResultParser::PARSERESULT_ERROR && fullResult.statusCode != xe::TESTSTATUSCODE_LAST) || 169 (tagResult.statusCode == xe::TESTSTATUSCODE_LAST && fullResult.statusCode != xe::TESTSTATUSCODE_LAST)) 171 tagResult.statusCode = fullResult.statusCode; 174 else if (tagResult.statusCode == xe::TESTSTATUSCODE_LAST [all...] |
/external/volley/src/main/java/com/android/volley/toolbox/ |
BasicNetwork.java | 99 int statusCode = statusLine.getStatusCode(); 103 if (statusCode == HttpStatus.SC_NOT_MODIFIED) { 135 if (statusCode < 200 || statusCode > 299) { 138 return new NetworkResponse(statusCode, responseContents, responseHeaders, false, 147 int statusCode; 149 statusCode = httpResponse.getStatusLine().getStatusCode(); 153 VolleyLog.e("Unexpected response code %d for %s", statusCode, request.getUrl()); 156 networkResponse = new NetworkResponse(statusCode, responseContents, 158 if (statusCode == HttpStatus.SC_UNAUTHORIZED | [all...] |
/frameworks/base/core/java/android/speech/tts/ |
PlaybackSynthesisCallback.java | 217 int statusCode = 0; 246 statusCode = mStatusCode; 250 if (statusCode == TextToSpeech.SUCCESS) { 253 item.stop(statusCode);
|