Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/
Dcom_android_server_VibratorService.cpp39 using android::hardware::vibrator::V1_0::EffectStrength;
40 using android::hardware::vibrator::V1_0::Status;
41 using android::hardware::vibrator::V1_1::Effect_1_1;
43 namespace V1_0 = android::hardware::vibrator::V1_0;
44 namespace V1_1 = android::hardware::vibrator::V1_1;
45 namespace V1_2 = android::hardware::vibrator::V1_2;
46 namespace V1_3 = android::hardware::vibrator::V1_3;
DAndroid.bp128 "android.hardware.vibrator@1.0",
129 "android.hardware.vibrator@1.1",
130 "android.hardware.vibrator@1.2",
131 "android.hardware.vibrator@1.3",
/frameworks/base/services/core/java/com/android/server/biometrics/
DClientMonitor.java293 Vibrator vibrator = mContext.getSystemService(Vibrator.class); in vibrateSuccess() local
294 if (vibrator != null) { in vibrateSuccess()
295 vibrator.vibrate(mSuccessVibrationEffect, FINGERPRINT_SONFICATION_ATTRIBUTES); in vibrateSuccess()
300 Vibrator vibrator = mContext.getSystemService(Vibrator.class); in vibrateError() local
301 if (vibrator != null) { in vibrateError()
302 vibrator.vibrate(mErrorVibrationEffect, FINGERPRINT_SONFICATION_ATTRIBUTES); in vibrateError()
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java199 Vibrator vibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); in performAccessibilityShortcut() local
200 if ((vibrator != null) && vibrator.hasVibrator()) { in performAccessibilityShortcut()
205 vibrator.vibrate(vibePattern, -1, VIBRATION_ATTRIBUTES); in performAccessibilityShortcut()
/frameworks/base/services/core/
DAndroid.bp50 "android.hardware.vibrator-V1.0-java",
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java152 Vibrator vibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); in LegacyGlobalActions() local
153 mHasVibrator = vibrator != null && vibrator.hasVibrator(); in LegacyGlobalActions()
/frameworks/base/core/java/android/os/
DVibrationEffect.java25 import android.hardware.vibrator.V1_0.EffectStrength;
26 import android.hardware.vibrator.V1_3.Effect;
/frameworks/base/services/core/java/com/android/server/power/
DShutdownThread.java665 Vibrator vibrator = new SystemVibrator(context); in rebootOrShutdown() local
667 vibrator.vibrate(SHUTDOWN_VIBRATE_MS, VIBRATION_ATTRIBUTES); in rebootOrShutdown()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java30 import android.hardware.vibrator.V1_0.EffectStrength;
976 Vibrator vibrator = device.getVibrator(); in updateInputDeviceVibratorsLocked() local
977 if (vibrator.hasVibrator()) { in updateInputDeviceVibratorsLocked()
978 mInputDeviceVibrators.add(vibrator); in updateInputDeviceVibratorsLocked()
/frameworks/base/services/java/com/android/server/
DSystemServer.java879 VibratorService vibrator = null; in startOtherServices() local
995 vibrator = new VibratorService(context); in startOtherServices()
996 ServiceManager.addService("vibrator", vibrator); in startOtherServices()
1915 vibrator.systemReady(); in startOtherServices()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java202 Vibrator vibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); in GlobalActionsDialog() local
203 mHasVibrator = vibrator != null && vibrator.hasVibrator(); in GlobalActionsDialog()
/frameworks/base/core/proto/android/providers/settings/
Dsystem.proto207 // Not used anymore. On devices with vibrator, the user explicitly selects
/frameworks/base/core/proto/android/os/
Dsystem_properties.proto434 optional string vibrator = 37; field
Dbatterystats.proto622 optional TimerProto vibrator = 13; field
/frameworks/base/
DAndroid.bp775 "android.hardware.vibrator-V1.0-java",
776 "android.hardware.vibrator-V1.1-java",
777 "android.hardware.vibrator-V1.2-java",
778 "android.hardware.vibrator-V1.3-java",
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java1446 void setVibrator(Vibrator vibrator) { in setVibrator() argument
1447 mVibrator = vibrator; in setVibrator()
/frameworks/base/cmds/statsd/src/
Datoms.proto2826 * Logs when the vibrator state changes.
2839 // Duration (in milliseconds) requested to keep the vibrator on.