Home | History | Annotate | Download | only in vibrator

Lines Matching defs:vibrator

16 #define LOG_TAG "android.hardware.vibrator@1.0-service.marlin"
18 #include <android/hardware/vibrator/1.0/IVibrator.h>
24 #include "Vibrator.h"
28 using android::hardware::vibrator::V1_0::IVibrator;
29 using android::hardware::vibrator::V1_0::implementation::Vibrator;
32 static const char *ENABLE_PATH = "/sys/class/timed_output/vibrator/enable";
33 static const char *AMPLITUDE_PATH = "/sys/class/timed_output/vibrator/voltage_level";
50 sp<IVibrator> vibrator = new Vibrator(std::move(enable), std::move(amplitude));
51 (void) vibrator->registerAsService(); // suppress unused-result warning