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

12

/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.aidl21 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/apmanager/
H A Derror.cc58 string error_code = kErrorInternalError;
60 error_code = kErrorInvalidArguments;
62 error_code = kErrorInvalidConfiguration;
68 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 Domaha_request_action.h80 error_code(ErrorCode::kError) {}
84 error_code(ErrorCode::kSuccess) {}
88 error_code(in_error_code) {}
92 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 Dweave_service.h45 void SendPayloadApplicationComplete(ErrorCode error_code) override {}
H A Dbinder_service_android.cc56 ErrorCode error_code) {
58 callback->onPayloadApplicationComplete(static_cast<int>(error_code));
55 SendPayloadApplicationComplete( ErrorCode error_code) argument
H A Dbinder_service_brillo.h53 void SendPayloadApplicationComplete(ErrorCode error_code) override {}
H A Ddbus_service.h166 void SendPayloadApplicationComplete(ErrorCode error_code) override {}
/system/weaved/libweaved/
H A Dcommand.cc143 bool Command::Abort(const std::string& error_code, argument
146 return StatusToError(binder_proxy_->abort(ToString16(error_code),
153 std::string error_code = "_" + command_error->GetCode(); local
154 return Abort(error_code, command_error->GetMessage(), error);
159 std::string error_code = BinderExceptionString(status.exceptionCode()); local
160 return Abort(error_code, status.exceptionMessage().string(), error);
171 bool Command::SetError(const std::string& error_code, argument
174 return StatusToError(binder_proxy_->setError(ToString16(error_code),
181 std::string error_code = "_" + command_error->GetCode(); local
182 return SetError(error_code, command_erro
187 std::string error_code = BinderExceptionString(status.exceptionCode()); local
[all...]
H A Dcommand.h99 bool Abort(const std::string& error_code,
124 bool SetError(const std::string& error_code,
/system/update_engine/payload_consumer/
H A Dpostinstall_runner_action.cc289 ErrorCode error_code = ErrorCode::kPostinstallRunnerError; local
295 error_code = ErrorCode::kPostinstallBootedFromFirmwareB;
302 error_code = ErrorCode::kPostinstallFirmwareRONotUpdatable;
304 return CompletePostinstall(error_code);
313 void PostinstallRunnerAction::CompletePostinstall(ErrorCode error_code) { argument
316 if (error_code == ErrorCode::kSuccess &&
318 error_code = ErrorCode::kPostinstallRunnerError;
322 completer.set_code(error_code);
324 if (error_code != ErrorCode::kSuccess) {
H A Dpostinstall_runner_action.h98 // Complete the Action with the passed |error_code| and mark the new slot as
100 void CompletePostinstall(ErrorCode error_code);
/system/security/keystore/
H A Dkeystore_client_impl.cpp281 int32_t error_code = mapKeystoreError(result.resultCode); local
282 if (error_code == KM_ERROR_OK) {
290 return error_code;
307 int32_t error_code = mapKeystoreError(result.resultCode); local
308 if (error_code == KM_ERROR_OK) {
316 return error_code;
333 int32_t error_code = mapKeystoreError(result.resultCode); local
334 if (error_code == KM_ERROR_OK) {
342 return error_code;
349 int32_t error_code local
358 int32_t error_code = mapKeystoreError(keystore_->exist(key_name16, kDefaultUID)); local
366 int32_t error_code = mapKeystoreError(keystore_->list(prefix16, kDefaultUID, &matches)); local
[all...]
/system/core/include/ziparchive/
H A Dzip_writer.h66 static const char* ErrorCodeString(int32_t error_code);
144 int32_t HandleError(int32_t error_code);
H A Dzip_archive.h216 const char* ErrorCodeString(int32_t error_code);
/system/bt/stack/l2cap/
H A Dl2cap_client.c46 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) { argument
197 if (error_code != L2CAP_CONN_OK) {
198 LOG_ERROR(LOG_TAG, "%s error connecting L2CAP channel: %d.", __func__, error_code);
308 static void disconnect_completed_cb(uint16_t local_channel_id, UNUSED_ATTR uint16_t error_code) { argument
/system/core/libziparchive/
H A Dzip_writer.cc73 const char* ZipWriter::ErrorCodeString(int32_t error_code) { argument
74 if (error_code < 0 && (-error_code) < static_cast<int32_t>(arraysize(sErrorCodes))) {
75 return sErrorCodes[-error_code];
111 int32_t ZipWriter::HandleError(int32_t error_code) { argument
114 return error_code;
/system/tpm/trunks/
H A Derror_codes.h83 // Creates a well-formed response with the given |error_code|.
84 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);
/system/bt/stack/include/
H A Davdt_api.h651 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,

Completed in 639 milliseconds

12