Lines Matching defs:svc
33 void add_service_keycodes(struct service *svc)
38 if (svc->keycodes) {
40 size = sizeof(*keychord) + svc->nkeycodes * sizeof(keychord->keycodes[0]);
52 keychord->count = svc->nkeycodes;
53 svc->keychord_id = keychord->id;
55 for (i = 0; i < svc->nkeycodes; i++) {
56 keychord->keycodes[i] = svc->keycodes[i];
95 struct service *svc;
105 adb_enabled = property_get("init.svc.adbd");
114 svc = service_find_by_keychord(id);
115 if (svc) {
116 INFO("starting service %s from keychord\n", svc->name);
117 service_start(svc, NULL);