Home
last modified time | relevance | path

Searched refs:code_ (Results 1 – 10 of 10) sorted by relevance

/system/update_engine/payload_consumer/
Dpostinstall_runner_action_unittest.cc72 code_ = code; in ActionCompleted()
77 ErrorCode code_{ErrorCode::kError}; member in chromeos_update_engine::PostinstActionProcessorDelegate
284 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
295 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
306 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
322 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
338 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
350 EXPECT_EQ(ErrorCode::kPostInstallMountError, processor_delegate_.code_); in TEST_F()
373 EXPECT_EQ(ErrorCode::kSuccess, processor_delegate_.code_); in TEST_F()
378 EXPECT_EQ(ErrorCode::kPostinstallRunnerError, processor_delegate_.code_); in TEST_F()
[all …]
Dfilesystem_verifier_action_unittest.cc220 : ran_(false), code_(ErrorCode::kError) {} in FilesystemVerifierActionTestDelegate()
233 code_ = code; in ActionCompleted()
244 ErrorCode code() const { return code_; } in code()
250 ErrorCode code_; member in chromeos_update_engine::FilesystemVerifierActionTestDelegate
376 code_ = code; in ActionCompleted()
380 ErrorCode code_; member in chromeos_update_engine::FilesystemVerifierActionTest2Delegate
400 EXPECT_EQ(ErrorCode::kError, delegate.code_); in TEST_F()
418 EXPECT_EQ(ErrorCode::kFilesystemVerifierError, delegate.code_); in TEST_F()
/system/update_engine/
Ddownload_action.cc50 code_(ErrorCode::kSuccess), in DownloadAction()
225 if (delta_performer_ && !delta_performer_->Write(bytes, length, &code_)) { in ReceivedBytes()
226 if (code_ != ErrorCode::kSuccess) { in ReceivedBytes()
227 LOG(ERROR) << "Error " << utils::ErrorCodeToString(code_) << " (" << code_ in ReceivedBytes()
233 code_ = ErrorCode::kDownloadWriteError; in ReceivedBytes()
281 if (code_ != ErrorCode::kSuccess) { in TransferTerminated()
282 processor_->ActionComplete(this, code_); in TransferTerminated()
/system/libbase/include/android-base/
Dresult.h135 : message_(std::forward<T>(message)), code_(E(std::forward<P>(code))) {} in ResultError()
155 const E& code() const { return code_; } in code()
159 E code_; member
170 ResultError(P&& code) : code_(E(std::forward<P>(code))) {}
174 return android::base::unexpected(ResultError<E, false>(code_));
177 const E& code() const { return code_; }
180 E code_;
217 Error() : code_(0), has_code_(false) {}
220 Error(P&& code) : code_(std::forward<P>(code)), has_code_(true) {}
225 return android::base::unexpected(ResultError<P>(str(), static_cast<P>(code_)));
[all …]
/system/tools/sysprop/include/
DCodeWriter.h31 return code_; in Code()
40 std::string code_; variable
/system/tools/sysprop/
DCodeWriter.cpp60 code_ += indent_; in Write()
65 code_.push_back(ch); in Write()
/system/update_engine/common/
Dutils.h511 code_(ErrorCode::kError), in ScopedActionCompleter()
517 processor_->ActionComplete(action_, code_); in ~ScopedActionCompleter()
519 void set_code(ErrorCode code) { code_ = code; } in set_code()
523 ErrorCode get_code() const { return code_; } in get_code()
528 ErrorCode code_; variable
Ddownload_action.h141 ErrorCode code_; variable
/system/tools/aidl/
Dgenerate_java_binder.cpp490 PermissionVisitor(CodeWriter* code, const AidlMethod& method) : code_(code), method_(method) {} in PermissionVisitor()
493 code_->Dedent(); in ~PermissionVisitor()
494 *code_ << "}\n"; in ~PermissionVisitor()
500 *code_ << "/** Helper method to enforce permissions for " << method_.GetName() << " */\n"; in Prologue()
501 *code_ << "protected void " << method_.GetName() << "_enforcePermission() " in Prologue()
503 code_->Indent(); in Prologue()
507 *code_ << "static final String[] PERMISSIONS_" << method_.GetName() << " = {" in AddStaticArrayPermissions()
519 *code_ << "mEnforcer.enforcePermissionAllOf(PERMISSIONS_" << method_.GetName() << ", " in operator ()()
531 *code_ << "mEnforcer.enforcePermissionAnyOf(PERMISSIONS_" << method_.GetName() << ", " in operator ()()
538 *code_ << "mEnforcer.enforcePermission(" << permissionName << ", " << Credentials() << ");\n"; in operator ()()
[all …]
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc166 code_ = code; in ProcessingDone()
171 ErrorCode code_{}; member in chromeos_update_engine::__anon55bf91c50111::ApplyPayloadProcessorDelegate
247 CHECK_EQ(delegate.code_, ErrorCode::kSuccess); in ApplyPayload()