Home
last modified time | relevance | path

Searched refs:vibrator (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/native/cmds/idlcli/
DAndroid.bp18 "android.hardware.vibrator-ndk_platform",
19 "android.hardware.vibrator@1.0",
20 "android.hardware.vibrator@1.1",
21 "android.hardware.vibrator@1.2",
22 "android.hardware.vibrator@1.3",
40 "vibrator/CommandCompose.cpp",
41 "vibrator/CommandGetCapabilities.cpp",
42 "vibrator/CommandGetCompositionDelayMax.cpp",
43 "vibrator/CommandGetCompositionSizeMax.cpp",
44 "vibrator/CommandOff.cpp",
[all …]
Dvibrator.h51 inline auto getService<aidl::android::hardware::vibrator::IVibrator>() {
53 std::string() + aidl::android::hardware::vibrator::IVibrator::descriptor + "/default";
55 return aidl::android::hardware::vibrator::IVibrator::fromBinder(vibBinder);
96 namespace vibrator {
98 namespace V1_0 = ::android::hardware::vibrator::V1_0;
99 namespace V1_1 = ::android::hardware::vibrator::V1_1;
100 namespace V1_2 = ::android::hardware::vibrator::V1_2;
101 namespace V1_3 = ::android::hardware::vibrator::V1_3;
102 namespace aidl = ::aidl::android::hardware::vibrator;
/frameworks/base/samples/demo/haptic-assessment/src/com/example/android/hapticassessment/
DMainActivity.kt45 val vibrator = getSystemService(Vibrator::class.java) in <lambda>() constant
48 vibrator.vibrate(VibrationEffect.createPredefined(EFFECT_CLICK)) in <lambda>()
52 vibrator.vibrate(VibrationEffect.createOneShot(ONE_SHOT_TIMING, ONE_SHOT_AMPLITUDE)) in <lambda>()
56 vibrator.vibrate( in <lambda>()
60 if (vibrator.hasAmplitudeControl()) { in <lambda>()
/frameworks/base/services/core/java/com/android/server/biometrics/
DClientMonitor.java299 Vibrator vibrator = mContext.getSystemService(Vibrator.class); in vibrateSuccess() local
300 if (vibrator != null) { in vibrateSuccess()
301 vibrator.vibrate(mSuccessVibrationEffect, FINGERPRINT_SONFICATION_ATTRIBUTES); in vibrateSuccess()
306 Vibrator vibrator = mContext.getSystemService(Vibrator.class); in vibrateError() local
307 if (vibrator != null) { in vibrateError()
308 vibrator.vibrate(mErrorVibrationEffect, FINGERPRINT_SONFICATION_ATTRIBUTES); in vibrateError()
/frameworks/base/services/core/jni/
DAndroid.bp157 "android.hardware.vibrator-cpp",
158 "android.hardware.vibrator@1.0",
159 "android.hardware.vibrator@1.1",
160 "android.hardware.vibrator@1.2",
161 "android.hardware.vibrator@1.3",
Dcom_android_server_VibratorService.cpp38 using android::hardware::vibrator::V1_0::EffectStrength;
39 using android::hardware::vibrator::V1_0::Status;
40 using android::hardware::vibrator::V1_1::Effect_1_1;
42 namespace V1_0 = android::hardware::vibrator::V1_0;
43 namespace V1_1 = android::hardware::vibrator::V1_1;
44 namespace V1_2 = android::hardware::vibrator::V1_2;
45 namespace V1_3 = android::hardware::vibrator::V1_3;
46 namespace aidl = android::hardware::vibrator;
/frameworks/native/cmds/idlcli/vibrator/
DCommandSupportsAmplitudeControl.cpp24 namespace vibrator { namespace
DCommandSupportsExternalControl.cpp24 namespace vibrator { namespace
DCommandGetCapabilities.cpp24 namespace vibrator { namespace
DCommandGetCompositionSizeMax.cpp24 namespace vibrator { namespace
DCommandGetCompositionDelayMax.cpp24 namespace vibrator { namespace
DCommandOff.cpp24 namespace vibrator { namespace
DCommandSetExternalControl.cpp24 namespace vibrator { namespace
DCommandSetAmplitude.cpp24 namespace vibrator { namespace
DCommandOn.cpp24 namespace vibrator { namespace
DCommandCompose.cpp24 namespace vibrator { namespace
DCommandPerform.cpp24 namespace vibrator { namespace
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlActionCoordinatorImpl.kt52 private val vibrator = context.getSystemService(Context.VIBRATOR_SERVICE) as Vibrator in <lambda>() constant in com.android.systemui.controls.ui.ControlActionCoordinatorImpl
155 bgExecutor.execute { vibrator.vibrate(effect) } in <lambda>()
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java200 Vibrator vibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); in performAccessibilityShortcut() local
201 if ((vibrator != null) && vibrator.hasVibrator()) { in performAccessibilityShortcut()
206 vibrator.vibrate(vibePattern, -1, VIBRATION_ATTRIBUTES); in performAccessibilityShortcut()
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java151 Vibrator vibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); in LegacyGlobalActions() local
152 mHasVibrator = vibrator != null && vibrator.hasVibrator(); in LegacyGlobalActions()
/frameworks/base/core/java/android/os/
DVibrationEffect.java28 import android.hardware.vibrator.V1_0.EffectStrength;
29 import android.hardware.vibrator.V1_3.Effect;
/frameworks/base/services/core/java/com/android/server/power/
DShutdownThread.java668 Vibrator vibrator = new SystemVibrator(context); in rebootOrShutdown() local
670 vibrator.vibrate(SHUTDOWN_VIBRATE_MS, VIBRATION_ATTRIBUTES); in rebootOrShutdown()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java34 import android.hardware.vibrator.IVibrator;
35 import android.hardware.vibrator.V1_0.EffectStrength;
1194 Vibrator vibrator = device.getVibrator(); in updateInputDeviceVibratorsLocked() local
1195 if (vibrator.hasVibrator()) { in updateInputDeviceVibratorsLocked()
1196 mInputDeviceVibrators.add(vibrator); in updateInputDeviceVibratorsLocked()
/frameworks/base/services/core/
DAndroid.bp98 "android.hardware.vibrator-java",
/frameworks/base/
DAndroid.bp381 "android.hardware.vibrator-V1.0-java",
382 "android.hardware.vibrator-V1.1-java",
383 "android.hardware.vibrator-V1.2-java",
384 "android.hardware.vibrator-V1.3-java",

12