Home
last modified time | relevance | path

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

12

/system/update_engine/
Dcommon_service_unittest.cc52 brillo::ErrorPtr error_; member in chromeos_update_engine::UpdateEngineServiceTest
61 &error_, "app_ver", "url", in TEST_F()
63 EXPECT_EQ(nullptr, error_); in TEST_F()
74 EXPECT_TRUE(common_service_.SetChannel(&error_, "stable-channel", true)); in TEST_F()
75 ASSERT_EQ(nullptr, error_); in TEST_F()
88 EXPECT_TRUE(common_service_.SetChannel(&error_, "beta-channel", true)); in TEST_F()
89 ASSERT_EQ(nullptr, error_); in TEST_F()
99 EXPECT_FALSE(common_service_.SetChannel(&error_, "foo-channel", true)); in TEST_F()
100 ASSERT_NE(nullptr, error_); in TEST_F()
101 EXPECT_TRUE(error_->HasError(UpdateEngineService::kErrorDomain, in TEST_F()
[all …]
/system/connectivity/shill/
Dresult_aggregator.cc45 callback_.Run(error_); in ~ResultAggregator()
55 if (error_.IsSuccess()) { // Only copy first |error|. in ReportResult()
56 error_.CopyFrom(error); in ReportResult()
65 error_.Populate(Error::kOperationTimeout); in Timeout()
66 callback_.Run(error_); in Timeout()
Ddns_client.cc167 error->CopyFrom(error_); in Start()
183 error_.Reset(); in Stop()
200 error.CopyFrom(error_); in HandleCompletion()
209 error_.Reset(); in HandleCompletion()
254 error_.Populate(Error::kOperationFailed, kErrorNoData); in ReceiveDNSReply()
257 error_.Populate(Error::kOperationFailed, kErrorFormErr); in ReceiveDNSReply()
260 error_.Populate(Error::kOperationFailed, kErrorServerFail); in ReceiveDNSReply()
263 error_.Populate(Error::kOperationFailed, kErrorNotFound); in ReceiveDNSReply()
266 error_.Populate(Error::kOperationFailed, kErrorNotImp); in ReceiveDNSReply()
269 error_.Populate(Error::kOperationFailed, kErrorRefused); in ReceiveDNSReply()
[all …]
Dasync_connection.cc62 error_ = sockets_->ErrorString(); in Start()
70 error_ = sockets_->ErrorString(); in Start()
84 error_ = sockets_->ErrorString(); in Start()
94 error_ = string(); in Start()
113 error_ = sockets_->ErrorString(); in OnConnectCompletion()
Dasync_connection.h70 std::string error() const { return error_; } in error()
84 std::string error_; variable
Dresult_aggregator.h110 Error error_; variable
Ddns_client.h95 Error error_; variable
Dservice.h434 const std::string& error() const { return error_; } in error()
435 void set_error(const std::string& error) { error_ = error; } in set_error()
838 std::string error_; variable
/system/core/libbacktrace/
DUnwindPtrace.cpp53 error_ = BACKTRACE_UNWIND_ERROR_MAP_MISSING; in Unwind()
57 error_ = BACKTRACE_UNWIND_NO_ERROR; in Unwind()
61 error_ = BACKTRACE_UNWIND_ERROR_UNSUPPORTED_OPERATION; in Unwind()
68 error_ = BACKTRACE_UNWIND_ERROR_SETUP_FAILED; in Unwind()
78 error_ = BACKTRACE_UNWIND_ERROR_SETUP_FAILED; in Unwind()
86 error_ = BACKTRACE_UNWIND_ERROR_SETUP_FAILED; in Unwind()
DBacktraceCurrent.cpp70 error_ = BACKTRACE_UNWIND_ERROR_MAP_MISSING; in Unwind()
74 error_ = BACKTRACE_UNWIND_NO_ERROR; in Unwind()
145 error_ = BACKTRACE_UNWIND_ERROR_INTERNAL; in UnwindThread()
153 error_ = BACKTRACE_UNWIND_ERROR_THREAD_DOESNT_EXIST; in UnwindThread()
155 error_ = BACKTRACE_UNWIND_ERROR_INTERNAL; in UnwindThread()
200 error_ = BACKTRACE_UNWIND_ERROR_THREAD_DOESNT_EXIST; in UnwindThread()
202 error_ = BACKTRACE_UNWIND_ERROR_THREAD_TIMEOUT; in UnwindThread()
DUnwindCurrent.cpp73 error_ = BACKTRACE_UNWIND_ERROR_SETUP_FAILED; in UnwindFromContext()
85 error_ = BACKTRACE_UNWIND_ERROR_SETUP_FAILED; in UnwindFromContext()
DBacktraceOffline.cpp135 error_ = BACKTRACE_UNWIND_ERROR_NO_CONTEXT; in Unwind()
139 error_ = BACKTRACE_UNWIND_NO_ERROR; in Unwind()
147 error_ = BACKTRACE_UNWIND_ERROR_SETUP_FAILED; in Unwind()
/system/keymaster/
Dhmac_operation.cpp94 : Operation(purpose), error_(KM_ERROR_OK), mac_length_(mac_length), in HmacOperation()
103 error_ = KM_ERROR_UNSUPPORTED_DIGEST; in HmacOperation()
123 error_ = KM_ERROR_UNSUPPORTED_DIGEST; in HmacOperation()
129 error_ = KM_ERROR_UNSUPPORTED_MAC_LENGTH; in HmacOperation()
133 error_ = KM_ERROR_INVALID_MAC_LENGTH; in HmacOperation()
147 return error_; in Begin()
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()
490 error_ = OK; in FreeData()
Dhmac_operation.h42 keymaster_error_t error() { return error_; } in error()
46 keymaster_error_t error_; variable
/system/core/trusty/gatekeeper/
Dtrusty_gatekeeper.cpp63 error_ = rc; in TrustyGateKeeperDevice()
86 if (error_ != 0) { in Enroll()
87 return error_; in Enroll()
127 if (error_ != 0) { in Verify()
128 return error_; in Verify()
Dtrusty_gatekeeper.h120 int error_; variable
/system/connectivity/shill/net/
Dnetlink_message.h157 ErrorAckMessage() : NetlinkMessage(kMessageType), error_(0) {} in ErrorAckMessage()
159 : NetlinkMessage(kMessageType), error_(err) {} in ErrorAckMessage()
165 uint32_t error() const { return -error_; } in error()
168 uint32_t error_;
Dnetlink_message.cc183 return packet->ConsumeData(sizeof(error_), &error_); in InitFromPacket()
195 -error_, strerror(-error_)); in ToString()
/system/keymaster/include/keymaster/
Dauthorization_set.h44 indirect_data_capacity_(0), error_(OK) { in AuthorizationSet()
82 error_ = set.error_; in AuthorizationSet()
93 error_ = set.error_;
133 Error is_valid() const { return error_; } in is_valid()
464 Error error_; variable
/system/core/include/backtrace/
DBacktrace.h148 BacktraceUnwindError GetError() { return error_; } in GetError()
171 BacktraceUnwindError error_; variable
/system/tools/aidl/
Daidl_language.cpp240 error_ = 0; in ParseFile()
245 if (yy::parser(this).parse() != 0 || error_ != 0) { in ParseFile()
257 error_ = 1; in ReportError()
Daidl_language.h352 bool FoundNoErrors() const { return error_ == 0; } in FoundNoErrors()
376 int error_ = 0; variable
/system/core/base/
Dlogging.cpp326 error_(error) { in LogMessageData()
346 return error_; in GetError()
363 const int error_; member in android::base::LogMessageData
/system/netd/tests/
Dnetd_test.cpp129 AddrInfo() : ai_(nullptr), error_(0) {} in AddrInfo()
143 error_ = getaddrinfo(node, service, &hints, &ai_); in init()
144 return error_; in init()
149 error_ = getaddrinfo(node, service, nullptr, &ai_); in init()
150 return error_; in init()
157 error_ = 0; in clear()
164 int error() const { return error_; } in error()
168 int error_; member in AddrInfo

12