/system/apex/apexd/ |
D | apexd_rollback_utils.h | 69 std::error_code error_code; in ReplaceFiles() local 70 fs::remove_all(to_path, error_code); in ReplaceFiles() 71 if (error_code) { in ReplaceFiles() 73 << error_code.message(); in ReplaceFiles() 77 std::error_code error_code; in ReplaceFiles() local 78 fs::remove_all(to_path, error_code); in ReplaceFiles() 79 if (error_code) { in ReplaceFiles() 81 << error_code.message(); in ReplaceFiles()
|
D | apexd_session.cpp | 72 std::error_code error_code; in deleteSessionDir() local 73 std::filesystem::remove_all(path, error_code); in deleteSessionDir() 74 if (error_code) { in deleteSessionDir() 76 << error_code.message(); in deleteSessionDir() 121 std::error_code ec; in GetSessions()
|
/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/security/keystore-engine/ |
D | keystore_backend_binder.cpp | 108 int32_t error_code; in sign() local 112 KeymasterBlob(), UID_SELF, &error_code); in sign() 117 if (!KSReturn(error_code).isOk()) { in sign() 118 LOG(ERROR) << AT << "getKeyCharacteristics failed: " << error_code; in sign() 145 std::vector<uint8_t>() /* entropy */, UID_SELF, &error_code); in sign() 151 keystore::KeyStoreNativeReturnCode rc(error_code); in sign() 153 LOG(ERROR) << AT << "Keystore begin returned: " << error_code; in sign() 169 std::vector<uint8_t>(in, in + len), &error_code); in sign() 175 rc = keystore::KeyStoreNativeReturnCode(error_code); in sign() 177 LOG(ERROR) << AT << "Keystore update returned: " << error_code; in sign() [all …]
|
/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/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/hardware/interfaces/wifi/keystore/1.0/default/ |
D | keystore.cpp | 93 int32_t error_code; in getPublicKey() local 98 KeymasterBlob() /* clientId */, KeymasterBlob() /* appData */, UID_SELF, &error_code); in getPublicKey() 105 KSReturn rc(error_code); in getPublicKey() 107 LOG(ERROR) << AT << "exportKey failed: " << error_code; in getPublicKey() 149 int32_t error_code; in sign() local 153 KeymasterBlob(), UID_SELF, &error_code); in sign() 159 KSReturn rc(error_code); in sign() 161 LOG(ERROR) << AT << "getKeyCharacteristics failed: " << error_code; in sign() 191 std::vector<uint8_t>() /* entropy */, UID_SELF, &error_code); in sign() 198 rc = KSReturn(error_code); in sign() [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 | 131 std::string error_code = ErrorCodeText(status); in on_role_discovery_complete() local 132 LOG_ERROR("Received on_role_discovery_complete with error code %s", error_code.c_str()); in on_role_discovery_complete() 145 std::string error_code = ErrorCodeText(status); in on_read_link_policy_settings_complete() local 146 …LOG_ERROR("Received on_read_link_policy_settings_complete with error code %s", error_code.c_str()); in on_read_link_policy_settings_complete() 159 std::string error_code = ErrorCodeText(status); in on_read_automatic_flush_timeout_complete() local 160 …LOG_ERROR("Received on_read_automatic_flush_timeout_complete with error code %s", error_code.c_str… in on_read_automatic_flush_timeout_complete() 173 std::string error_code = ErrorCodeText(status); in on_read_transmit_power_level_complete() local 174 …LOG_ERROR("Received on_read_transmit_power_level_complete with error code %s", error_code.c_str()); in on_read_transmit_power_level_complete() 187 std::string error_code = ErrorCodeText(status); in on_read_link_supervision_timeout_complete() local 188 …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 …]
|
D | classic_impl.h | 245 std::string error_code = ErrorCodeText(status); in on_connection_packet_type_changed() local 246 … LOG_ERROR("Received on_connection_packet_type_changed with error code %s", error_code.c_str()); in on_connection_packet_type_changed() 262 std::string error_code = ErrorCodeText(status); in on_master_link_key_complete() local 263 LOG_ERROR("Received on_master_link_key_complete with error code %s", error_code.c_str()); in on_master_link_key_complete() 279 std::string error_code = ErrorCodeText(status); in on_authentication_complete() local 280 LOG_ERROR("Received on_authentication_complete with error code %s", error_code.c_str()); in on_authentication_complete() 331 std::string error_code = ErrorCodeText(status); in on_change_connection_link_key_complete() local 332 …LOG_ERROR("Received on_change_connection_link_key_complete with error code %s", error_code.c_str()… in on_change_connection_link_key_complete() 347 std::string error_code = ErrorCodeText(status); in on_read_clock_offset_complete() local 348 LOG_ERROR("Received on_read_clock_offset_complete with error code %s", error_code.c_str()); in on_read_clock_offset_complete() [all …]
|
/system/update_engine/payload_consumer/ |
D | partition_update_generator_android.cc | 81 if (std::error_code error_code; in GetStaticAbPartitionsOnDevice() local 82 !std::filesystem::exists(block_device_dir_, error_code) || error_code) { in GetStaticAbPartitionsOnDevice() 84 << error_code.message(); in GetStaticAbPartitionsOnDevice() 88 std::error_code error_code; in GetStaticAbPartitionsOnDevice() local 89 auto it = std::filesystem::directory_iterator(block_device_dir_, error_code); in GetStaticAbPartitionsOnDevice() 90 if (error_code) { in GetStaticAbPartitionsOnDevice() 92 << error_code.message(); in GetStaticAbPartitionsOnDevice()
|
D | postinstall_runner_action.cc | 308 ErrorCode error_code = ErrorCode::kPostinstallRunnerError; in CompletePartitionPostinstall() local 314 error_code = ErrorCode::kPostinstallBootedFromFirmwareB; in CompletePartitionPostinstall() 321 error_code = ErrorCode::kPostinstallFirmwareRONotUpdatable; in CompletePartitionPostinstall() 329 return CompletePostinstall(error_code); in CompletePartitionPostinstall() 339 void PostinstallRunnerAction::CompletePostinstall(ErrorCode error_code) { in CompletePostinstall() argument 342 if (error_code == ErrorCode::kSuccess) { in CompletePostinstall() 347 error_code = ErrorCode::kPostinstallRunnerError; in CompletePostinstall() 353 error_code = ErrorCode::kUpdatedButNotActive; in CompletePostinstall() 358 completer.set_code(error_code); in CompletePostinstall() 360 if (error_code != ErrorCode::kSuccess && in CompletePostinstall() [all …]
|
/system/core/libbacktrace/ |
D | BacktraceCurrent.cpp | 70 error_.error_code = BACKTRACE_UNWIND_ERROR_MAP_MISSING; in Unwind() 74 error_.error_code = BACKTRACE_UNWIND_NO_ERROR; in Unwind() 167 error_.error_code = BACKTRACE_UNWIND_ERROR_INTERNAL; in UnwindThread() 175 error_.error_code = BACKTRACE_UNWIND_ERROR_THREAD_DOESNT_EXIST; in UnwindThread() 177 error_.error_code = BACKTRACE_UNWIND_ERROR_INTERNAL; in UnwindThread() 222 error_.error_code = BACKTRACE_UNWIND_ERROR_THREAD_DOESNT_EXIST; in UnwindThread() 224 error_.error_code = BACKTRACE_UNWIND_ERROR_THREAD_TIMEOUT; in UnwindThread()
|
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()
|
/system/security/keystore/ |
D | keystore_client_impl.cpp | 181 int32_t error_code; in addRandomNumberGeneratorEntropy() local 187 keystore_->addRngEntropy(promise, blob2hidlVec(entropy), flags, &error_code); in addRandomNumberGeneratorEntropy() 190 KeyStoreNativeReturnCode rc(error_code); in addRandomNumberGeneratorEntropy() 203 int32_t error_code; in generateKey() local 209 hidl_vec<uint8_t>() /* entropy */, kDefaultUID, flags, &error_code); in generateKey() 212 KeyStoreNativeReturnCode rc(error_code); in generateKey() 230 int32_t error_code; in getKeyCharacteristics() local 235 android::security::keymaster::KeymasterBlob(), kDefaultUID, &error_code); in getKeyCharacteristics() 238 KeyStoreNativeReturnCode rc(error_code); in getKeyCharacteristics() 258 int32_t error_code; in importKey() local [all …]
|
/system/chre/host/common/include/chre_host/ |
D | log.h | 59 #define LOG_ERROR(message, error_code) \ argument 62 strerror_r(error_code, error_string, sizeof(error_string)); \ 63 LOGE("%s: %s (%d)\n", message, error_string, error_code); \
|
/system/update_engine/ |
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::__anon1f39b2d70111::SideloadDaemonState
|
D | omaha_request_builder_xml.h | 75 error_code(ErrorCode::kError) {} in OmahaEvent() 79 error_code(ErrorCode::kSuccess) {} in OmahaEvent() 81 : type(in_type), result(in_result), error_code(in_error_code) {} in OmahaEvent() 85 ErrorCode error_code; member
|
D | cleanup_previous_update_action.cc | 92 void CleanupPreviousUpdateAction::ActionCompleted(ErrorCode error_code) { in ActionCompleted() argument 232 ErrorCode error_code = ErrorCode::kSuccess; in WaitForMergeOrSchedule() local 234 error_code = ErrorCode::kError; in WaitForMergeOrSchedule() 237 processor_->ActionComplete(this, error_code); in WaitForMergeOrSchedule() 279 ErrorCode error_code = in WaitForMergeOrSchedule() local 281 processor_->ActionComplete(this, error_code); in WaitForMergeOrSchedule()
|
/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 | 283 int* error_code) { in Scan() argument 344 error_code)) { in Scan() 348 if (*error_code != 0) { in Scan() 349 LOG(ERROR) << "NL80211_CMD_TRIGGER_SCAN failed: " << strerror(*error_code); in Scan() 366 int error_code; in StopScheduledScan() local 368 &error_code)) { in StopScheduledScan() 372 if (error_code == ENOENT) { in StopScheduledScan() 375 } else if (error_code != 0) { in StopScheduledScan() 378 << strerror(error_code); in StopScheduledScan() 412 int* error_code) { in StartScheduledScan() argument [all …]
|
/system/connectivity/wificond/tests/ |
D | scan_utils_unittest.cpp | 65 NL80211Packet CreateControlMessageError(int error_code) { in CreateControlMessageError() argument 75 *error_field = -error_code; in CreateControlMessageError() 262 int error_code; in TEST_F() local 264 kFakeScanType, {}, {}, &error_code)); in TEST_F() 265 EXPECT_EQ(kFakeErrorCode, error_code); in TEST_F() 301 int error_code; in TEST_F() local 306 req_flags, {}, {}, {}, &error_code)); in TEST_F() 307 EXPECT_EQ(kFakeErrorCode, error_code); in TEST_F()
|