Home
last modified time | relevance | path

Searched refs:error_ (Results 1 – 24 of 24) sorted by relevance

/system/update_engine/cros/
Dcommon_service_unittest.cc51 brillo::ErrorPtr error_; member in chromeos_update_engine::UpdateEngineServiceTest
64 common_service_.AttemptUpdate(&error_, in TEST_F()
69 EXPECT_EQ(nullptr, error_); in TEST_F()
79 &error_, "app_ver", "url", UpdateAttemptFlags::kNone, &result)); in TEST_F()
80 EXPECT_EQ(nullptr, error_); in TEST_F()
88 EXPECT_TRUE(common_service_.AttemptInstall(&error_, "", {})); in TEST_F()
89 EXPECT_EQ(nullptr, error_); in TEST_F()
96 EXPECT_FALSE(common_service_.AttemptInstall(&error_, "", {})); in TEST_F()
103 EXPECT_TRUE(common_service_.SetDlcActiveValue(&error_, true, "dlc0")); in TEST_F()
110 EXPECT_FALSE(common_service_.SetDlcActiveValue(&error_, true, "dlc0")); in TEST_F()
[all …]
/system/iorap/src/common/
Dexpected.h70 : error_{std::forward<U>(either)}, is_right_{false} {}
85 return error_;
89 return error_;
95 E error_;
110 error_.~E();
117 noexcept(E(std::move(other.error_)))
124 new (&error_) E(std::move(other.error_));
136 new (&error_) E(other.error_);
151 error_.~E();
159 new (&error_) E(other.error_);
[all …]
/system/teeui/libteeui/include/teeui/
Dgeneric_operation.h67 : error_(ResponseCode::Ignored), formattedMessageLength_(0), in Operation()
75 if (error_ != ResponseCode::Ignored) return ResponseCode::OperationPending; in init()
99 switch (state.error_) { in init()
129 error_ = ResponseCode::OK; in init()
139 error_ = ResponseCode::Aborted; in abort()
146 error_ = ResponseCode::Canceled; in userCancel()
153 rc = error_; in fetchConfirmationResult()
154 if (error_ == ResponseCode::OK) { in fetchConfirmationResult()
162 error_ = ResponseCode::Ignored; in fetchConfirmationResult()
167 bool isPending() const { return error_ != ResponseCode::Ignored; } in isPending()
[all …]
Dcbor.h167 WriteState() : data_(nullptr), size_(0), error_(Error::OK) {}
168 WriteState(uint8_t* buffer, size_t size) : data_(buffer), size_(size), error_(Error::OK) {}
170 : data_(buffer), size_(size), error_(error) {}
172 WriteState(uint8_t (&buffer)[size]) : data_(buffer), size_(size), error_(Error::OK) {}
179 error_ = Error::OUT_OF_DATA;
185 error_ = Error::OUT_OF_DATA;
192 operator bool() const { return error_ == Error::OK; }
196 Error error_;
242 wState.error_ = Error::MALFORMED_UTF8;
/system/core/fastboot/
Dfastboot_driver.cpp200 error_ = "File is too large to download"; in Download()
229 error_ = ""; in Download()
231 error_ = "Buffer is too large or 0 bytes"; in Download()
260 error_ = ""; in Download()
263 error_ = "Sparse file is too large or invalid"; in Download()
286 error_ = "Error reading sparse file"; in Download()
315 error_ = android::base::StringPrintf("%s request failed: %s", cmd.c_str(), error_.c_str()); in RunAndReadBuffer()
320 error_ = android::base::StringPrintf("%s request failed, device reports %d bytes available", in RunAndReadBuffer()
348 error_ = android::base::StringPrintf("Failed to open '%s'", outfile.c_str()); in UploadInner()
354 error_ = android::base::StringPrintf("Writing to '%s' failed", outfile.c_str()); in UploadInner()
[all …]
Dfastboot_driver.h167 std::string error_; variable
/system/unwinding/libbacktrace/
DBacktraceCurrent.cpp82 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()
DUnwindStack.cpp173 return Backtrace::Unwind(regs.get(), GetMap(), &frames_, num_ignore_frames, &skip_names, &error_); in UnwindFromContext()
191 return Backtrace::Unwind(regs.get(), GetMap(), &frames_, num_ignore_frames, nullptr, &error_); in Unwind()
/system/keymaster/km_openssl/
Dhmac_operation.cpp93 : Operation(purpose, key.hw_enforced_move(), key.sw_enforced_move()), error_(KM_ERROR_OK), in HmacOperation()
102 error_ = KM_ERROR_UNSUPPORTED_DIGEST; in HmacOperation()
122 error_ = KM_ERROR_UNSUPPORTED_DIGEST; in HmacOperation()
128 error_ = KM_ERROR_UNSUPPORTED_MAC_LENGTH; in HmacOperation()
132 error_ = KM_ERROR_INVALID_MAC_LENGTH; in HmacOperation()
151 return error_; in Begin()
Dhmac_operation.h41 keymaster_error_t error() { return error_; } in error()
45 keymaster_error_t error_; variable
/system/core/trusty/gatekeeper/
Dtrusty_gatekeeper.cpp50 error_ = rc; in TrustyGateKeeperDevice()
69 if (error_ != 0) { in enroll()
103 if (error_ != 0) { in verify()
137 if (error_ != 0) { in deleteUser()
159 if (error_ != 0) { in deleteAllUsers()
Dtrusty_gatekeeper.h93 int error_; variable
/system/tools/aidl/
Dparser.h72 void AddError() { error_++; } in AddError()
73 bool HasError() const { return error_ != 0; } in HasError()
122 int error_ = 0; variable
/system/keymaster/android_keymaster/
Dauthorization_set.cpp54 error_ = builder.set.error_; in AuthorizationSet()
55 builder.set.error_ = OK; in AuthorizationSet()
109 error_ = set.error_; in MoveFrom()
116 set.error_ = OK; in MoveFrom()
123 error_ = OK; in Reinitialize()
134 error_ = OK; in Reinitialize()
140 error_ = error; in set_invalid()
510 error_ = OK; in Clear()
523 error_ = OK; in FreeData()
/system/keymaster/include/keymaster/
Dauthorization_set.h44 indirect_data_capacity_(0), error_(OK) { in AuthorizationSet()
58 indirect_data_capacity_(0), error_(OK) { in AuthorizationSet()
65 indirect_data_capacity_(0), error_(OK) { in AuthorizationSet()
72 indirect_data_capacity_(0), error_(OK) { in AuthorizationSet()
89 indirect_data_capacity_(0), error_(OK) { in AuthorizationSet()
91 error_ = set.error_; in AuthorizationSet()
92 if (error_ != OK) return; in AuthorizationSet()
103 error_ = set.error_;
143 Error is_valid() const { return error_; } in is_valid()
481 Error error_; variable
/system/core/debuggerd/libdebuggerd/
Dgwp_asan.cpp95 error_ = __gwp_asan_diagnose_error(&state_, metadata_.get(), crash_address_); in GwpAsanCrashData()
96 error_string_ = gwp_asan::ErrorToString(error_); in GwpAsanCrashData()
117 switch (error_) { in AddCauseProtos()
171 if (error_ == gwp_asan::Error::UNKNOWN) { in DumpCause()
202 if (error_ == gwp_asan::Error::BUFFER_OVERFLOW) { in DumpCause()
/system/extras/libjsonpb/verify/
Dtest.cpp235 std::string error_; member in android::jsonpb::ScalarTest
253 EXPECT_TRUE(EqReformattedJson(json, &error_)) << error_; in TEST_F()
267 EXPECT_FALSE(EqReformattedJson(json, &error_)) << "EqReformattedJson should return false"; in TEST_P()
/system/core/debuggerd/libdebuggerd/include/libdebuggerd/
Dgwp_asan.h86 gwp_asan::Error error_; variable
/system/unwinding/libbacktrace/include/backtrace/
DBacktrace.h182 BacktraceUnwindError GetError() { return error_; } in GetError()
211 BacktraceUnwindError error_; variable
/system/core/trusty/keymaster/include/trusty_keymaster/legacy/
Dtrusty_keymaster_device.h45 keymaster_error_t session_error() { return error_; } in session_error()
153 keymaster_error_t error_; variable
/system/teeui/libteeui/src/
Dcbor.cpp50 state.error_ = Error::MALFORMED; in writeBytes()
/system/libbase/
Dlogging.cpp431 error_(error) {} in LogMessageData()
448 return error_; in GetError()
465 const int error_; member in android::base::LogMessageData
/system/core/debuggerd/libdebuggerd/test/
Dtombstone_test.cpp369 error_ = error;
371 error_string_ = gwp_asan::ErrorToString(error_);
/system/core/init/
Dbuiltins.cpp113 : error_(errno_to_append), in ErrorIgnoreEnoent()
122 return error_; in operator android::base::expected<T,ResultError>()
127 error_ << t; in operator <<()
132 Error error_; member in android::init::ErrorIgnoreEnoent