Home
last modified time | relevance | path

Searched defs:mockListener (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DRebootEscrowManagerTests.java357 RebootEscrowListener mockListener = mock(RebootEscrowListener.class); in prepareRebootEscrow_Success() local
370 RebootEscrowListener mockListener = mock(RebootEscrowListener.class); in prepareRebootEscrowServerBased_Success() local
381 RebootEscrowListener mockListener = mock(RebootEscrowListener.class); in prepareRebootEscrow_ClearCredentials_Success() local
403 RebootEscrowListener mockListener = mock(RebootEscrowListener.class); in armService_Success() local
427 RebootEscrowListener mockListener = mock(RebootEscrowListener.class); in armServiceServerBased_Success() local
448 RebootEscrowListener mockListener = mock(RebootEscrowListener.class); in armService_HalFailure_NonFatal() local
466 RebootEscrowListener mockListener = mock(RebootEscrowListener.class); in armService_MultipleUsers_Success() local
500 RebootEscrowListener mockListener = mock(RebootEscrowListener.class); in armService_RebootEscrowServiceException_Failure() local
523 RebootEscrowListener mockListener = mock(RebootEscrowListener.class); in loadRebootEscrowDataIfAvailable_Success() local
566 RebootEscrowListener mockListener = mock(RebootEscrowListener.class); in loadRebootEscrowDataIfAvailable_ServerBased_Success() local
[all …]
DWeakEscrowTokenTests.java63 IWeakEscrowTokenActivatedListener mockListener = in testWeakTokenActivatedImmediatelyIfNoUserPassword() local
76 IWeakEscrowTokenActivatedListener mockListener = in testWeakTokenActivatedLaterWithUserPassword() local
185 IWeakEscrowTokenRemovedListener mockListener = in mockAliveRemoveListener() local
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
DTimeZoneDetectorServiceTest.java158 ITimeZoneDetectorListener mockListener = mock(ITimeZoneDetectorListener.class); in testAddListener_withoutPermission() local
170 ITimeZoneDetectorListener mockListener = mock(ITimeZoneDetectorListener.class); in testRemoveListener_withoutPermission() local
186 ITimeZoneDetectorListener mockListener = mock(ITimeZoneDetectorListener.class); in testListenerRegistrationAndCallbacks() local
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsControllerTest.java212 WindowInsetsAnimationControlListener mockListener = in testControlsRevoked_duringAnim() local
215 new LinearInterpolator(), new CancellationSignal(), mockListener); in testControlsRevoked_duringAnim() local
507 WindowInsetsAnimationControlListener mockListener = in testAnimationEndState_controller() local
510 new LinearInterpolator(), new CancellationSignal(), mockListener); in testAnimationEndState_controller() local
533 WindowInsetsAnimationControlListener mockListener = in testCancellation_afterGainingControl() local
538 new LinearInterpolator(), cancellationSignal, mockListener); in testCancellation_afterGainingControl() local
/frameworks/base/core/tests/coretests/src/android/os/
DVibratorTest.java449 Vibrator.OnVibratorStateChangedListener mockListener = in onVibratorStateChanged_noVibrator_registersNoListenerToVibratorManager() local
468 Vibrator.OnVibratorStateChangedListener mockListener = in onVibratorStateChanged_singleVibrator_forwardsAllCallbacks() local
496 Vibrator.OnVibratorStateChangedListener mockListener = in onVibratorStateChanged_multipleVibrators_triggersOnlyWhenAllVibratorsInitialized() local
521 Vibrator.OnVibratorStateChangedListener mockListener = in onVibratorStateChanged_multipleVibrators_stateChangeIsDeduped() local
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
DTimeDetectorServiceTest.java153 ITimeDetectorListener mockListener = mock(ITimeDetectorListener.class); in testAddListener_withoutPermission() local
164 ITimeDetectorListener mockListener = mock(ITimeDetectorListener.class); in testRemoveListener_withoutPermission() local
178 ITimeDetectorListener mockListener = mock(ITimeDetectorListener.class); in testListenerRegistrationAndCallbacks() local
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DAppRestrictionsHelperTest.java145 AppRestrictionsHelper.OnDisableUiForPackageListener mockListener = in testApplyUserAppsStates() local
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameManagerServiceTests.java1590 IGameStateListener mockListener = Mockito.mock(IGameStateListener.class); in testAddGameStateListener() local
1633 IGameStateListener mockListener = Mockito.mock(IGameStateListener.class); in testRemoveGameStateListener() local
2110 IGameModeListener mockListener = Mockito.mock(IGameModeListener.class); in testAddGameModeListener() local
2139 IGameModeListener mockListener = Mockito.mock(IGameModeListener.class); in testRemoveGameModeListener() local