Home
last modified time | relevance | path

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

12

/system/core/init/
Dservice_parser.cpp54 service_->capabilities_ = 0; in ParseCapabilities()
62 if (last_valid_cap >= service_->capabilities_->size()) { in ParseCapabilities()
76 (*service_->capabilities_)[cap] = true; in ParseCapabilities()
82 service_->classnames_ = std::set<std::string>(args.begin() + 1, args.end()); in ParseClass()
87 if (service_->proc_attr_.stdio_to_kmsg) { in ParseConsole()
90 service_->flags_ |= SVC_CONSOLE; in ParseConsole()
91 service_->proc_attr_.console = args.size() > 1 ? "/dev/" + args[1] : ""; in ParseConsole()
124 service_->fatal_reboot_target_ = *fatal_reboot_target; in ParseCritical()
127 service_->fatal_crash_window_ = *fatal_crash_window; in ParseCritical()
129 service_->flags_ |= SVC_CRITICAL; in ParseCritical()
[all …]
/system/apex/apexd/
Dapexservice_test.cpp109 service_ = android::interface_cast<IApexService>(binder); in ApexServiceTest()
123 ASSERT_NE(nullptr, service_.get()); in SetUp()
129 service_->recollectPreinstalledData(kApexPackageBuiltinDirs); in SetUp()
147 android::binder::Status status = service_->getActivePackages(&list); in IsActive()
163 android::binder::Status status = service_->getActivePackages(&list); in IsActive()
178 android::binder::Status status = service_->getAllPackages(&list); in GetAllPackages()
188 android::binder::Status status = service_->getActivePackages(&list); in GetActivePackages()
198 android::binder::Status status = service_->getAllPackages(&list); in GetInactivePackages()
212 android::binder::Status status = service_->getActivePackage(name, &package); in GetActivePackage()
237 android::binder::Status status = service_->getActivePackages(&list); in GetActivePackagesStrings()
[all …]
/system/update_engine/aosp/
Dupdate_engine_client_android.cc81 android::sp<android::os::IUpdateEngine> service_; member in chromeos_update_engine::internal::UpdateEngineClientAndroid
178 android::String16("android.os.UpdateEngineService"), &service_); in OnInit()
186 return ExitWhenIdle(service_->suspend()); in OnInit()
190 return ExitWhenIdle(service_->resume()); in OnInit()
194 return ExitWhenIdle(service_->cancel()); in OnInit()
198 return ExitWhenIdle(service_->resetStatus()); in OnInit()
203 Status status = service_->verifyPayloadApplicable( in OnInit()
213 Status status = service_->allocateSpaceForPayload( in OnInit()
232 Status status = service_->cleanupSuccessfulUpdate(cleanup_callback_); in OnInit()
244 if (!service_->bind(callback_, &bound).isOk() || !bound) { in OnInit()
[all …]
/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/update_engine/stable/
Dupdate_engine_stable_client.cc81 std::shared_ptr<aidl::android::os::IUpdateEngineStable> service_; member in chromeos_update_engine::internal::UpdateEngineClientAndroid
102 service_ = aidl::android::os::IUpdateEngineStable::fromBinder(ndk::SpAIBinder( in Run()
104 if (service_ == nullptr) { in Run()
113 if (!service_->bind(callback_, &bound).isOk() || !bound) { in Run()
133 status = service_->applyPayloadFd(ufd, FLAGS_offset, FLAGS_size, headers); in Run()
141 if (AIBinder_linkToDeath(service_->asBinder().get(), in Run()
/system/bt/gd/facade/
Dread_only_property_server.cc46 service_ = std::make_unique<ReadOnlyPropertyService>(GetDependency<hci::Controller>()); in Start()
49 service_.reset(); in Stop()
53 return service_.get(); in GetService()
Dread_only_property_server.h41 std::unique_ptr<ReadOnlyPropertyService> service_;
/system/gsid/
Dpartition_installer.cpp45 : service_(service), in PartitionInstaller()
102 service_->UpdateProgress(IGsiService::STATUS_NO_OPERATION, 0); in StartInstall()
160 service_->StartAsyncOperation("create " + name_, size_); in Preallocate()
165 service_->UpdateProgress(IGsiService::STATUS_COMPLETE, 0); in Preallocate()
171 service_->UpdateProgress(IGsiService::STATUS_WORKING, bytes); in CreateImage()
172 if (service_->should_abort()) return false; in CreateImage()
187 service_->StartAsyncOperation("write " + name_, size_); in CommitGsiChunk()
220 service_->UpdateProgress(IGsiService::STATUS_WORKING, size_ - remaining); in CommitGsiChunk()
224 service_->UpdateProgress(IGsiService::STATUS_COMPLETE, size_); in CommitGsiChunk()
243 if (service_->should_abort()) { in CommitGsiChunk()
/system/bt/gd/shim/facade/
Dfacade.cc65 service_ = new ShimFacadeService(GetDependency<Dumpsys>(), GetHandler()); in Start()
69 delete service_; in Stop()
74 return service_; in GetService()
/system/security/keystore2/apc_compat/
Dapc_compat.cpp93 auto err = service_->linkToDeath(sp(this), 0); in promptUserConfirmation()
101 auto rc = service_->promptUserConfirmation(sp(this), hidl_prompt, hidl_extra, hidl_locale, in promptUserConfirmation()
112 void abort() { service_->abort(); } in abort()
129 service_->unlinkToDeath(sp(this)); in finalize()
165 : service_(service), callback_{nullptr, nullptr} {} in ConfuiCompatSession()
166 sp<IConfirmationUI> service_; member in keystore2::ConfuiCompatSession
/system/bt/gd/hci/facade/
Dcontroller_facade.cc74 service_ = new ControllerFacadeService(GetDependency<Controller>(), GetHandler()); in Start()
78 delete service_; in Stop()
83 return service_; in GetService()
Dle_scanning_manager_facade.cc112service_ = new LeScanningManagerFacadeService(GetDependency<hci::LeScanningManager>(), GetHandler(… in Start()
116 delete service_; in Stop()
121 return service_; in GetService()
Dle_initiator_address_facade.cc111 service_ = new LeInitiatorAddressFacadeService(GetDependency<AclManager>(), GetHandler()); in Start()
115 delete service_; in Stop()
120 return service_; in GetService()
Dle_initiator_address_facade.h40 LeInitiatorAddressFacadeService* service_;
Dcontroller_facade.h40 ControllerFacadeService* service_;
Dacl_manager_facade.h40 AclManagerFacadeService* service_;
Dle_scanning_manager_facade.h39 LeScanningManagerFacadeService* service_;
Dle_advertising_manager_facade.h39 LeAdvertisingManagerFacadeService* service_;
/system/bt/gd/l2cap/le/
Dfacade.cc113 service_helper->second->service_->Unregister(common::BindOnce([] {}), facade_handler_); in SetDynamicChannel()
167 service_ = std::move(service); in on_l2cap_service_registration_complete()
245 std::unique_ptr<DynamicChannelService> service_; member in bluetooth::l2cap::le::L2capLeModuleFacadeService::L2capDynamicChannelHelper
265 service_helper->second->service_->Unregister(common::BindOnce([] {}), facade_handler_); in SetFixedChannel()
317 service_ = std::move(service); in on_l2cap_service_registration_complete()
395 std::unique_ptr<FixedChannelService> service_; member in bluetooth::l2cap::le::L2capLeModuleFacadeService::L2capFixedChannelHelper
430service_ = new L2capLeModuleFacadeService(GetDependency<l2cap::le::L2capLeModule>(), GetHandler()); in Start()
434 delete service_; in Stop()
439 return service_; in GetService()
Dfacade.h41 L2capLeModuleFacadeService* service_;
/system/bt/gd/iso/
Dfacade.h37 IsoModuleFacadeService* service_;
/system/bt/gd/hal/
Dfacade.h44 HciHalFacadeService* service_;
/system/bt/gd/security/
Dfacade.h37 SecurityModuleFacadeService* service_;
/system/bt/gd/l2cap/classic/
Dfacade.h39 L2capClassicModuleFacadeService* service_;
/system/bt/gd/neighbor/facade/
Dfacade.h45 NeighborFacadeService* service_;

12