Home
last modified time | relevance | path

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

/system/core/init/
Dbuiltins.cpp158 static void ForEachServiceInClass(const std::string& classname, F function) { in ForEachServiceInClass() argument
160 if (service->classnames().count(classname)) std::invoke(function, service); in ForEachServiceInClass()
196 std::string classname; in do_class_restart() local
206 classname = args[2]; in do_class_restart()
208 classname = args[1]; in do_class_restart()
212 if (!service->classnames().count(classname)) { in do_class_restart()
788 const auto& classname = args[args.size() - 1]; in do_restart() local
789 Service* svc = ServiceList::GetInstance().FindService(classname); in do_restart()
790 if (!svc) return Error() << "service " << classname << " not found"; in do_restart()