/system/core/base/ |
D | errors_windows.cpp | 38 DWORD error_code = int_error_code; in SystemErrorCodeToString() local 40 DWORD len = FormatMessageW(flags, nullptr, error_code, 0, msgbuf, in SystemErrorCodeToString() 45 error_code); in SystemErrorCodeToString() 53 GetLastError(), error_code); in SystemErrorCodeToString() 63 android::base::StringAppendF(&msg, " (%lu)", error_code); in SystemErrorCodeToString()
|
D | errors_unix.cpp | 24 std::string SystemErrorCodeToString(int error_code) { in SystemErrorCodeToString() argument 25 return strerror(error_code); in SystemErrorCodeToString()
|
/system/weaved/libweaved/ |
D | command.cc | 143 bool Command::Abort(const std::string& error_code, in Abort() argument 146 return StatusToError(binder_proxy_->abort(ToString16(error_code), in Abort() 153 std::string error_code = "_" + command_error->GetCode(); in AbortWithCustomError() local 154 return Abort(error_code, command_error->GetMessage(), error); in AbortWithCustomError() 159 std::string error_code = BinderExceptionString(status.exceptionCode()); in AbortWithCustomError() local 160 return Abort(error_code, status.exceptionMessage().string(), error); in AbortWithCustomError() 171 bool Command::SetError(const std::string& error_code, in SetError() argument 174 return StatusToError(binder_proxy_->setError(ToString16(error_code), in SetError() 181 std::string error_code = "_" + command_error->GetCode(); in SetCustomError() local 182 return SetError(error_code, command_error->GetMessage(), error); in SetCustomError() [all …]
|
D | command.h | 99 bool Abort(const std::string& error_code, 124 bool SetError(const std::string& error_code,
|
/system/connectivity/apmanager/ |
D | error.cc | 58 string error_code = kErrorInternalError; in ToDBusError() local 60 error_code = kErrorInvalidArguments; in ToDBusError() 62 error_code = kErrorInvalidConfiguration; in ToDBusError() 68 error_code, in ToDBusError()
|
/system/update_engine/payload_consumer/ |
D | postinstall_runner_action.cc | 289 ErrorCode error_code = ErrorCode::kPostinstallRunnerError; in CompletePartitionPostinstall() local 295 error_code = ErrorCode::kPostinstallBootedFromFirmwareB; in CompletePartitionPostinstall() 302 error_code = ErrorCode::kPostinstallFirmwareRONotUpdatable; in CompletePartitionPostinstall() 310 return CompletePostinstall(error_code); in CompletePartitionPostinstall() 320 void PostinstallRunnerAction::CompletePostinstall(ErrorCode error_code) { in CompletePostinstall() argument 323 if (error_code == ErrorCode::kSuccess && in CompletePostinstall() 325 error_code = ErrorCode::kPostinstallRunnerError; in CompletePostinstall() 329 completer.set_code(error_code); in CompletePostinstall() 331 if (error_code != ErrorCode::kSuccess) { in CompletePostinstall()
|
D | postinstall_runner_action.h | 97 void CompletePostinstall(ErrorCode error_code);
|
/system/update_engine/ |
D | sideload_main.cc | 104 void SendPayloadApplicationComplete(ErrorCode error_code) override { in SendPayloadApplicationComplete() argument 105 if (error_code != ErrorCode::kSuccess) { in SendPayloadApplicationComplete() 108 error_code, in SendPayloadApplicationComplete() 109 utils::ErrorCodeToString(error_code).c_str())); in SendPayloadApplicationComplete() 111 error_code_ = error_code; in SendPayloadApplicationComplete() 119 ErrorCode error_code() { return error_code_; } in error_code() function in chromeos_update_engine::__anon58637b230211::SideloadDaemonState
|
D | omaha_request_action.h | 80 error_code(ErrorCode::kError) {} in OmahaEvent() 84 error_code(ErrorCode::kSuccess) {} in OmahaEvent() 88 error_code(in_error_code) {} in OmahaEvent() 92 ErrorCode error_code; member
|
D | update_engine_client_android.cc | 65 Status onPayloadApplicationComplete(int error_code) override; 96 int error_code) { in onPayloadApplicationComplete() argument 97 ErrorCode code = static_cast<ErrorCode>(error_code); in onPayloadApplicationComplete() 99 << " (" << error_code << "))"; in onPayloadApplicationComplete()
|
D | service_observer_interface.h | 41 virtual void SendPayloadApplicationComplete(ErrorCode error_code) = 0;
|
D | binder_service_android.cc | 56 ErrorCode error_code) { in SendPayloadApplicationComplete() argument 58 callback->onPayloadApplicationComplete(static_cast<int>(error_code)); in SendPayloadApplicationComplete()
|
D | weave_service.h | 45 void SendPayloadApplicationComplete(ErrorCode error_code) override {} in SendPayloadApplicationComplete() argument
|
D | omaha_request_action.cc | 152 string error_code; in GetAppBody() local 154 error_code = base::StringPrintf(" errorcode=\"%d\"", in GetAppBody() 155 static_cast<int>(event->error_code)); in GetAppBody() 159 event->type, event->result, error_code.c_str()); in GetAppBody() 945 ErrorCode error_code = ErrorCode::kOmahaRequestXMLParseError; in TransferComplete() local 947 error_code = ErrorCode::kOmahaRequestEmptyResponseError; in TransferComplete() 949 error_code = ErrorCode::kOmahaRequestXMLHasEntityDecl; in TransferComplete() 951 completer.set_code(error_code); in TransferComplete()
|
D | binder_service_android.h | 53 void SendPayloadApplicationComplete(ErrorCode error_code) override;
|
/system/security/keystore/ |
D | keystore_client_impl.cpp | 281 int32_t error_code = mapKeystoreError(result.resultCode); in beginOperation() local 282 if (error_code == KM_ERROR_OK) { in beginOperation() 290 return error_code; in beginOperation() 307 int32_t error_code = mapKeystoreError(result.resultCode); in updateOperation() local 308 if (error_code == KM_ERROR_OK) { in updateOperation() 316 return error_code; in updateOperation() 333 int32_t error_code = mapKeystoreError(result.resultCode); in finishOperation() local 334 if (error_code == KM_ERROR_OK) { in finishOperation() 342 return error_code; in finishOperation() 349 int32_t error_code = mapKeystoreError(keystore_->abort(active_operations_[handle])); in abortOperation() local [all …]
|
/system/core/include/ziparchive/ |
D | zip_writer.h | 66 static const char* ErrorCodeString(int32_t error_code); 144 int32_t HandleError(int32_t error_code);
|
/system/bt/stack/l2cap/ |
D | l2cap_client.c | 46 static void connect_completed_cb(uint16_t local_channel_id, uint16_t error_code); 50 static void disconnect_completed_cb(uint16_t local_channel_id, uint16_t error_code); 188 static void connect_completed_cb(uint16_t local_channel_id, uint16_t error_code) { in connect_completed_cb() argument 197 if (error_code != L2CAP_CONN_OK) { in connect_completed_cb() 198 LOG_ERROR(LOG_TAG, "%s error connecting L2CAP channel: %d.", __func__, error_code); in connect_completed_cb() 308 static void disconnect_completed_cb(uint16_t local_channel_id, UNUSED_ATTR uint16_t error_code) { in disconnect_completed_cb() argument
|
/system/update_engine/binder_bindings/android/os/ |
D | IUpdateEngineCallback.aidl | 21 void onPayloadApplicationComplete(int error_code); in onPayloadApplicationComplete() argument
|
/system/core/base/include/android-base/ |
D | errors.h | 41 std::string SystemErrorCodeToString(int error_code);
|
/system/core/libziparchive/ |
D | zip_writer.cc | 73 const char* ZipWriter::ErrorCodeString(int32_t error_code) { in ErrorCodeString() argument 74 if (error_code < 0 && (-error_code) < static_cast<int32_t>(arraysize(sErrorCodes))) { in ErrorCodeString() 75 return sErrorCodes[-error_code]; in ErrorCodeString() 111 int32_t ZipWriter::HandleError(int32_t error_code) { in HandleError() argument 114 return error_code; in HandleError()
|
/system/core/fastboot/ |
D | socket.cpp | 285 DWORD error_code = WSAGetLastError(); in GetErrorMessage() local 287 int error_code = errno; in GetErrorMessage() 289 return android::base::SystemErrorCodeToString(error_code); in GetErrorMessage()
|
/system/bt/stack/avdt/ |
D | avdt_api.c | 562 UINT16 AVDT_ConfigRsp(UINT8 handle, UINT8 label, UINT8 error_code, UINT8 category) in AVDT_ConfigRsp() argument 584 evt.msg.hdr.err_code = error_code; in AVDT_ConfigRsp() 587 if (error_code == 0) in AVDT_ConfigRsp() 797 UINT16 AVDT_ReconfigRsp(UINT8 handle, UINT8 label, UINT8 error_code, UINT8 category) in AVDT_ReconfigRsp() argument 811 evt.msg.hdr.err_code = error_code; in AVDT_ReconfigRsp() 869 UINT16 AVDT_SecurityRsp(UINT8 handle, UINT8 label, UINT8 error_code, in AVDT_SecurityRsp() argument 884 evt.msg.security_rsp.hdr.err_code = error_code; in AVDT_SecurityRsp()
|
/system/bt/stack/include/ |
D | avdt_api.h | 651 extern UINT16 AVDT_ConfigRsp(UINT8 handle, UINT8 label, UINT8 error_code, 733 extern UINT16 AVDT_ReconfigRsp(UINT8 handle, UINT8 label, UINT8 error_code, 766 extern UINT16 AVDT_SecurityRsp(UINT8 handle, UINT8 label, UINT8 error_code,
|
/system/connectivity/shill/net/ |
D | netlink_manager.cc | 698 uint32_t error_code = 0; in OnNlMessageReceived() local 703 error_code = error_ack_message->error(); in OnNlMessageReceived() 718 if (is_error_ack_message && (error_code == static_cast<uint32_t>(-EBUSY))) { in OnNlMessageReceived() 722 pending_messages_.front().last_received_error = error_code; in OnNlMessageReceived() 742 if (error_code) { in OnNlMessageReceived()
|