Home
last modified time | relevance | path

Searched refs:THE_DEVICE (Results 1 – 2 of 2) sorted by relevance

/hardware/libhardware_legacy/vibrator/
Dvibrator.c24 #define THE_DEVICE "/sys/class/timed_output/vibrator/enable" macro
36 fd = open(THE_DEVICE, O_RDWR); in vibrator_exists()
54 fd = open(THE_DEVICE, O_RDWR); in sendit()
/hardware/libhardware/modules/vibrator/
Dvibrator.c28 static const char THE_DEVICE[] = "/sys/class/timed_output/vibrator/enable"; variable
33 fd = TEMP_FAILURE_RETRY(open(THE_DEVICE, O_RDWR)); in vibra_exists()
49 fd = TEMP_FAILURE_RETRY(open(THE_DEVICE, O_RDWR)); in sendit()