Home
last modified time | relevance | path

Searched refs:error_ (Results 1 – 18 of 18) 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()
111 EXPECT_TRUE(common_service_.SetChannel(&error_, "stable-channel", true)); in TEST_F()
112 ASSERT_EQ(nullptr, error_); 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/core/trusty/keymaster/legacy/
Dtrusty_keymaster_device.cpp81 error_ = translate_error(rc); in TrustyKeymasterDevice()
89 error_ = trusty_keymaster_send(KM_GET_VERSION, version_request, &version_response); in TrustyKeymasterDevice()
90 if (error_ == KM_ERROR_INVALID_ARGUMENT || error_ == KM_ERROR_UNIMPLEMENTED) { in TrustyKeymasterDevice()
92 error_ = KM_ERROR_VERSION_MISMATCH; in TrustyKeymasterDevice()
101 error_ = KM_ERROR_VERSION_MISMATCH; in TrustyKeymasterDevice()
138 if (error_ != KM_ERROR_OK) { in configure()
139 return error_; in configure()
165 if (error_ != KM_ERROR_OK) { in add_rng_entropy()
166 return error_; in add_rng_entropy()
180 if (error_ != KM_ERROR_OK) { in generate_key()
[all …]
/system/core/fastboot/
Dfastboot_driver.cpp185 error_ = "File is too large to download"; in Download()
214 error_ = ""; in Download()
216 error_ = "Buffer is too large or 0 bytes"; in Download()
245 error_ = ""; in Download()
248 error_ = "Sparse file is too large or invalid"; in Download()
271 error_ = "Error reading sparse file"; in Download()
296 error_ = "Upload request failed: " + error_; in UploadInner()
301 error_ = "Upload request failed, device reports 0 bytes available"; in UploadInner()
315 error_ = android::base::StringPrintf("Failed to open '%s'", outfile.c_str()); in UploadInner()
320 error_ = android::base::StringPrintf("Writing to '%s' failed", outfile.c_str()); in UploadInner()
[all …]
Dfastboot_driver.h158 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.cpp170 return Backtrace::Unwind(regs.get(), GetMap(), &frames_, num_ignore_frames, &skip_names, &error_); in UnwindFromContext()
188 return Backtrace::Unwind(regs.get(), GetMap(), &frames_, num_ignore_frames, nullptr, &error_); in Unwind()
226 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/core/trusty/gatekeeper/
Dtrusty_gatekeeper.cpp65 error_ = rc; in TrustyGateKeeperDevice()
88 if (error_ != 0) { in Enroll()
89 return error_; in Enroll()
129 if (error_ != 0) { in Verify()
130 return error_; in Verify()
Dtrusty_gatekeeper.h120 int error_; 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()
518 error_ = OK; in Clear()
531 error_ = OK; in FreeData()
/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/keymaster/include/keymaster/
Dauthorization_set.h45 indirect_data_capacity_(0), error_(OK) { in AuthorizationSet()
82 error_ = set.error_; in AuthorizationSet()
83 if (error_ != OK) return; in AuthorizationSet()
95 error_ = set.error_;
135 Error is_valid() const { return error_; } in is_valid()
477 Error error_; variable
/system/core/libbacktrace/include/backtrace/
DBacktrace.h205 BacktraceUnwindError GetError() { return error_; } in GetError()
234 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/core/base/
Dlogging.cpp360 error_(error) {} in LogMessageData()
381 return error_; in GetError()
399 const int error_; member in android::base::LogMessageData
/system/tools/aidl/
Daidl_language.h654 void AddError() { error_++; } in AddError()
655 bool HasError() { return error_ != 0; } in HasError()
703 int error_ = 0; variable