/system/vold/ |
D | CryptCommandListener.cpp | 87 return cli->sendMsg(ResponseCode::CommandOkay, "Command succeeded", false); in sendGenericOkFail() 89 return cli->sendMsg(ResponseCode::OperationFailed, "Command failed", false); in sendGenericOkFail() 115 … cli->sendMsg(ResponseCode::CommandNoPermission, "No permission to run cryptfs commands", false); in runCommand() 120 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing Argument", false); in runCommand() 128 … cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: cryptfs checkpw <passwd>", false); in runCommand() 135 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: cryptfs restart", false); in runCommand() 142 cli->sendMsg(ResponseCode::CommandSyntaxError, "Usage: cryptfs cryptocomplete", false); in runCommand() 152 cli->sendMsg(ResponseCode::CommandSyntaxError, syntax, false); in runCommand() 161 cli->sendMsg(ResponseCode::CommandSyntaxError, syntax, in runCommand() 180 cli->sendMsg(ResponseCode::CommandSyntaxError, syntax, false); in runCommand() [all …]
|
D | CommandListener.cpp | 97 return cli->sendMsg(ResponseCode::CommandOkay, "Command succeeded", false); in sendGenericOkFail() 99 return cli->sendMsg(ResponseCode::OperationFailed, "Command failed", false); in sendGenericOkFail() 111 cli->sendMsg(ResponseCode::CommandOkay, "Loop dump failed", true); in runCommand() 115 cli->sendMsg(ResponseCode::CommandOkay, "Devmapper dump failed", true); in runCommand() 128 cli->sendMsg(ResponseCode::CommandOkay, "dump complete", false); in runCommand() 141 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing Argument", false); in runCommand() 165 return cli->sendMsg(ResponseCode::CommandSyntaxError, "Unknown disk", false); in runCommand() 175 return cli->sendMsg(ResponseCode::CommandSyntaxError, nullptr, false); in runCommand() 180 return cli->sendMsg(ResponseCode::CommandSyntaxError, nullptr, false); in runCommand() 208 return cli->sendMsg(ResponseCode::CommandSyntaxError, "Unknown volume", false); in runCommand() [all …]
|
D | ResponseCode.cpp | 27 int ResponseCode::convertFromErrno() { in convertFromErrno() 29 return(ResponseCode::OpFailedNoMedia); in convertFromErrno() 31 return(ResponseCode::OpFailedMediaBlank); in convertFromErrno() 33 return(ResponseCode::OpFailedMediaCorrupt); in convertFromErrno() 35 return(ResponseCode::OpFailedStorageBusy); in convertFromErrno() 37 return(ResponseCode::OpFailedStorageNotFound); in convertFromErrno() 41 return(ResponseCode::OperationFailed); in convertFromErrno()
|
D | VolumeBase.cpp | 49 notifyEvent(ResponseCode::VolumeStateChanged, StringPrintf("%d", mState)); in setState() 119 notifyEvent(ResponseCode::VolumePathChanged, mPath); in setPath() 130 notifyEvent(ResponseCode::VolumeInternalPathChanged, mInternalPath); in setInternalPath() 168 notifyEvent(ResponseCode::VolumeCreated, in create() 188 notifyEvent(ResponseCode::VolumeDestroyed); in destroy()
|
D | Disk.cpp | 120 notifyEvent(ResponseCode::DiskCreated, StringPrintf("%d", mFlags)); in create() 130 notifyEvent(ResponseCode::DiskDestroyed); in destroy() 239 notifyEvent(ResponseCode::DiskSizeChanged, StringPrintf("%" PRId64, mSize)); in readMetadata() 240 notifyEvent(ResponseCode::DiskLabelChanged, mLabel); in readMetadata() 241 notifyEvent(ResponseCode::DiskSysPathChanged, mSysPath); in readMetadata() 264 notifyEvent(ResponseCode::DiskScanned); in readPartitions() 330 notifyEvent(ResponseCode::DiskScanned); in readPartitions()
|
D | PrivateVolume.cpp | 57 notifyEvent(ResponseCode::VolumeFsTypeChanged, mFsType); in readMetadata() 58 notifyEvent(ResponseCode::VolumeFsUuidChanged, mFsUuid); in readMetadata() 59 notifyEvent(ResponseCode::VolumeFsLabelChanged, mFsLabel); in readMetadata()
|
D | PublicVolume.cpp | 55 notifyEvent(ResponseCode::VolumeFsTypeChanged, mFsType); in readMetadata() 56 notifyEvent(ResponseCode::VolumeFsUuidChanged, mFsUuid); in readMetadata() 57 notifyEvent(ResponseCode::VolumeFsLabelChanged, mFsLabel); in readMetadata()
|
D | ResponseCode.h | 20 class ResponseCode {
|
D | Android.mk | 16 ResponseCode.cpp \
|
D | Benchmark.cpp | 48 ResponseCode::BenchmarkResult, res.c_str(), false); in notifyResult()
|
D | TrimTask.cpp | 111 ResponseCode::TrimResult, res.c_str(), false); in notifyResult()
|
D | MoveTask.cpp | 59 VolumeManager::Instance()->getBroadcaster()->sendBroadcast(ResponseCode::MoveStatus, in notifyProgress()
|
D | VolumeManager.cpp | 1846 cli->sendMsg(ResponseCode::AsecListResult, in listMountedObbs()
|
/system/netd/server/ |
D | CommandListener.cpp | 267 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand() 276 cli->sendMsg(ResponseCode::OperationFailed, "Failed to open sysfs dir", true); in runCommand() 283 cli->sendMsg(ResponseCode::InterfaceListResult, de->d_name, false); in runCommand() 286 cli->sendMsg(ResponseCode::CommandOkay, "Interface list completed", false); in runCommand() 293 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand() 307 cli->sendMsg(ResponseCode::OperationFailed, "Interface not found", true); in runCommand() 335 cli->sendMsg(ResponseCode::InterfaceGetCfgResult, msg, false); in runCommand() 346 cli->sendMsg(ResponseCode::CommandSyntaxError, "Missing argument", false); in runCommand() 361 cli->sendMsg(ResponseCode::OperationFailed, "Failed to set address", true); in runCommand() 368 cli->sendMsg(ResponseCode::OperationFailed, "Failed to set prefixLength", true); in runCommand() [all …]
|
D | SoftapController.cpp | 64 return ResponseCode::SoftapStatusResult; in startSoftap() 73 return ResponseCode::ServiceStartFailed; in startSoftap() 84 return ResponseCode::ServiceStartFailed; in startSoftap() 90 return ResponseCode::SoftapStatusResult; in startSoftap() 97 return ResponseCode::SoftapStatusResult; in stopSoftap() 107 return ResponseCode::SoftapStatusResult; in stopSoftap() 130 return ResponseCode::CommandSyntaxError; in setSoftap() 175 return ResponseCode::OperationFailed; in setSoftap() 177 return ResponseCode::SoftapStatusResult; in setSoftap() 191 return ResponseCode::CommandSyntaxError; in fwReloadSoftap() [all …]
|
D | MDnsSdListener.cpp | 73 cli->sendMsg(ResponseCode::CommandParameterError, in discover() 86 cli->sendMsg(ResponseCode::CommandParameterError, in discover() 92 cli->sendMsg(ResponseCode::CommandOkay, "Discover operation started", false); in discover() 105 context->mListener->sendBroadcast(ResponseCode::ServiceDiscoveryFailed, msg, false); in MDnsSdListenerDiscoverCallback() 115 respCode = ResponseCode::ServiceDiscoveryServiceAdded; in MDnsSdListenerDiscoverCallback() 121 respCode = ResponseCode::ServiceDiscoveryServiceRemoved; in MDnsSdListenerDiscoverCallback() 134 cli->sendMsg(ResponseCode::CommandParameterError, msg, false); in stop() 142 cli->sendMsg(ResponseCode::CommandParameterError, "Unknown requestId", false); in stop() 150 cli->sendMsg(ResponseCode::CommandOkay, msg, false); in stop() 166 cli->sendMsg(ResponseCode::CommandParameterError, in serviceRegister() [all …]
|
D | NetlinkHandler.cpp | 148 notify(ResponseCode::InterfaceChange, "Iface added %s", name); in notifyInterfaceAdded() 152 notify(ResponseCode::InterfaceChange, "Iface removed %s", name); in notifyInterfaceRemoved() 156 notify(ResponseCode::InterfaceChange, in notifyInterfaceChanged() 161 notify(ResponseCode::InterfaceChange, in notifyInterfaceLinkChanged() 166 notify(ResponseCode::BandwidthControl, "limit alert %s %s", name, iface); in notifyQuotaLimitReached() 174 notify(ResponseCode::InterfaceClassActivity, in notifyInterfaceClassActivity() 177 notify(ResponseCode::InterfaceClassActivity, in notifyInterfaceClassActivity() 180 notify(ResponseCode::InterfaceClassActivity, in notifyInterfaceClassActivity() 187 notify(ResponseCode::InterfaceAddressChange, in notifyAddressChanged() 196 notify(ResponseCode::InterfaceDnsInfo, "DnsInfo servers %s %s %s", in notifyInterfaceDnsServers() [all …]
|
D | DnsProxyListener.cpp | 169 mClient->sendBinaryMsg(ResponseCode::DnsProxyOperationFailed, &rv, sizeof(rv)); in run() 171 bool success = !mClient->sendCode(ResponseCode::DnsProxyQueryResult); in run() 204 cli->sendMsg(ResponseCode::CommandParameterError, msg, false); in runCommand() 286 cli->sendMsg(ResponseCode::CommandParameterError, msg, false); in runCommand() 361 success = mClient->sendCode(ResponseCode::DnsProxyQueryResult) == 0; in run() 364 success = mClient->sendBinaryMsg(ResponseCode::DnsProxyOperationFailed, NULL, 0) == 0; in run() 393 cli->sendMsg(ResponseCode::CommandParameterError, msg, false); in runCommand() 411 cli->sendMsg(ResponseCode::OperationFailed, msg, false); in runCommand() 478 success = mClient->sendCode(ResponseCode::DnsProxyQueryResult) == 0; in run() 481 success = mClient->sendBinaryMsg(ResponseCode::DnsProxyOperationFailed, NULL, 0) == 0; in run()
|
D | ResponseCode.h | 20 class ResponseCode {
|
D | BandwidthController.cpp | 1211 cli->sendMsg(ResponseCode::TetheringStatsResult, msg, false); in parseForwardChainStats() 1214 cli->sendMsg(ResponseCode::TetheringStatsListResult, msg, false); in parseForwardChainStats() 1228 cli->sendMsg(ResponseCode::CommandOkay, "Tethering stats list completed", false); in parseForwardChainStats()
|
/system/security/keystore/ |
D | keystore.cpp | 603 ResponseCode writeBlob(const char* filename, AES_KEY *aes_key, State state, Entropy* entropy) { in writeBlob() 666 ResponseCode readBlob(const char* filename, AES_KEY *aes_key, State state) { in readBlob() 799 ResponseCode initialize(const android::String8& pw, Entropy* entropy) { in initialize() 803 ResponseCode response = writeMasterKey(pw, entropy); in initialize() 811 ResponseCode copyMasterKey(UserState* src) { in copyMasterKey() 823 ResponseCode writeMasterKey(const android::String8& pw, Entropy* entropy) { in writeMasterKey() 832 ResponseCode readMasterKey(const android::String8& pw, Entropy* entropy) { in readMasterKey() 857 ResponseCode response = masterKeyBlob.readBlob(mMasterKeyFile, &passwordAesKey, in readMasterKey() 1027 ResponseCode initialize() { in initialize() 1040 ResponseCode initializeUser(const android::String8& pw, uid_t userId) { in initializeUser() [all …]
|
/system/security/keystore/include/keystore/ |
D | keystore.h | 29 enum ResponseCode { enum
|
/system/core/fingerprintd/ |
D | FingerprintDaemonProxy.cpp | 105 if (ret != ResponseCode::NO_ERROR) { in notifyKeystore()
|
/system/core/gatekeeperd/ |
D | gatekeeperd.cpp | 250 if (ret != ResponseCode::NO_ERROR) { in verifyChallenge()
|