Lines Matching refs:svc
39 void add_service_keycodes(Service* svc) in add_service_keycodes() argument
44 if (!svc->keycodes().empty()) { in add_service_keycodes()
46 size = sizeof(*keychord) + svc->keycodes().size() * sizeof(keychord->keycodes[0]); in add_service_keycodes()
58 keychord->count = svc->keycodes().size(); in add_service_keycodes()
59 svc->set_keychord_id(keychord->id); in add_service_keycodes()
61 for (i = 0; i < svc->keycodes().size(); i++) { in add_service_keycodes()
62 keychord->keycodes[i] = svc->keycodes()[i]; in add_service_keycodes()
82 Service* svc = ServiceManager::GetInstance().FindServiceByKeychord(id); in handle_keychord() local
83 if (svc) { in handle_keychord()
84 LOG(INFO) << "Starting service " << svc->name() << " from keychord " << id; in handle_keychord()
85 svc->Start(); in handle_keychord()