Searched refs:vibratorManager (Results 1 – 3 of 3) sorted by relevance
152 VibratorManager vibratorManager = device.getVibratorManager(); in updateInputDeviceVibrators() local153 if (vibratorManager.getVibratorIds().length > 0) { in updateInputDeviceVibrators()154 mInputDeviceVibrators.put(device.getId(), vibratorManager); in updateInputDeviceVibrators() local180 VibratorManager vibratorManager = device.getVibratorManager(); in updateInputDevice() local181 if (vibratorManager.getVibratorIds().length > 0) { in updateInputDevice()182 mInputDeviceVibrators.put(device.getId(), vibratorManager); in updateInputDevice() local
312 public void register(VibratorManager vibratorManager) { in register() argument313 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() argument342 vibratorManager.getVibrator(vibratorId).removeVibratorStateListener(listener); in unregister()
1604 VibratorManager vibratorManager = mContext.getSystemService(VibratorManager.class); in updateVibratorInfos() local1605 if (vibratorManager == null) { in updateVibratorInfos()1609 int[] vibratorIds = vibratorManager.getVibratorIds(); in updateVibratorInfos()1616 Vibrator vibrator = vibratorManager.getVibrator(id); in updateVibratorInfos()