Searched refs:ServiceManager (Results 1 – 16 of 16) sorted by relevance
41 size_t ServiceManager::countExistingService() const { in countExistingService()49 void ServiceManager::forEachExistingService(std::function<void(const HidlService *)> f) const { in forEachExistingService()58 void ServiceManager::forEachServiceEntry(std::function<void(const HidlService *)> f) const { in forEachServiceEntry()68 void ServiceManager::serviceDied(uint64_t cookie, const wp<IBase>& who) { in serviceDied()82 ServiceManager::InstanceMap &ServiceManager::PackageInterfaceMap::getInstanceMap() { in getInstanceMap()86 const ServiceManager::InstanceMap &ServiceManager::PackageInterfaceMap::getInstanceMap() const { in getInstanceMap()90 const HidlService *ServiceManager::PackageInterfaceMap::lookup( in lookup()101 HidlService *ServiceManager::PackageInterfaceMap::lookup( in lookup()108 void ServiceManager::PackageInterfaceMap::insertService( in insertService()113 void ServiceManager::PackageInterfaceMap::sendPackageRegistrationNotification( in sendPackageRegistrationNotification()[all …]
45 using android::hidl::manager::implementation::ServiceManager;64 sp<ServiceManager> manager = new ServiceManager(); in main()
23 "ServiceManager.cpp",
28 struct ServiceManager : public IServiceManager, hidl_death_recipient { struct
30 ServiceManager::ServiceManager() { in ServiceManager() function in ServiceManager48 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()
20 class ServiceManager {22 ServiceManager();23 virtual ~ServiceManager() {} in ~ServiceManager()
32 ServiceManager& sm = ServiceManager::GetInstance(); in TEST()47 ServiceManager& sm = ServiceManager::GetInstance(); in TEST()63 ServiceManager& sm = ServiceManager::GetInstance(); in Test_make_exec_oneshot_service()
376 ServiceManager::GetInstance().ForEachService([&kill_after_apps, &to_starts](Service* s) { in DoReboot()387 Service* bootAnim = ServiceManager::GetInstance().FindServiceByName("bootanim"); in DoReboot()388 Service* surfaceFlinger = ServiceManager::GetInstance().FindServiceByName("surfaceflinger"); in DoReboot()390 ServiceManager::GetInstance().ForEachServiceInClass("animation", [](Service* s) { in DoReboot()401 ServiceManager::GetInstance().ForEachService([](Service* s) { in DoReboot()409 ServiceManager::GetInstance().ReapAnyOutstandingChildren(); in DoReboot()412 ServiceManager::GetInstance().ForEachService([&service_count](Service* s) { in DoReboot()437 ServiceManager::GetInstance().ForEachService([](Service* s) { in DoReboot()440 ServiceManager::GetInstance().ReapAnyOutstandingChildren(); in DoReboot()443 Service* voldService = ServiceManager::GetInstance().FindServiceByName("vold"); in DoReboot()[all …]
39 ServiceManager::GetInstance().ReapAnyOutstandingChildren(); in handle_signal()66 ServiceManager::GetInstance().ReapAnyOutstandingChildren(); in signal_handler_init()
971 int ServiceManager::exec_count_ = 0;973 ServiceManager::ServiceManager() { in ServiceManager() function in android::init::ServiceManager976 ServiceManager& ServiceManager::GetInstance() { in GetInstance()977 static ServiceManager instance; in GetInstance()981 void ServiceManager::AddService(std::unique_ptr<Service> service) { in AddService()985 bool ServiceManager::Exec(const std::vector<std::string>& args) { in Exec()993 ServiceManager::GetInstance().RemoveService(*svc); in Exec()999 bool ServiceManager::ExecStart(const std::string& name) { in ExecStart()1012 bool ServiceManager::IsWaitingForExec() const { return exec_waiter_ != nullptr; } in IsWaitingForExec()1014 Service* ServiceManager::MakeExecOneshotService(const std::vector<std::string>& args) { in MakeExecOneshotService()[all …]
82 Service* svc = ServiceManager::GetInstance().FindServiceByKeychord(id); in handle_keychord()95 ServiceManager::GetInstance().ForEachService(add_service_keycodes); in keychord_init()
132 ServiceManager::GetInstance(). in do_class_start()138 ServiceManager::GetInstance(). in do_class_stop()144 ServiceManager::GetInstance(). in do_class_reset()150 ServiceManager::GetInstance(). in do_class_restart()165 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_enable()173 return ServiceManager::GetInstance().Exec(args) ? 0 : -1; in do_exec()177 return ServiceManager::GetInstance().ExecStart(args[1]) ? 0 : -1; in do_exec_start()607 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_start()618 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_stop()628 Service* svc = ServiceManager::GetInstance().FindServiceByName(args[1]); in do_restart()
196 class ServiceManager {198 static ServiceManager& GetInstance();201 ServiceManager();234 ServiceParser(ServiceManager* service_manager) in ServiceParser()244 ServiceManager* service_manager_;
103 ServiceManager::GetInstance().DumpState(); in DumpState()204 ServiceManager::GetInstance().ForEachServiceWithFlags(SVC_RESTARTING, [](Service* s) { in restart_processes()210 Service* svc = ServiceManager::GetInstance().FindServiceByName(name); in handle_control_message()1129 ServiceManager& sm = ServiceManager::GetInstance(); in main()
15 "src/ServiceManager.cpp",
30 import android.os.ServiceManager;70 IBinder service = new ServiceManager().getService( in getService()