/system/vold/ |
ResponseCode.cpp | 25 #include "ResponseCode.h" 27 int ResponseCode::convertFromErrno() { 29 return(ResponseCode::OpFailedNoMedia); 31 return(ResponseCode::OpFailedMediaBlank); 33 return(ResponseCode::OpFailedMediaCorrupt); 35 return(ResponseCode::OpFailedStorageBusy); 37 return(ResponseCode::OpFailedStorageNotFound); 41 return(ResponseCode::OperationFailed);
|
CommandListener.cpp | 35 #include "ResponseCode.h" 89 cli->sendMsg(ResponseCode::CommandOkay, "Loop dump failed", true); 93 cli->sendMsg(ResponseCode::CommandOkay, "Devmapper dump failed", true); 106 cli->sendMsg(ResponseCode::CommandOkay, "dump complete", false); 120 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing Argument", false); 131 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume debug <off/on>", false); 137 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume mount <path>", false); 145 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume unmount <path> [force|force_and_revert]", false); 160 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: volume format <path>", false); 166 cli->sendMsg(ResponseCode::CommandSyntaxError [all...] |
Android.mk | 16 ResponseCode.cpp \
|
ResponseCode.h | 20 class ResponseCode {
|
DirectVolume.cpp | 31 #include "ResponseCode.h" 175 mVm->getBroadcaster()->sendBroadcast(ResponseCode::VolumeDiskInserted, 282 mVm->getBroadcaster()->sendBroadcast(ResponseCode::VolumeDiskRemoved, 313 mVm->getBroadcaster()->sendBroadcast(ResponseCode::VolumeBadRemoval, 331 mVm->getBroadcaster()->sendBroadcast(ResponseCode::VolumeBadRemoval,
|
/system/netd/ |
CommandListener.cpp | 37 #include "ResponseCode.h" 103 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); 112 cli->sendMsg(ResponseCode::OperationFailed, "Failed to open sysfs dir", true); 119 cli->sendMsg(ResponseCode::InterfaceListResult, de->d_name, false); 122 cli->sendMsg(ResponseCode::CommandOkay, "Interface list completed", false); 126 cli->sendMsg(ResponseCode::CommandSyntaxError, 132 cli->sendMsg(ResponseCode::OperationFailed, "Failed to read counters", true); 138 cli->sendMsg(ResponseCode::InterfaceRxCounterResult, msg, false); 144 cli->sendMsg(ResponseCode::CommandSyntaxError, 150 cli->sendMsg(ResponseCode::OperationFailed, "Failed to read counters", true) [all...] |
NetlinkHandler.cpp | 29 #include "ResponseCode.h" 83 mNm->getBroadcaster()->sendBroadcast(ResponseCode::InterfaceChange, 91 mNm->getBroadcaster()->sendBroadcast(ResponseCode::InterfaceChange, 100 mNm->getBroadcaster()->sendBroadcast(ResponseCode::InterfaceChange, 109 mNm->getBroadcaster()->sendBroadcast(ResponseCode::InterfaceChange, 117 mNm->getBroadcaster()->sendBroadcast(ResponseCode::BandwidthControl,
|
ResponseCode.h | 20 class ResponseCode {
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldHttpRetryExceptionTest.java | 32 assertTrue("responseCode is incorrect: " + hre.responseCode(), 33 hre.responseCode() == codes[i]); 47 assertTrue("responseCode is incorrect: " + hre.responseCode(), 48 hre.responseCode() == codes[i]);
|
/system/core/nexus/ |
CommandListener.cpp | 34 #include "ResponseCode.h" 63 cli->sendMsg(ResponseCode::OperationFailed, "Failed to create network", true); 67 cli->sendMsg(ResponseCode::CommandOkay, tmp, false); 82 cli->sendMsg(ResponseCode::OperationFailed, "Failed to remove network", true); 84 cli->sendMsg(ResponseCode::CommandOkay, "Network removed.", false); 106 cli->sendMsg(ResponseCode::WifiScanResult, buffer, false); 112 cli->sendMsg(ResponseCode::CommandOkay, "Scan results complete.", false); 131 cli->sendMsg(ResponseCode::WifiNetworkList, buffer, false); 136 cli->sendMsg(ResponseCode::CommandOkay, "Network listing complete.", false); 162 cli->sendMsg(ResponseCode::PropertyRead, tmp, false) [all...] |
ResponseCode.h | 20 class ResponseCode {
|
NetworkManager.cpp | 29 #include "ResponseCode.h" 162 getBroadcaster()->sendBroadcast(ResponseCode::DhcpStateChange,
|
/libcore/luni/src/main/java/java/net/ |
HttpRetryException.java | 29 private int responseCode; 44 responseCode = code; 61 responseCode = code; 88 public int responseCode() { 89 return responseCode;
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
HttpRetryExceptionTest.java | 42 assertEquals("responseCode", ref.responseCode(), tst.responseCode());
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
HttpRetryExceptionTest.java | 42 assertEquals("responseCode", ref.responseCode(), tst.responseCode());
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppObexClientSession.java | 327 int responseCode = -1; 420 responseCode = putOperation.getResponseCode(); 422 if (responseCode == ResponseCodes.OBEX_HTTP_CONTINUE 423 || responseCode == ResponseCodes.OBEX_HTTP_OK) { 431 Log.i(TAG, "Remote reject, Response code is " + responseCode); 443 responseCode = putOperation.getResponseCode(); 444 if (V) Log.v(TAG, "Response code is " + responseCode); 445 if (responseCode != ResponseCodes.OBEX_HTTP_CONTINUE 446 && responseCode != ResponseCodes.OBEX_HTTP_OK) { 464 if (responseCode == ResponseCodes.OBEX_HTTP_FORBIDDE [all...] |
/frameworks/base/cmds/keystore/ |
keystore.h | 20 // note state values overlap with ResponseCode for the purposes of the state() API 27 enum ResponseCode {
|
keystore.cpp | 198 ResponseCode encryptBlob(const char* filename, AES_KEY *aes_key, Entropy* entropy) { 243 ResponseCode decryptBlob(const char* filename, AES_KEY *aes_key) { 307 ResponseCode initialize(Value* pw) { 311 ResponseCode response = writeMasterKey(pw); 319 ResponseCode writeMasterKey(Value* pw) { 328 ResponseCode readMasterKey(Value* pw) { 353 ResponseCode response = masterKeyBlob.decryptBlob(MASTER_KEY_FILE, &passwordAesKey); 424 ResponseCode get(const char* filename, Blob* keyBlob) { 428 ResponseCode put(const char* filename, Blob* keyBlob) { 562 static const ResponseCode NO_ERROR_RESPONSE_CODE_SENT = (ResponseCode) 0 [all...] |
/frameworks/base/obex/javax/obex/ |
ClientOperation.java | 136 if ((mOperationDone) && (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_CONTINUE)) { 141 if ((!mOperationDone) && (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) { 149 if (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_OK) { 171 if ((mReplyHeader.responseCode == -1) 172 || (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) { 176 return mReplyHeader.responseCode; 446 if (mReplyHeader.responseCode != ResponseCodes.OBEX_HTTP_CONTINUE) { 547 mReplyHeader.responseCode = ResponseCodes.OBEX_HTTP_CONTINUE; 548 while ((more) && (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE)) { 552 if (mReplyHeader.responseCode == ResponseCodes.OBEX_HTTP_CONTINUE) [all...] |
/libcore/luni/src/main/java/libcore/net/http/ |
HttpURLConnectionImpl.java | 182 throw new IOException("No response body exists; responseCode=" + getResponseCode()); 293 int responseCode = getResponseCode(); 294 if (responseCode == HTTP_MULT_CHOICE || responseCode == HTTP_MOVED_PERM 295 || responseCode == HTTP_MOVED_TEMP || responseCode == HTTP_SEE_OTHER) { 386 final boolean processAuthHeader(int responseCode, ResponseHeaders response, 388 if (responseCode != HTTP_PROXY_AUTH && responseCode != HTTP_UNAUTHORIZED) { 393 String challenge = responseCode == HTTP_PROXY_AUT [all...] |
RawHeaders.java | 64 private int responseCode = -1; 73 responseCode = copyFrom.responseCode; 100 this.responseCode = Integer.parseInt(statusLine.substring(mark, last)); 122 return responseCode;
|
ResponseHeaders.java | 341 int responseCode = headers.getResponseCode(); 342 if (responseCode != HttpURLConnection.HTTP_OK 343 && responseCode != HttpURLConnection.HTTP_NOT_AUTHORITATIVE 344 && responseCode != HttpURLConnection.HTTP_MULT_CHOICE 345 && responseCode != HttpURLConnection.HTTP_MOVED_PERM 346 && responseCode != HttpURLConnection.HTTP_GONE) {
|
/frameworks/base/services/java/com/android/server/ |
NativeDaemonConnector.java | 54 class ResponseCode { 146 if (code >= ResponseCode.UnsolicitedInformational) { 275 if (code >= ResponseCode.FailedRangeStart && 276 code <= ResponseCode.FailedRangeEnd) { 304 } else if (code == NativeDaemonConnector.ResponseCode.CommandOkay) {
|
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
CacheResult.h | 51 int responseCode() const;
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | [all...] |