Searched refs:STATE_PATH (Results 1 – 4 of 4) sorted by relevance
33 static constexpr char STATE_PATH[] = "/sys/class/leds/vibrator/state"; variable117 std::ofstream state{STATE_PATH}; in makeVibratorService()119 ALOGE("Failed to open %s (%d): %s", STATE_PATH, errno, strerror(errno)); in makeVibratorService()
36 static constexpr char STATE_PATH[] = "/sys/class/leds/vibrator/state"; variable137 std::ofstream state{STATE_PATH}; in registerVibratorService()140 ALOGE("Failed to open %s (%d): %s", STATE_PATH, error, strerror(error)); in registerVibratorService()
37 static constexpr char STATE_PATH[] = "/sys/class/leds/vibrator/state"; variable160 hwapi.state.open(STATE_PATH); in registerVibratorService()163 ALOGE("Failed to open %s (%d): %s", STATE_PATH, error, strerror(error)); in registerVibratorService()
13 setenv STATE_PATH /sys/class/leds/vibrator/state