Searched refs:error_code (Results 1 - 25 of 64) sorted by relevance

123

/system/core/base/
H A Derrors_unix.cpp24 std::string SystemErrorCodeToString(int error_code) { argument
25 return strerror(error_code);
H A Derrors_windows.cpp38 DWORD error_code = int_error_code; local
40 DWORD len = FormatMessageW(flags, nullptr, error_code, 0, msgbuf,
45 error_code);
53 GetLastError(), error_code);
63 android::base::StringAppendF(&msg, " (%lu)", error_code);
/system/update_engine/binder_bindings/android/os/
H A DIUpdateEngineCallback.aidl24 void onPayloadApplicationComplete(int error_code);
/system/core/base/include/android-base/
H A Derrors.h38 // Returns a string describing the given system error code. |error_code| must
41 std::string SystemErrorCodeToString(int error_code);
/system/connectivity/wificond/scanning/
H A Doffload_scan_callback_interface_impl.cpp37 OffloadScanCallbackInterface::AsyncErrorReason error_code) {
38 scanner_impl_->OnOffloadError(error_code);
36 OnOffloadError( OffloadScanCallbackInterface::AsyncErrorReason error_code) argument
H A Dscan_utils.cpp249 int* error_code) {
291 error_code)) {
295 if (*error_code != 0) {
296 LOG(ERROR) << "NL80211_CMD_TRIGGER_SCAN failed: " << strerror(*error_code);
313 int error_code; local
315 &error_code)) {
319 if (error_code == ENOENT) {
322 } else if (error_code != 0) {
325 << strerror(error_code);
358 int* error_code) {
245 Scan(uint32_t interface_index, bool request_random_mac, const vector<vector<uint8_t>>& ssids, const vector<uint32_t>& freqs, int* error_code) argument
350 StartScheduledScan( uint32_t interface_index, const SchedScanIntervalSetting& interval_setting, int32_t rssi_threshold, bool request_random_mac, const std::vector<std::vector<uint8_t>>& scan_ssids, const std::vector<std::vector<uint8_t>>& match_ssids, const std::vector<uint32_t>& freqs, int* error_code) argument
[all...]
H A Dscanner_impl.cpp220 int error_code = 0; local
222 &error_code)) {
223 CHECK(error_code != ENODEV) << "Driver is in a bad state, restarting wificond";
322 int error_code = 0; local
331 &error_code)) {
333 CHECK(error_code != ENODEV) << "Driver is in a bad state, restarting wificond";
517 OffloadScanCallbackInterface::AsyncErrorReason error_code) {
524 LOG(ERROR) << "Offload Service Async Failure error_code=" << error_code;
525 switch (error_code) {
516 OnOffloadError( OffloadScanCallbackInterface::AsyncErrorReason error_code) argument
[all...]
H A Dscan_utils.h84 // |error_code| contains the errno kernel replied when this returns false.
90 int* error_code);
108 // |error_code| contains the errno kernel replied when this returns false.
118 int* error_code);
/system/chre/host/common/include/chre_host/
H A Dlog.h57 * @param error_code Standard error code number (EINVAL, etc)
59 #define LOG_ERROR(message, error_code) \
62 strerror_r(error_code, error_string, sizeof(error_string)); \
63 LOGE("%s: %s (%d)\n", message, error_string, error_code); \
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
H A Dutility.h47 const char *GetErrorCodeName(ErrorCode error_code);
/system/update_engine/
H A Dservice_observer_interface.h24 #include "update_engine/common/error_code.h"
41 virtual void SendPayloadApplicationComplete(ErrorCode error_code) = 0;
H A Dsideload_main.cc104 void SendPayloadApplicationComplete(ErrorCode error_code) override {
105 if (error_code != ErrorCode::kSuccess) {
108 error_code,
109 utils::ErrorCodeToString(error_code).c_str()));
111 error_code_ = error_code;
117 ErrorCode error_code() { return error_code_; } function in class:chromeos_update_engine::__anon2678::SideloadDaemonState
H A Domaha_request_action.h81 error_code(ErrorCode::kError) {}
85 error_code(ErrorCode::kSuccess) {}
89 error_code(in_error_code) {}
93 ErrorCode error_code; member in struct:chromeos_update_engine::OmahaEvent
H A Dbinder_service_android.h53 void SendPayloadApplicationComplete(ErrorCode error_code) override;
H A Dupdate_engine_client_android.cc41 #include "update_engine/common/error_code.h"
65 Status onPayloadApplicationComplete(int error_code) override;
96 int error_code) {
97 ErrorCode code = static_cast<ErrorCode>(error_code);
99 << " (" << error_code << "))";
95 onPayloadApplicationComplete( int error_code) argument
H A Dbinder_service_android.cc56 ErrorCode error_code) {
58 callback->onPayloadApplicationComplete(static_cast<int>(error_code));
55 SendPayloadApplicationComplete( ErrorCode error_code) argument
/system/connectivity/wificond/tests/
H A Dmock_scan_utils.h49 int* error_code));
59 int* error_code));
H A Dscan_utils_unittest.cpp59 NL80211Packet CreateControlMessageError(int error_code) { argument
69 *error_field = -error_code;
155 int error_code; local
157 &error_code));
158 EXPECT_EQ(kFakeErrorCode, error_code);
186 int error_code; local
190 kFakeRssiThreshold, kFakeUseRandomMAC, {}, {}, {}, &error_code));
191 EXPECT_EQ(kFakeErrorCode, error_code);
/system/update_engine/payload_consumer/
H A Dpostinstall_runner_action.cc300 ErrorCode error_code = ErrorCode::kPostinstallRunnerError; local
306 error_code = ErrorCode::kPostinstallBootedFromFirmwareB;
313 error_code = ErrorCode::kPostinstallFirmwareRONotUpdatable;
321 return CompletePostinstall(error_code);
331 void PostinstallRunnerAction::CompletePostinstall(ErrorCode error_code) { argument
334 if (error_code == ErrorCode::kSuccess &&
336 error_code = ErrorCode::kPostinstallRunnerError;
340 completer.set_code(error_code);
342 if (error_code != ErrorCode::kSuccess) {
H A Dpostinstall_runner_action.h95 // Complete the Action with the passed |error_code| and mark the new slot as
97 void CompletePostinstall(ErrorCode error_code);
/system/core/libziparchive/include/ziparchive/
H A Dzip_writer.h84 static const char* ErrorCodeString(int32_t error_code);
163 int32_t HandleError(int32_t error_code);
/system/chre/apps/wifi_offload/
H A Dutility.cc136 const char *GetErrorCodeName(ErrorCode error_code) { argument
137 switch (error_code) {
/system/bt/stack/l2cap/
H A Dl2cap_client.cc46 uint16_t error_code);
53 uint16_t error_code);
188 uint16_t error_code) {
198 if (error_code != L2CAP_CONN_OK) {
200 error_code);
324 UNUSED_ATTR uint16_t error_code) {
187 connect_completed_cb(uint16_t local_channel_id, uint16_t error_code) argument
323 disconnect_completed_cb(uint16_t local_channel_id, UNUSED_ATTR uint16_t error_code) argument
/system/tpm/trunks/
H A Derror_codes.h84 // Creates a well-formed response with the given |error_code|.
85 TRUNKS_EXPORT std::string CreateErrorResponse(TPM_RC error_code);
/system/core/fastboot/
H A Dsocket.cpp285 DWORD error_code = WSAGetLastError(); local
287 int error_code = errno;
289 return android::base::SystemErrorCodeToString(error_code);

Completed in 2439 milliseconds

123