Home
last modified time | relevance | path

Searched refs:ServiceManager (Results 1 – 17 of 17) sorted by relevance

/system/hwservicemanager/
DServiceManager.cpp24 size_t ServiceManager::countExistingService() const { in countExistingService()
32 void ServiceManager::forEachExistingService(std::function<void(const HidlService *)> f) const { in forEachExistingService()
41 void ServiceManager::forEachServiceEntry(std::function<void(const HidlService *)> f) const { in forEachServiceEntry()
51 void ServiceManager::serviceDied(uint64_t cookie, const wp<IBase>& who) { in serviceDied()
65 ServiceManager::InstanceMap &ServiceManager::PackageInterfaceMap::getInstanceMap() { in getInstanceMap()
69 const ServiceManager::InstanceMap &ServiceManager::PackageInterfaceMap::getInstanceMap() const { in getInstanceMap()
73 const HidlService *ServiceManager::PackageInterfaceMap::lookup( in lookup()
84 HidlService *ServiceManager::PackageInterfaceMap::lookup( in lookup()
91 void ServiceManager::PackageInterfaceMap::insertService( in insertService()
96 void ServiceManager::PackageInterfaceMap::sendPackageRegistrationNotification( in sendPackageRegistrationNotification()
[all …]
Dservice.cpp43 using android::hidl::manager::V1_0::implementation::ServiceManager;
62 ServiceManager *manager = new ServiceManager(); in main()
DAndroid.bp23 "ServiceManager.cpp",
DServiceManager.h29 struct ServiceManager : public IServiceManager, hidl_death_recipient { struct
/system/core/libsysutils/src/
DServiceManager.cpp30 ServiceManager::ServiceManager() { in ServiceManager() function in ServiceManager
48 int ServiceManager::start(const char *name) { in start()
78 int ServiceManager::stop(const char *name) { in stop()
109 bool ServiceManager::isRunning(const char *name) { in isRunning()
/system/core/libsysutils/include/sysutils/
DServiceManager.h20 class ServiceManager {
22 ServiceManager();
23 virtual ~ServiceManager() {} in ~ServiceManager()
/system/core/init/
Dinit_parser_test.cpp30 ServiceManager& sm = ServiceManager::GetInstance(); in TEST()
45 ServiceManager& sm = ServiceManager::GetInstance(); in TEST()
61 ServiceManager& sm = ServiceManager::GetInstance(); in Test_make_exec_oneshot_service()
Dreboot.cpp335 ServiceManager::GetInstance().ForEachService([&kill_after_apps, &to_starts](Service* s) { in DoReboot()
344 Service* bootAnim = ServiceManager::GetInstance().FindServiceByName("bootanim"); in DoReboot()
345 Service* surfaceFlinger = ServiceManager::GetInstance().FindServiceByName("surfaceflinger"); in DoReboot()
347 ServiceManager::GetInstance().ForEachServiceInClass("animation", [](Service* s) { in DoReboot()
358 ServiceManager::GetInstance().ForEachService([](Service* s) { in DoReboot()
366 ServiceManager::GetInstance().ReapAnyOutstandingChildren(); in DoReboot()
369 ServiceManager::GetInstance().ForEachService([&service_count](Service* s) { in DoReboot()
394 ServiceManager::GetInstance().ForEachService([](Service* s) { in DoReboot()
397 ServiceManager::GetInstance().ReapAnyOutstandingChildren(); in DoReboot()
400 Service* voldService = ServiceManager::GetInstance().FindServiceByName("vold"); in DoReboot()
[all …]
Dsignal_handler.cpp42 ServiceManager::GetInstance().ReapAnyOutstandingChildren(); in handle_signal()
69 ServiceManager::GetInstance().ReapAnyOutstandingChildren(); in signal_handler_init()
Dservice.cpp867 int ServiceManager::exec_count_ = 0;
869 ServiceManager::ServiceManager() { in ServiceManager() function in ServiceManager
872 ServiceManager& ServiceManager::GetInstance() { in GetInstance()
873 static ServiceManager instance; in GetInstance()
877 void ServiceManager::AddService(std::unique_ptr<Service> service) { in AddService()
886 bool ServiceManager::Exec(const std::vector<std::string>& args) { in Exec()
894 ServiceManager::GetInstance().RemoveService(*svc); in Exec()
900 bool ServiceManager::ExecStart(const std::string& name) { in ExecStart()
913 bool ServiceManager::IsWaitingForExec() const { return exec_waiter_ != nullptr; } in IsWaitingForExec()
915 Service* ServiceManager::MakeExecOneshotService(const std::vector<std::string>& args) { in MakeExecOneshotService()
[all …]
Dkeychords.cpp80 Service* svc = ServiceManager::GetInstance().FindServiceByKeychord(id); in handle_keychord()
93 ServiceManager::GetInstance().ForEachService(add_service_keycodes); in keychord_init()
Dbuiltins.cpp134 ServiceManager::GetInstance(). in do_class_start()
140 ServiceManager::GetInstance(). in do_class_stop()
146 ServiceManager::GetInstance(). in do_class_reset()
152 ServiceManager::GetInstance(). in do_class_restart()
162 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_enable()
170 return ServiceManager::GetInstance().Exec(args) ? 0 : -1; in do_exec()
174 return ServiceManager::GetInstance().ExecStart(args[1]) ? 0 : -1; in do_exec_start()
576 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_start()
587 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_stop()
597 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_restart()
Dservice.h58 class ServiceManager; variable
184 class ServiceManager {
186 static ServiceManager& GetInstance();
189 ServiceManager();
Dinit_parser.cpp148 ServiceManager::GetInstance().DumpState(); in DumpState()
Dinit.cpp174 ServiceManager::GetInstance().ForEachServiceWithFlags(SVC_RESTARTING, [](Service* s) { in restart_processes()
180 Service* svc = ServiceManager::GetInstance().FindServiceByName(name); in handle_control_message()
1143 if (!(waiting_for_prop || ServiceManager::GetInstance().IsWaitingForExec())) { in main()
1146 if (!(waiting_for_prop || ServiceManager::GetInstance().IsWaitingForExec())) { in main()
/system/core/libsysutils/
DAndroid.bp12 "src/ServiceManager.cpp",
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DTestServiceClient.java30 import android.os.ServiceManager;
70 IBinder service = new ServiceManager().getService( in getService()