Home | History | Annotate | Download | only in init

Lines Matching refs:svc

39 void add_service_keycodes(Service* svc)
44 if (!svc->keycodes().empty()) {
46 size = sizeof(*keychord) + svc->keycodes().size() * sizeof(keychord->keycodes[0]);
58 keychord->count = svc->keycodes().size();
59 svc->set_keychord_id(keychord->id);
61 for (i = 0; i < svc->keycodes().size(); i++) {
62 keychord->keycodes[i] = svc->keycodes()[i];
80 std::string adb_enabled = android::base::GetProperty("init.svc.adbd", "");
82 Service* svc = ServiceList::GetInstance().FindService(id, &Service::keychord_id);
83 if (svc) {
84 LOG(INFO) << "Starting service '" << svc->name() << "' from keychord " << id;
85 if (auto result = svc->Start(); !result) {
86 LOG(ERROR) << "Could not start service '" << svc->name() << "' from keychord " << id