Home
last modified time | relevance | path

Searched refs:mControllerCallbacks (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibrationThreadTest.java112 @Mock private VibratorController.OnVibrationCompleteListener mControllerCallbacks; field in VibrationThreadTest
140 }).when(mControllerCallbacks).onComplete(anyInt(), anyLong()); in setUp()
173 verify(mControllerCallbacks, never()).onComplete(anyInt(), eq(vibrationId)); in vibrate_noVibrator_ignoresVibration()
186 verify(mControllerCallbacks, never()).onComplete(anyInt(), eq(vibrationId)); in vibrate_missingVibrators_ignoresVibration()
200 verify(mControllerCallbacks).onComplete(eq(VIBRATOR_ID), eq(vibrationId)); in vibrate_singleVibratorOneShot_runsVibrationAndSetsAmplitude()
217 verify(mControllerCallbacks).onComplete(eq(VIBRATOR_ID), eq(vibrationId)); in vibrate_oneShotWithoutAmplitudeControl_runsVibrationWithDefaultAmplitude()
237 verify(mControllerCallbacks).onComplete(eq(VIBRATOR_ID), eq(vibrationId)); in vibrate_singleVibratorWaveform_runsVibrationAndChangesAmplitudes()
613 verify(mControllerCallbacks).onComplete(eq(VIBRATOR_ID), eq(vibrationId)); in vibrate_singleVibratorPrebaked_runsVibration()
634 verify(mControllerCallbacks).onComplete(eq(VIBRATOR_ID), eq(vibrationId)); in vibrate_singleVibratorPrebakedAndUnsupportedEffectWithFallback_runsFallback()
651 verify(mControllerCallbacks, never()).onComplete(eq(VIBRATOR_ID), eq(vibrationId)); in vibrate_singleVibratorPrebakedAndUnsupportedEffect_ignoresVibration()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationRemoteInputManager.java118 private final List<RemoteInputController.Callback> mControllerCallbacks = new ArrayList<>(); field in NotificationRemoteInputManager
332 for (RemoteInputController.Callback cb : mControllerCallbacks) { in setUpWithCallback()
335 mControllerCallbacks.clear(); in setUpWithCallback()
368 mControllerCallbacks.add(callback); in addControllerCallback()
376 mControllerCallbacks.remove(callback); in removeControllerCallback()