/system/apex/apexd/ |
D | apexd_rollback_utils.h | 65 std::error_code error_code; in ReplaceFiles() local 66 fs::remove_all(to_path, error_code); in ReplaceFiles() 67 if (error_code) { in ReplaceFiles() 69 << to_path << " : " << error_code.message(); in ReplaceFiles() 73 std::error_code error_code; in ReplaceFiles() local 74 fs::remove_all(to_path, error_code); in ReplaceFiles() 75 if (error_code) { in ReplaceFiles() 77 << error_code.message(); in ReplaceFiles()
|
D | apexd_session.cpp | 113 std::error_code ec; in GetSessions() 257 std::error_code error_code; in DeleteSession() local 258 std::filesystem::remove_all(path, error_code); in DeleteSession() 259 if (error_code) { in DeleteSession() 261 << error_code.message(); in DeleteSession()
|
/system/core/fs_mgr/libfiemap/ |
D | fiemap_status.cpp | 23 if (error_code() == ErrorCode::ERROR) { in string() 26 return strerror(-static_cast<int>(error_code())); in string() 31 FiemapStatus::ErrorCode FiemapStatus::CastErrorCode(int error_code) { in CastErrorCode() argument 32 switch (error_code) { in CastErrorCode() 35 return static_cast<ErrorCode>(error_code); in CastErrorCode()
|
/system/core/fs_mgr/libsnapshot/ |
D | return.cpp | 24 switch (error_code()) { in string() 30 return strerror(-static_cast<int>(error_code())); in string() 34 Return::ErrorCode Return::FromFiemapStatusErrorCode(FiemapStatus::ErrorCode error_code) { in FromFiemapStatusErrorCode() argument 35 switch (error_code) { in FromFiemapStatusErrorCode() 39 return static_cast<ErrorCode>(error_code); in FromFiemapStatusErrorCode()
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | return.h | 35 ErrorCode error_code() const { return error_code_; } in error_code() function 36 bool is_ok() const { return error_code() == ErrorCode::SUCCESS; } in is_ok() 47 : error_code_(FromFiemapStatusErrorCode(status.error_code())), required_size_(0) {} in Return() 52 Return(ErrorCode error_code, uint64_t required_size = 0) 53 : error_code_(error_code), required_size_(required_size) {} in error_code_() argument 56 static ErrorCode FromFiemapStatusErrorCode(FiemapStatus::ErrorCode error_code);
|
/system/libbase/ |
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 | 25 std::string SystemErrorCodeToString(int error_code) { in SystemErrorCodeToString() argument 26 return strerror(error_code); in SystemErrorCodeToString()
|
/system/update_engine/cros/ |
D | requisition_util.cc | 48 int error_code; in ReadDeviceRequisition() local 52 deserializer.Deserialize(&error_code, &error_msg); in ReadDeviceRequisition() 54 if (error_code != 0) { in ReadDeviceRequisition() 56 << error_code << " and error: " << error_msg; in ReadDeviceRequisition()
|
D | omaha_request_builder_xml.h | 74 error_code(ErrorCode::kError) {} in OmahaEvent() 78 error_code(ErrorCode::kSuccess) {} in OmahaEvent() 80 : type(in_type), result(in_result), error_code(in_error_code) {} in OmahaEvent() 84 ErrorCode error_code; member
|
/system/core/fs_mgr/libfiemap/include/libfiemap/ |
D | fiemap_status.h | 42 static FiemapStatus FromErrorCode(int32_t error_code) { in FromErrorCode() argument 43 return FiemapStatus(CastErrorCode(error_code)); in FromErrorCode() 52 ErrorCode error_code() const { return error_code_; } in error_code() function 53 bool is_ok() const { return error_code() == ErrorCode::SUCCESS; } in is_ok()
|
/system/unwinding/libbacktrace/ |
D | UnwindStack.cpp | 66 error->error_code = BACKTRACE_UNWIND_NO_ERROR; in Unwind() 70 error->error_code = BACKTRACE_UNWIND_ERROR_ACCESS_MEM_FAILED; in Unwind() 75 error->error_code = BACKTRACE_UNWIND_ERROR_UNWIND_INFO; in Unwind() 79 error->error_code = BACKTRACE_UNWIND_ERROR_UNSUPPORTED_OPERATION; in Unwind() 83 error->error_code = BACKTRACE_UNWIND_ERROR_MAP_MISSING; in Unwind() 87 error->error_code = BACKTRACE_UNWIND_ERROR_EXCEED_MAX_FRAMES_LIMIT; in Unwind() 91 error->error_code = BACKTRACE_UNWIND_ERROR_REPEATED_FRAME; in Unwind() 95 error->error_code = BACKTRACE_UNWIND_ERROR_INVALID_ELF; in Unwind() 99 error->error_code = BACKTRACE_UNWIND_ERROR_INTERNAL; in Unwind() 103 error->error_code = BACKTRACE_UNWIND_ERROR_THREAD_DOESNT_EXIST; in Unwind() [all …]
|
D | BacktraceCurrent.cpp | 82 error_.error_code = BACKTRACE_UNWIND_ERROR_MAP_MISSING; in Unwind() 86 error_.error_code = BACKTRACE_UNWIND_NO_ERROR; in Unwind() 179 error_.error_code = BACKTRACE_UNWIND_ERROR_INTERNAL; in UnwindThread() 187 error_.error_code = BACKTRACE_UNWIND_ERROR_THREAD_DOESNT_EXIST; in UnwindThread() 189 error_.error_code = BACKTRACE_UNWIND_ERROR_INTERNAL; in UnwindThread() 234 error_.error_code = BACKTRACE_UNWIND_ERROR_THREAD_DOESNT_EXIST; in UnwindThread() 236 error_.error_code = BACKTRACE_UNWIND_ERROR_THREAD_TIMEOUT; in UnwindThread()
|
/system/update_engine/aosp/ |
D | hardware_android.cc | 69 auto error_code = utils::IsTimestampNewer(old_version, new_version); in IsTimestampNewerLogged() local 70 if (error_code != ErrorCode::kSuccess) { in IsTimestampNewerLogged() 72 << utils::ErrorCodeToString(error_code) << ": " in IsTimestampNewerLogged() 76 return error_code; in IsTimestampNewerLogged() 321 auto error_code = in IsPartitionUpdateValid() local 323 if (error_code == ErrorCode::kPayloadTimestampError) { in IsPartitionUpdateValid() 335 error_code = ErrorCode::kSuccess; in IsPartitionUpdateValid() 338 return error_code; in IsPartitionUpdateValid() 344 auto error_code = in IsPartitionUpdateValid() local 346 return error_code; in IsPartitionUpdateValid()
|
D | sideload_main.cc | 87 void SendPayloadApplicationComplete(ErrorCode error_code) override { in SendPayloadApplicationComplete() argument 88 if (error_code != ErrorCode::kSuccess) { in SendPayloadApplicationComplete() 91 error_code, in SendPayloadApplicationComplete() 92 utils::ErrorCodeToString(error_code).c_str())); in SendPayloadApplicationComplete() 94 error_code_ = error_code; in SendPayloadApplicationComplete() 100 ErrorCode error_code() { return error_code_; } in error_code() function in chromeos_update_engine::__anon576c97800111::SideloadDaemonState
|
/system/extras/simpleperf/scripts/ |
D | debug_unwind_reporter.py | 57 self.error_code = 0 67 self.error_code = int(value) 96 def __init__(self, error_code: List[int]): 97 self.error_code = set(error_code) 100 return sample.error_code in self.error_code 204 self.symbol_counters[sample.error_code][symbol_key] += 1 205 self.error_code_counter[sample.error_code] += 1 215 for error_code, count in self.error_code_counter.most_common(): 216 table.add_row([count, error_code]) 223 for error_code, _ in self.error_code_counter.most_common(): [all …]
|
/system/bt/gd/hci/acl_manager/ |
D | event_checkers.h | 34 std::string error_code = ErrorCodeText(status); in check_command_complete() local 35 …LOG_ERROR("Received command complete with error code %s, opcode 0x%02hx", error_code.c_str(), op_c… in check_command_complete() 51 std::string error_code = ErrorCodeText(status); in check_command_status() local 52 …LOG_ERROR("Received command status with error code %s, opcode 0x%02hx", error_code.c_str(), op_cod… in check_command_status()
|
D | classic_acl_connection.cc | 168 std::string error_code = ErrorCodeText(status); in on_role_discovery_complete() local 169 LOG_ERROR("Received on_role_discovery_complete with error code %s", error_code.c_str()); in on_role_discovery_complete() 182 std::string error_code = ErrorCodeText(status); in on_read_link_policy_settings_complete() local 183 …LOG_ERROR("Received on_read_link_policy_settings_complete with error code %s", error_code.c_str()); in on_read_link_policy_settings_complete() 196 std::string error_code = ErrorCodeText(status); in on_read_automatic_flush_timeout_complete() local 197 …LOG_ERROR("Received on_read_automatic_flush_timeout_complete with error code %s", error_code.c_str… in on_read_automatic_flush_timeout_complete() 210 std::string error_code = ErrorCodeText(status); in on_read_transmit_power_level_complete() local 211 …LOG_ERROR("Received on_read_transmit_power_level_complete with error code %s", error_code.c_str()); in on_read_transmit_power_level_complete() 224 std::string error_code = ErrorCodeText(status); in on_read_link_supervision_timeout_complete() local 225 …LOG_ERROR("Received on_read_link_supervision_timeout_complete with error code %s", error_code.c_st… in on_read_link_supervision_timeout_complete() [all …]
|
/system/bt/stack/include/ |
D | hci_error_code.h | 71 inline std::string hci_error_code_text(const tHCI_ERROR_CODE& error_code) { in hci_error_code_text() argument 72 switch (error_code) { in hci_error_code_text() 148 return base::StringPrintf("Unknown Error[%02hx]", error_code); in hci_error_code_text() 164 inline tHCI_ERROR_CODE to_hci_error_code(const uint8_t& error_code) { in to_hci_error_code() argument 165 if (error_code > _HCI_ERR_MAX_ERR) return HCI_ERR_UNDEFINED; in to_hci_error_code() 166 return static_cast<tHCI_ERROR_CODE>(error_code); in to_hci_error_code()
|
/system/update_engine/payload_consumer/ |
D | postinstall_runner_action.cc | 335 ErrorCode error_code = ErrorCode::kPostinstallRunnerError; in Cleanup() local 341 error_code = ErrorCode::kPostinstallBootedFromFirmwareB; in Cleanup() 348 error_code = ErrorCode::kPostinstallFirmwareRONotUpdatable; in Cleanup() 356 return CompletePostinstall(error_code); in Cleanup() 366 void PostinstallRunnerAction::CompletePostinstall(ErrorCode error_code) { in Cleanup() argument 369 if (error_code == ErrorCode::kSuccess) { in Cleanup() 374 error_code = ErrorCode::kPostinstallRunnerError; in Cleanup() 382 error_code = ErrorCode::kUpdatedButNotActive; in Cleanup() 392 completer.set_code(error_code); in Cleanup() 394 if (error_code != ErrorCode::kSuccess && in Cleanup() [all …]
|
/system/chre/host/common/include/chre_host/ |
D | log.h | 61 #define LOG_ERROR(message, error_code) \ argument 64 strerror_r(error_code, error_string, sizeof(error_string)); \ 65 LOGE("%s: %s (%d)\n", message, error_string, error_code); \
|
/system/libziparchive/ |
D | zip_error.cpp | 39 const char* ErrorCodeString(int32_t error_code) { in ErrorCodeString() argument 45 const uint32_t idx = -error_code; in ErrorCodeString()
|
/system/connectivity/wificond/scanning/ |
D | scan_utils.cpp | 284 int* error_code) { in Scan() argument 349 error_code)) { in Scan() 353 if (*error_code != 0) { in Scan() 354 LOG(ERROR) << "NL80211_CMD_TRIGGER_SCAN failed: " << strerror(*error_code); in Scan() 371 int error_code; in StopScheduledScan() local 373 &error_code)) { in StopScheduledScan() 377 if (error_code == ENOENT) { in StopScheduledScan() 380 } else if (error_code != 0) { in StopScheduledScan() 383 << strerror(error_code); in StopScheduledScan() 418 int* error_code) { in StartScheduledScan() argument [all …]
|
/system/extras/simpleperf/ |
D | cmd_report_sample.cpp | 100 proto::Sample_UnwindingResult_ErrorCode error_code) { in ProtoUnwindingErrorCodeToString() argument 101 switch (error_code) { in ProtoUnwindingErrorCodeToString() 421 ProtoUnwindingErrorCodeToString(sample.unwinding_result().error_code())); in DumpProtobufReport() 629 proto_unwinding_result->set_raw_error_code(unwinding_result.error_code); in AddUnwindingResultInProtobuf() 631 proto::Sample_UnwindingResult_ErrorCode error_code; in AddUnwindingResultInProtobuf() local 632 switch (unwinding_result.error_code) { in AddUnwindingResultInProtobuf() 634 error_code = proto::Sample_UnwindingResult::ERROR_NONE; in AddUnwindingResultInProtobuf() 644 error_code = proto::Sample_UnwindingResult::ERROR_NOT_ENOUGH_STACK; in AddUnwindingResultInProtobuf() 646 error_code = proto::Sample_UnwindingResult::ERROR_MEMORY_INVALID; in AddUnwindingResultInProtobuf() 651 error_code = proto::Sample_UnwindingResult::ERROR_UNWIND_INFO; in AddUnwindingResultInProtobuf() [all …]
|
/system/update_engine/stable/ |
D | update_engine_stable_client.cc | 74 ndk::ScopedAStatus onPayloadApplicationComplete(int error_code) override; 93 int error_code) { in onPayloadApplicationComplete() argument 94 LOG(INFO) << "onPayloadApplicationComplete(" << error_code << ")"; in onPayloadApplicationComplete() 95 auto code = static_cast<ErrorCode>(error_code); in onPayloadApplicationComplete()
|
/system/connectivity/wificond/tests/ |
D | scan_utils_unittest.cpp | 66 NL80211Packet CreateControlMessageError(int error_code) { in CreateControlMessageError() argument 76 *error_field = -error_code; in CreateControlMessageError() 265 int error_code; in TEST_F() local 267 kFakeScanType, false, {}, {}, &error_code)); in TEST_F() 268 EXPECT_EQ(kFakeErrorCode, error_code); in TEST_F() 304 int error_code; in TEST_F() local 309 req_flags, {}, {}, {}, &error_code)); in TEST_F() 310 EXPECT_EQ(kFakeErrorCode, error_code); in TEST_F()
|