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

/frameworks/native/cmds/dumpstate/
H A Ddumpstate.c362 FILE *vibrator = 0; local
364 /* open the vibrator before dropping root */
365 vibrator = fopen("/sys/class/timed_output/vibrator/enable", "w");
366 if (vibrator) fcntl(fileno(vibrator), F_SETFD, FD_CLOEXEC);
440 } else if (vibrator) {
441 fputs("150", vibrator);
442 fflush(vibrator);
449 } else if (vibrator) {
[all...]

Completed in 341 milliseconds