Searched defs:vibrator (Results 1 - 1 of 1) sorted by relevance

/frameworks/native/cmds/dumpstate/
H A Ddumpstate.c369 FILE *vibrator = 0; local
371 /* open the vibrator before dropping root */
372 vibrator = fopen("/sys/class/timed_output/vibrator/enable", "w");
373 if (vibrator) fcntl(fileno(vibrator), F_SETFD, FD_CLOEXEC);
447 } else if (vibrator) {
448 fputs("150", vibrator);
449 fflush(vibrator);
456 } else if (vibrator) {
[all...]

Completed in 1059 milliseconds