Home
last modified time | relevance | path

Searched refs:service_ (Results 1 – 7 of 7) sorted by relevance

/system/update_engine/client_library/
Dclient_binder.cc46 &service_) == OK; in Init()
53 return service_ in AttemptUpdate()
74 if (!service_->GetStatus(&status).isOk()) in GetStatus()
87 return service_->SetCohortHint(String16{in_cohort_hint.c_str()}).isOk(); in SetCohortHint()
93 if (!service_->GetCohortHint(&out_as_string16).isOk()) in GetCohortHint()
101 return service_->SetUpdateOverCellularPermission(allowed).isOk(); in SetUpdateOverCellularPermission()
106 return service_->GetUpdateOverCellularPermission(allowed).isOk(); in GetUpdateOverCellularPermission()
110 return service_->SetP2PUpdatePermission(enabled).isOk(); in SetP2PUpdatePermission()
114 return service_->GetP2PUpdatePermission(enabled).isOk(); in GetP2PUpdatePermission()
118 return service_->AttemptRollback(powerwash).isOk(); in Rollback()
[all …]
Dclient_binder.h106 android::sp<android::brillo::IUpdateEngine> service_; variable
/system/apex/apexd/
Dapexservice_test.cpp90 service_ = android::interface_cast<IApexService>(binder); in ApexServiceTest()
100 ASSERT_NE(nullptr, service_.get()); in SetUp()
123 android::binder::Status status = service_->getActivePackages(&list); in IsActive()
137 android::binder::Status status = service_->getAllPackages(&list); in GetAllPackages()
148 android::binder::Status status = service_->getActivePackages(&list); in GetActivePackages()
159 android::binder::Status status = service_->getAllPackages(&list); in GetInactivePackages()
174 android::binder::Status status = service_->getActivePackage(name, &package); in GetActivePackage()
199 android::binder::Status status = service_->getActivePackages(&list); in GetActivePackagesStrings()
215 android::binder::Status status = service_->getAllPackages(&list); in GetFactoryPackages()
406 sp<IApexService> service_; member in android::apex::ApexServiceTest
[all …]
/system/update_engine/
Dupdate_engine_client_android.cc79 android::sp<android::os::IUpdateEngine> service_; member in chromeos_update_engine::internal::UpdateEngineClientAndroid
171 android::String16("android.os.UpdateEngineService"), &service_); in OnInit()
179 return ExitWhenIdle(service_->suspend()); in OnInit()
183 return ExitWhenIdle(service_->resume()); in OnInit()
187 return ExitWhenIdle(service_->cancel()); in OnInit()
191 return ExitWhenIdle(service_->resetStatus()); in OnInit()
196 Status status = service_->verifyPayloadApplicable( in OnInit()
207 if (!service_->bind(callback_, &bound).isOk() || !bound) { in OnInit()
221 Status status = service_->applyPayload( in OnInit()
237 android::os::IUpdateEngine::asBinder(service_), in OnInit()
/system/extras/partition_tools/
Dlpdump_target.cc56 status_t status = getService(String16("lpdump_service"), &service_); in LpdumpService()
60 status = getService(String16("lpdump"), &service_); in LpdumpService()
62 if (status != OK || service_ == nullptr) { in LpdumpService()
70 sp<ILpdump> get() { return service_; } in get()
72 sp<ILpdump> service_; member in LpdumpService
/system/core/init/
Dservice.cpp1432 service_ = std::make_unique<Service>(name, restart_action_subcontext, str_args); in ParseSection()
1437 return service_ ? service_->ParseLine(std::move(args)) : Success(); in ParseLineSection()
1441 if (service_) { in EndSection()
1442 Service* old_service = service_list_->FindService(service_->name()); in EndSection()
1444 if (!service_->is_override()) { in EndSection()
1445 return Error() << "ignored duplicate definition of service '" << service_->name() in EndSection()
1450 return Error() << "cannot update a non-updatable service '" << service_->name() in EndSection()
1458 service_list_->AddService(std::move(service_)); in EndSection()
Dservice.h312 : service_list_(service_list), subcontexts_(subcontexts), service_(nullptr) {} in ServiceParser()
324 std::unique_ptr<Service> service_; variable