Home
last modified time | relevance | path

Searched refs:mVibratorHelper (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DVibratorHelperTest.java50 VibratorHelper mVibratorHelper; field in VibratorHelperTest
57 mVibratorHelper = new VibratorHelper(getContext()); in setUp()
91 assertRepeatingVibration(mVibratorHelper.createDefaultVibration(/* insistent= */ true)); in createVibration_insistent_createsRepeatingVibration()
92 assertRepeatingVibration(mVibratorHelper.createFallbackVibration(/* insistent= */ true)); in createVibration_insistent_createsRepeatingVibration()
95 assertRepeatingVibration(mVibratorHelper.createDefaultVibration(/* insistent= */ true)); in createVibration_insistent_createsRepeatingVibration()
96 assertRepeatingVibration(mVibratorHelper.createFallbackVibration(/* insistent= */ true)); in createVibration_insistent_createsRepeatingVibration()
102 assertSingleVibration(mVibratorHelper.createDefaultVibration(/* insistent= */ false)); in createVibration_nonInsistent_createsSingleShotVibration()
103 assertSingleVibration(mVibratorHelper.createFallbackVibration(/* insistent= */ false)); in createVibration_nonInsistent_createsSingleShotVibration()
106 assertSingleVibration(mVibratorHelper.createDefaultVibration(/* insistent= */ false)); in createVibration_nonInsistent_createsSingleShotVibration()
107 assertSingleVibration(mVibratorHelper.createFallbackVibration(/* insistent= */ false)); in createVibration_nonInsistent_createsSingleShotVibration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessSliderController.java285 private final VibratorHelper mVibratorHelper; field in BrightnessSliderController.Factory
299 mVibratorHelper = vibratorHelper; in Factory()
318 mVibratorHelper, in create()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DBiometricsUnlockControllerTest.java127 private VibratorHelper mVibratorHelper; field in BiometricsUnlockControllerTest
151 when(mVibratorHelper.hasVibrator()).thenReturn(true); in setUp()
169 mSessionTracker, mLatencyTracker, mScreenOffAnimationController, mVibratorHelper, in createController()
472 when(mVibratorHelper.hasVibrator()).thenReturn(false); in onFPFailureNoHaptics_notInteractive_showLockScreen()
486 when(mVibratorHelper.hasVibrator()).thenReturn(false); in onFPFailureNoHaptics_dreaming_showLockScreen()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationPanelViewControllerWithCoroutinesTest.kt167 verify(mVibratorHelper) in <lambda>()
193 verify(mVibratorHelper) in <lambda>()
DNotificationPanelViewControllerBaseTest.java255 @Mock protected VibratorHelper mVibratorHelper; field in NotificationPanelViewControllerBaseTest
696 mDozeLog, mDozeParameters, mCommandQueue, mVibratorHelper, in setup()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationAttentionHelper.java133 private VibratorHelper mVibratorHelper; field in NotificationAttentionHelper
184 mVibratorHelper = new VibratorHelper(context); in NotificationAttentionHelper()
419 vibration = mVibratorHelper.createFallbackVibration(insistent); in buzzBeepBlinkLocked()
731 ? mVibratorHelper.scale(effect, scale) : effect; in playVibration()
777 mVibratorHelper.vibrate(effect, record.getAudioAttributes(), reason); in vibrate()
830 mVibratorHelper.cancelVibration(); in clearVibrateLocked()
1740 return mVibratorHelper; in getVibratorHelper()
1745 mVibratorHelper = helper; in setVibratorHelper()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBiometricUnlockController.java181 private final VibratorHelper mVibratorHelper; field in BiometricUnlockController
322 mVibratorHelper = vibrator; in BiometricUnlockController()
739 if (!mVibratorHelper.hasVibrator() && screenOff) { in onBiometricAuthFailed()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
DVolumeDialogImplTest.java165 private VibratorHelper mVibratorHelper; field in VolumeDialogImplTest
200 when(mVibratorHelper.getPrimitiveDurations(anyInt())).thenReturn(new int[]{0}); in setup()
219 mVibratorHelper, in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthController.java184 @NonNull private final VibratorHelper mVibratorHelper; field in AuthController
764 mVibratorHelper = vibratorHelper; in AuthController()
1328 mCredentialViewModelProvider, bgExecutor, mVibratorHelper); in buildDialog()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsDialogLiteTest.java138 @Mock private VibratorHelper mVibratorHelper; field in GlobalActionsDialogLiteTest
175 mVibratorHelper, in setUp()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DAuthControllerTest.java184 private VibratorHelper mVibratorHelper; field in AuthControllerTest
1066 mHandler, mBackgroundExecutor, mUdfpsUtils, mVibratorHelper); in TestableAuthController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationPanelViewController.java321 private final VibratorHelper mVibratorHelper; field in NotificationPanelViewController
867 mVibratorHelper = vibratorHelper; in NotificationPanelViewController()
1524 mVibratorHelper, in initBottomArea()
2940 mVibratorHelper.performHapticFeedback(mView, HapticFeedbackConstants.REJECT); in falsingAdditionalTapRequired()
3321 mVibratorHelper.performHapticFeedback(mView, constant);
3777 mVibratorHelper.performHapticFeedback(
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogImpl.java314 private final VibratorHelper mVibratorHelper; field in VolumeDialogImpl
342 mVibratorHelper = vibratorHelper; in VolumeDialogImpl()
928 row.createPlugin(mVibratorHelper, mSystemClock); in addSliderHapticsToRow()