/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | VibratorHelper.java | 37 private final Vibrator mVibrator; field in VibratorHelper 58 mVibrator = context.getSystemService(Vibrator.class); in VibratorHelper() 69 mVibrator.vibrate(VibrationEffect.get(effectId, false /* fallback */), in vibrate()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | BuzzBeepBlinkTest.java | 90 @Mock Vibrator mVibrator; field in BuzzBeepBlinkTest 150 mService.setVibrator(mVibrator); in setUp() 365 verify(mVibrator, never()).vibrate(anyInt(), anyString(), (VibrationEffect) anyObject(), in verifyNeverVibrate() 370 verify(mVibrator, times(1)).vibrate(anyInt(), anyString(), argThat(mVibrateOnceMatcher), in verifyVibrate() 375 verify(mVibrator, times(1)).vibrate(anyInt(), anyString(), argThat(mVibrateLoopMatcher), in verifyVibrateLooped() 380 verify(mVibrator, timeout(MAX_VIBRATION_DELAY).times(1)).vibrate(anyInt(), anyString(), in verifyDelayedVibrateLooped() 386 verify(mVibrator, times(1)).cancel(); in verifyStopVibrate() 390 verify(mVibrator, never()).cancel(); in verifyNeverStopVibrate() 706 verify(mVibrator, timeout(MAX_VIBRATION_DELAY).times(1)).vibrate(anyInt(), anyString(), in testNoDemoteSoundToVibrateIfVibrateGiven() 743 verify(mVibrator, timeout(MAX_VIBRATION_DELAY).times(1)).vibrate(anyInt(), anyString(), in testDemoteSoundToVibrate() [all …]
|
/frameworks/base/core/java/android/view/ |
D | InputDevice.java | 68 private Vibrator mVibrator; // guarded by mMotionRanges during initialization field in InputDevice 764 if (mVibrator == null) { in getVibrator() 766 mVibrator = InputManager.getInstance().getInputDeviceVibrator(mId); in getVibrator() 768 mVibrator = NullVibrator.getInstance(); in getVibrator() 771 return mVibrator; in getVibrator()
|
/frameworks/base/services/core/java/com/android/server/ |
D | VibratorService.java | 144 private Vibrator mVibrator; field in VibratorService 445 mVibrator = mContext.getSystemService(Vibrator.class); in systemReady() 893 defaultIntensity = mVibrator.getDefaultRingVibrationIntensity(); in applyVibrationIntensityScalingLocked() 895 defaultIntensity = mVibrator.getDefaultNotificationVibrationIntensity(); in applyVibrationIntensityScalingLocked() 897 defaultIntensity = mVibrator.getDefaultHapticFeedbackIntensity(); in applyVibrationIntensityScalingLocked() 1103 mVibrator.getDefaultHapticFeedbackIntensity(), UserHandle.USER_CURRENT); in updateVibrationIntensityLocked() 1106 mVibrator.getDefaultNotificationVibrationIntensity(), UserHandle.USER_CURRENT); in updateVibrationIntensityLocked() 1109 mVibrator.getDefaultRingVibrationIntensity(), UserHandle.USER_CURRENT); in updateVibrationIntensityLocked() 1614 defaultIntensity = mVibrator.getDefaultRingVibrationIntensity(); in onExternalVibrationStart() 1617 defaultIntensity = mVibrator.getDefaultNotificationVibrationIntensity(); in onExternalVibrationStart() [all …]
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | NotificationTestList.java | 56 Vibrator mVibrator; field in NotificationTestList 81 mVibrator = (Vibrator)getSystemService(VIBRATOR_SERVICE); in onCreate() 856 mVibrator.vibrate(new long[] { 250, 1000, 500, 2000 }, -1); 863 mVibrator.vibrate(new long[] { 250, 1000, 500 }, 1); 870 mVibrator.vibrate(3000); 877 mVibrator.vibrate(100000); 884 mVibrator.cancel();
|
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/ |
D | AccessibilityShortcutControllerTest.java | 113 private @Mock Vibrator mVibrator; field in AccessibilityShortcutControllerTest 127 when(mVibrator.hasVibrator()).thenReturn(true); in setUp() 131 when(mContext.getSystemService(Context.VIBRATOR_SERVICE)).thenReturn(mVibrator); in setUp() 314 verify(mVibrator).vibrate(aryEq(VIBRATOR_PATTERN_LONG), eq(-1), anyObject()); in testOnAccessibilityShortcut_vibrates()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SlidingTab.java | 79 private Vibrator mVibrator; field in SlidingTab 841 if (mVibrator == null) { 842 mVibrator = (android.os.Vibrator) getContext() 845 mVibrator.vibrate(duration, VIBRATION_ATTRIBUTES);
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | Notifier.java | 125 private final Vibrator mVibrator; field in Notifier 173 mVibrator = mContext.getSystemService(Vibrator.class); in Notifier() 834 mVibrator.vibrate(WIRELESS_CHARGING_VIBRATION_EFFECT, VIBRATION_ATTRIBUTES); in playChargingStartedVibration()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImpl.java | 125 private final Vibrator mVibrator; field in VolumeDialogControllerImpl 157 mVibrator = (Vibrator) mContext.getSystemService(Context.VIBRATOR_SERVICE); in VolumeDialogControllerImpl() 158 mHasVibrator = mVibrator != null && mVibrator.hasVibrator(); in VolumeDialogControllerImpl() 360 mVibrator.vibrate(effect, SONIFICIATION_VIBRATION_ATTRIBUTES); in vibrate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleStackView.java | 155 private final Vibrator mVibrator; field in BubbleStackView 347 mVibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in BubbleStackView() 1278 mVibrator.vibrate(VibrationEffect.get(toTarget 1293 mVibrator.vibrate(VibrationEffect.get(VibrationEffect.EFFECT_CLICK)); in magnetToStackIfNeededThenAnimateDismissal()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
D | MLand.java | 138 private Vibrator mVibrator; field in MLand 193 mVibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in MLand() 384 mVibrator.vibrate(ms, mAudioAttrs); in thump()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 367 Vibrator mVibrator; field in NotificationManagerService 780 mVibrator.cancel(); 1124 mVibrator.cancel(); in clearVibrateLocked() 1510 mVibrator = vibrator; in setVibrator() 1660 mVibrator = (Vibrator) getContext().getSystemService(Context.VIBRATOR_SERVICE); in init() 6171 mVibrator.vibrate(record.sbn.getUid(), record.sbn.getOpPkg(), 6179 mVibrator.vibrate(record.sbn.getUid(), record.sbn.getPackageName(), 6748 mVibrator.cancel();
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 382 Vibrator mVibrator; // Vibrator for giving feedback of orientation changes field in PhoneWindowManager 1925 mVibrator = (Vibrator)context.getSystemService(Context.VIBRATOR_SERVICE); in init() 5308 if (!mVibrator.hasVibrator()) { in performHapticFeedback() 5322 mVibrator.vibrate(uid, packageName, effect, reason, VIBRATION_ATTRIBUTES); in performHapticFeedback()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 459 private Vibrator mVibrator; field in AudioService 638 mVibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in AudioService() 639 mHasVibrator = mVibrator == null ? false : mVibrator.hasVibrator(); in AudioService() 3051 mVibrator.vibrate(Binder.getCallingUid(), mContext.getOpPackageName(), effect, in maybeVibrate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBar.java | 521 private Vibrator mVibrator; field in StatusBar 1002 mVibrator = mContext.getSystemService(Vibrator.class); in makeStatusBarView() 3831 mVibrator.vibrate(mCameraLaunchGestureVibePattern, -1 /* repeat */); in vibrateForCameraGesture()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 74666 Landroid/view/InputDevice;->mVibrator:Landroid/os/Vibrator;
|