Home | History | Annotate | Download | only in init

Lines Matching refs:keychords

28 static struct input_keychord *keychords = 0;
41 keychords = realloc(keychords, keychords_length + size);
42 if (!keychords) {
43 ERROR("could not allocate keychords\n");
49 keychord = (struct input_keychord *)((char *)keychords + keychords_length);
69 /* nothing to do if no services require keychords */
70 if (!keychords)
80 ret = write(fd, keychords, keychords_length);
87 free(keychords);
88 keychords = 0;
101 // only handle keychords if ro.debuggable is set or adb is enabled.