Home
last modified time | relevance | path

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

/system/update_engine/
Dcommon_service_unittest.cc55 brillo::ErrorPtr error_; member in chromeos_update_engine::UpdateEngineServiceTest
68 common_service_.AttemptUpdate(&error_, in TEST_F()
73 EXPECT_EQ(nullptr, error_); in TEST_F()
83 &error_, "app_ver", "url", UpdateAttemptFlags::kNone, &result)); in TEST_F()
84 EXPECT_EQ(nullptr, error_); in TEST_F()
92 EXPECT_TRUE(common_service_.AttemptInstall(&error_, "", {})); in TEST_F()
93 EXPECT_EQ(nullptr, error_); in TEST_F()
100 EXPECT_FALSE(common_service_.AttemptInstall(&error_, "", {})); in TEST_F()
107 EXPECT_TRUE(common_service_.SetDlcActiveValue(&error_, true, "dlc0")); in TEST_F()
114 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.cpp194 error_ = "File is too large to download"; in Download()
223 error_ = ""; in Download()
225 error_ = "Buffer is too large or 0 bytes"; in Download()
254 error_ = ""; in Download()
257 error_ = "Sparse file is too large or invalid"; in Download()
280 error_ = "Error reading sparse file"; in Download()
305 error_ = "Upload request failed: " + error_; in UploadInner()
310 error_ = "Upload request failed, device reports 0 bytes available"; in UploadInner()
324 error_ = android::base::StringPrintf("Failed to open '%s'", outfile.c_str()); in UploadInner()
329 error_ = android::base::StringPrintf("Writing to '%s' failed", outfile.c_str()); in UploadInner()
[all …]
Dfastboot_driver.h160 std::string error_; variable
/system/core/libbacktrace/
DBacktraceCurrent.cpp70 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()
DUnwindStack.cpp161 return Backtrace::Unwind(regs.get(), GetMap(), &frames_, num_ignore_frames, &skip_names, &error_); in UnwindFromContext()
179 return Backtrace::Unwind(regs.get(), GetMap(), &frames_, num_ignore_frames, nullptr, &error_); in Unwind()
/system/keymaster/km_openssl/
Dhmac_operation.cpp90 : Operation(purpose, key.hw_enforced_move(), key.sw_enforced_move()), error_(KM_ERROR_OK), in HmacOperation()
99 error_ = KM_ERROR_UNSUPPORTED_DIGEST; in HmacOperation()
119 error_ = KM_ERROR_UNSUPPORTED_DIGEST; in HmacOperation()
125 error_ = KM_ERROR_UNSUPPORTED_MAC_LENGTH; in HmacOperation()
129 error_ = KM_ERROR_INVALID_MAC_LENGTH; in HmacOperation()
148 return error_; in Begin()
Dhmac_operation.h41 keymaster_error_t error() { return error_; } in error()
45 keymaster_error_t error_; variable
/system/tools/aidl/
Dparser.h64 void AddError() { error_++; } in AddError()
65 bool HasError() const { return error_ != 0; } in HasError()
105 int error_ = 0; variable
/system/keymaster/android_keymaster/
Dauthorization_set.cpp56 error_ = builder.set.error_; in AuthorizationSet()
57 builder.set.error_ = OK; in AuthorizationSet()
113 error_ = set.error_; in MoveFrom()
120 set.error_ = OK; in MoveFrom()
127 error_ = OK; in Reinitialize()
140 error_ = OK; in Reinitialize()
146 error_ = error; in set_invalid()
529 error_ = OK; in Clear()
542 error_ = OK; in FreeData()
/system/keymaster/include/keymaster/
Dauthorization_set.h45 indirect_data_capacity_(0), error_(OK) { in AuthorizationSet()
59 indirect_data_capacity_(0), error_(OK) { in AuthorizationSet()
66 indirect_data_capacity_(0), error_(OK) { in AuthorizationSet()
73 indirect_data_capacity_(0), error_(OK) { in AuthorizationSet()
90 indirect_data_capacity_(0), error_(OK) { in AuthorizationSet()
92 error_ = set.error_; in AuthorizationSet()
93 if (error_ != OK) return; in AuthorizationSet()
105 error_ = set.error_;
145 Error is_valid() const { return error_; } in is_valid()
487 Error error_; variable
Dandroid_keymaster_messages.h428 explicit AbortOperationResponse(keymaster_error_t error_, int32_t ver = MAX_MESSAGE_VERSION)
430 error = error_; in KeymasterResponse()
/system/core/debuggerd/libdebuggerd/
Dgwp_asan.cpp92 error_ = __gwp_asan_diagnose_error(&state_, metadata_.get(), crash_address_); in GwpAsanCrashData()
93 error_string_ = gwp_asan::ErrorToString(error_); in GwpAsanCrashData()
107 if (error_ == gwp_asan::Error::UNKNOWN) { in DumpCause()
145 if (error_ == gwp_asan::Error::BUFFER_OVERFLOW) { in DumpCause()
/system/core/trusty/gatekeeper/
Dtrusty_gatekeeper.cpp50 error_ = rc; in TrustyGateKeeperDevice()
69 if (error_ != 0) { in enroll()
103 if (error_ != 0) { in verify()
Dtrusty_gatekeeper.h84 int error_; variable
/system/extras/libjsonpb/verify/
Dtest.cpp243 std::string error_; member in android::jsonpb::ScalarTest
261 EXPECT_TRUE(EqReformattedJson(json, &error_)) << error_; in TEST_F()
276 EXPECT_FALSE(EqReformattedJson(json, &error_)) in TEST_P()
/system/core/debuggerd/libdebuggerd/include/libdebuggerd/
Dgwp_asan.h81 gwp_asan::Error error_; variable
/system/core/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.cpp435 error_(error) {} in LogMessageData()
452 return error_; in GetError()
469 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.cpp112 : error_(errno_to_append), in ErrorIgnoreEnoent()
121 return error_; in operator android::base::expected<T,ResultError>()
126 error_ << t; in operator <<()
131 Error error_; member in android::init::ErrorIgnoreEnoent