/hardware/interfaces/vibrator/1.0/default/ |
service.cpp | 16 #define LOG_TAG "android.hardware.vibrator@1.0-service" 18 #include <android/hardware/vibrator/1.0/IVibrator.h> 21 using android::hardware::vibrator::V1_0::IVibrator;
|
Android.mk | 20 LOCAL_MODULE := android.hardware.vibrator@1.0-service 21 LOCAL_INIT_RC := android.hardware.vibrator@1.0-service.rc 33 android.hardware.vibrator@1.0
|
Vibrator.h | 19 #include <android/hardware/vibrator/1.0/IVibrator.h> 25 namespace vibrator { namespace in namespace:android::hardware 29 struct Vibrator : public IVibrator { 30 Vibrator(vibrator_device_t *device); 32 // Methods from ::android::hardware::vibrator::V1_0::IVibrator follow. 47 } // namespace vibrator
|
/hardware/interfaces/vibrator/1.1/ |
types.hal | 17 package android.hardware.vibrator@1.1;
|
IVibrator.hal | 17 package android.hardware.vibrator@1.1;
|
Android.mk | 8 LOCAL_MODULE := android.hardware.vibrator-V1.1-java 16 android.hardware.vibrator-V1.0-java \ 23 GEN := $(intermediates)/android/hardware/vibrator/V1_1/Effect_1_1.java 33 android.hardware.vibrator@1.1::types.Effect_1_1 42 GEN := $(intermediates)/android/hardware/vibrator/V1_1/IVibrator.java 54 android.hardware.vibrator@1.1::IVibrator 65 LOCAL_MODULE := android.hardware.vibrator-V1.1-java-static 73 android.hardware.vibrator-V1.0-java-static \ 80 GEN := $(intermediates)/android/hardware/vibrator/V1_1/Effect_1_1.java 90 android.hardware.vibrator@1.1::types.Effect_1_ [all...] |
/hardware/interfaces/vibrator/1.0/vts/functional/ |
VtsHalVibratorV1_0TargetTest.cpp | 20 #include <android/hardware/vibrator/1.0/IVibrator.h> 21 #include <android/hardware/vibrator/1.0/types.h> 25 using ::android::hardware::vibrator::V1_0::Effect; 26 using ::android::hardware::vibrator::V1_0::EffectStrength; 27 using ::android::hardware::vibrator::V1_0::IVibrator; 28 using ::android::hardware::vibrator::V1_0::Status; 33 // The main test class for VIBRATOR HIDL HAL. 37 vibrator = ::testing::VtsHalHidlTargetTestBase::getService<IVibrator>(); 38 ASSERT_NE(vibrator, nullptr); 43 sp<IVibrator> vibrator; member in class:VibratorHidlTest [all...] |
/hardware/interfaces/vibrator/1.1/vts/functional/ |
VtsHalVibratorV1_1TargetTest.cpp | 21 #include <android/hardware/vibrator/1.1/IVibrator.h> 22 #include <android/hardware/vibrator/1.1/types.h> 25 using ::android::hardware::vibrator::V1_0::Effect; 26 using ::android::hardware::vibrator::V1_0::EffectStrength; 27 using ::android::hardware::vibrator::V1_0::Status; 28 using ::android::hardware::vibrator::V1_1::Effect_1_1; 29 using ::android::hardware::vibrator::V1_1::IVibrator; 34 // The main test class for VIBRATOR HIDL HAL 1.1. 38 vibrator = ::testing::VtsHalHidlTargetTestBase::getService<IVibrator>(); 39 ASSERT_NE(vibrator, nullptr) 44 sp<IVibrator> vibrator; member in class:VibratorHidlTest_1_1 [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
VibrationSystem.java | 18 import android.os.Vibrator; 21 /** A system for accessing the Android vibrator. Note that this system requires the app's 22 * AndroidManifest.xml to contain permissions for the Vibrator service. 37 Vibrator vibrator = (Vibrator)params.context.getSystemService(Context.VIBRATOR_SERVICE); local 38 if (vibrator != null) { 39 vibrator.vibrate((int)(seconds * 1000));
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
VibratorTest.java | 14 import android.os.Vibrator; 20 private Vibrator vibrator; field in class:VibratorTest 25 vibrator = (Vibrator) new Activity().getSystemService(Context.VIBRATOR_SERVICE); 26 shadowVibrator = shadowOf(vibrator); 31 vibrator.vibrate(5000); 40 vibrator.vibrate(pattern, 2); 49 vibrator.vibrate(5000); 52 vibrator.cancel() [all...] |
/test/vts-testcase/hal/vibrator/V1_0/host/ |
Android.mk | 22 VTS_CONFIG_SRC_DIR := testcases/hal/vibrator/V1_0/host
|
/test/vts-testcase/hal/vibrator/V1_0/host_profiling/ |
Android.mk | 22 VTS_CONFIG_SRC_DIR := testcases/hal/vibrator/V1_0/host_profiling
|
/test/vts-testcase/hal/vibrator/V1_0/target/ |
Android.mk | 22 VTS_CONFIG_SRC_DIR := testcases/hal/vibrator/V1_0/target
|
/test/vts-testcase/hal/vibrator/V1_0/target_profiling/ |
Android.mk | 22 VTS_CONFIG_SRC_DIR := testcases/hal/vibrator/V1_0/target_profiling
|
/test/vts-testcase/hal/vibrator/V1_0/target_replay/ |
Android.mk | 22 VTS_CONFIG_SRC_DIR := testcases/hal/vibrator/V1_0/target_replay
|
/test/vts-testcase/hal/vibrator/V1_1/target/ |
Android.mk | 22 VTS_CONFIG_SRC_DIR := testcases/hal/vibrator/V1_1/target
|
/hardware/interfaces/vibrator/1.0/ |
types.hal | 17 package android.hardware.vibrator@1.0;
|
Android.mk | 8 LOCAL_MODULE := android.hardware.vibrator-V1.0-java 22 GEN := $(intermediates)/android/hardware/vibrator/V1_0/Effect.java 32 android.hardware.vibrator@1.0::types.Effect 41 GEN := $(intermediates)/android/hardware/vibrator/V1_0/EffectStrength.java 51 android.hardware.vibrator@1.0::types.EffectStrength 60 GEN := $(intermediates)/android/hardware/vibrator/V1_0/Status.java 70 android.hardware.vibrator@1.0::types.Status 79 GEN := $(intermediates)/android/hardware/vibrator/V1_0/IVibrator.java 91 android.hardware.vibrator@1.0::IVibrator 102 LOCAL_MODULE := android.hardware.vibrator-V1.0-java-stati [all...] |
/device/google/marlin/vibrator/ |
service.cpp | 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)) local [all...] |
Vibrator.h | 19 #include <android/hardware/vibrator/1.0/IVibrator.h> 26 namespace vibrator { namespace in namespace:android::hardware 30 class Vibrator : public IVibrator { 32 Vibrator(std::ofstream&& enable, std::ofstream&& amplitude); 34 // Methods from ::android::hardware::vibrator::V1_0::IVibrator follow. 47 } // namespace vibrator
|
/packages/apps/Settings/src/com/android/settings/notification/ |
VibrateOnTouchPreferenceController.java | 22 import android.os.Vibrator; 45 final Vibrator vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); local 46 return vibrator != null && vibrator.hasVibrator();
|
/device/google/wahoo/vibrator/ |
Vibrator.h | 19 #include <android/hardware/vibrator/1.1/IVibrator.h> 26 namespace vibrator { namespace in namespace:android::hardware 30 class Vibrator : public IVibrator { 32 Vibrator(std::ofstream&& activate, std::ofstream&& duration, 37 // Methods from ::android::hardware::vibrator::V1_0::IVibrator follow. 38 using Status = ::android::hardware::vibrator::V1_0::Status; 44 using EffectStrength = ::android::hardware::vibrator::V1_0::EffectStrength; 45 using Effect = ::android::hardware::vibrator::V1_0::Effect; 65 } // namespace vibrator
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
AlarmKlaxon.java | 23 import android.os.Vibrator; 48 ((Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE)).cancel(); 63 final Vibrator vibrator = getVibrator(context); local 65 vibrateLOrLater(vibrator); 67 vibrator.vibrate(VIBRATE_PATTERN, 0); 75 private static void vibrateLOrLater(Vibrator vibrator) { 76 vibrator.vibrate(VIBRATE_PATTERN, 0, new AudioAttributes.Builder() 82 private static Vibrator getVibrator(Context context) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerKlaxon.java | 24 import android.os.Vibrator; 49 ((Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE)).cancel(); 69 final Vibrator vibrator = getVibrator(context); local 71 vibrateLOrLater(vibrator); 73 vibrator.vibrate(VIBRATE_PATTERN, 0); 80 private static void vibrateLOrLater(Vibrator vibrator) { 81 vibrator.vibrate(VIBRATE_PATTERN, 0, new AudioAttributes.Builder() 87 private static Vibrator getVibrator(Context context) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
MorseCode.java | 25 import android.os.Vibrator; 31 * <h3>App that vibrates the vibrator with the Morse Code for a string.</h3> 33 <p>This demonstrates the {@link android.os.Vibrator android.os.Vibrator} class. 36 OS / Morse Code Vibrator 42 * <td >The Morse Code Vibrator</td> 85 // android.os.Vibrator for more info about the format of this array 89 Vibrator vibrator = (Vibrator)getSystemService(Context.VIBRATOR_SERVICE) [all...] |