Searched refs:MODE_PATH (Results 1 – 2 of 2) sorted by relevance
38 static constexpr char MODE_PATH[] = "/sys/class/leds/vibrator/device/mode"; variable158 std::ofstream mode{MODE_PATH}; in registerVibratorService()161 ALOGW("Failed to open %s (%d): %s", MODE_PATH, error, strerror(error)); in registerVibratorService()
39 static constexpr char MODE_PATH[] = "/sys/class/leds/vibrator/device/mode"; variable181 hwapi.mode.open(MODE_PATH); in registerVibratorService()184 ALOGW("Failed to open %s (%d): %s", MODE_PATH, error, strerror(error)); in registerVibratorService()