Home | History | Annotate | Download | only in init

Lines Matching refs:keychords

30 static struct input_keychord *keychords = 0;
43 keychords = realloc(keychords, keychords_length + size);
44 if (!keychords) {
45 ERROR("could not allocate keychords\n");
51 keychord = (struct input_keychord *)((char *)keychords + keychords_length);
71 /* nothing to do if no services require keychords */
72 if (!keychords)
82 ret = write(fd, keychords, keychords_length);
89 free(keychords);
90 keychords = 0;
103 // only handle keychords if ro.debuggable is set or adb is enabled.