Home
last modified time | relevance | path

Searched refs:vibratorManager (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/vibrator/
DInputDeviceDelegate.java152 VibratorManager vibratorManager = device.getVibratorManager(); in updateInputDeviceVibrators() local
153 if (vibratorManager.getVibratorIds().length > 0) { in updateInputDeviceVibrators()
154 mInputDeviceVibrators.put(device.getId(), vibratorManager); in updateInputDeviceVibrators() local
180 VibratorManager vibratorManager = device.getVibratorManager(); in updateInputDevice() local
181 if (vibratorManager.getVibratorIds().length > 0) { in updateInputDevice()
182 mInputDeviceVibrators.put(device.getId(), vibratorManager); in updateInputDevice() local
/frameworks/base/core/java/android/os/
DSystemVibrator.java312 public void register(VibratorManager vibratorManager) { in register() argument
313 int[] vibratorIds = vibratorManager.getVibratorIds(); in register()
319 vibratorManager.getVibrator(vibratorId).addVibratorStateListener(mExecutor, in register()
324 unregister(vibratorManager); in register()
337 public void unregister(VibratorManager vibratorManager) { in unregister() argument
342 vibratorManager.getVibrator(vibratorId).removeVibratorStateListener(listener); in unregister()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java1604 VibratorManager vibratorManager = mContext.getSystemService(VibratorManager.class); in updateVibratorInfos() local
1605 if (vibratorManager == null) { in updateVibratorInfos()
1609 int[] vibratorIds = vibratorManager.getVibratorIds(); in updateVibratorInfos()
1616 Vibrator vibrator = vibratorManager.getVibrator(id); in updateVibratorInfos()