/packages/apps/Launcher3/tests/src/com/android/launcher3/touch/ |
D | SingleAxisSwipeDetectorTest.java | 65 private SingleAxisSwipeDetector.Listener mMockListener; field in SingleAxisSwipeDetectorTest 80 mMockConfig, mMockListener, VERTICAL, false); in setup() 91 mMockConfig, mMockListener, VERTICAL, false); in testDragStart_verticalPositive() 96 verify(mMockListener).onDragStart(anyBoolean(), anyFloat()); in testDragStart_verticalPositive() 102 mMockConfig, mMockListener, VERTICAL, false); in testDragStart_verticalNegative() 107 verify(mMockListener).onDragStart(anyBoolean(), anyFloat()); in testDragStart_verticalNegative() 115 verify(mMockListener, never()).onDragStart(anyBoolean(), anyFloat()); in testDragStart_failed() 121 mMockConfig, mMockListener, HORIZONTAL, false); in testDragStart_horizontalPositive() 127 verify(mMockListener).onDragStart(anyBoolean(), anyFloat()); in testDragStart_horizontalPositive() 133 mMockConfig, mMockListener, HORIZONTAL, false); in testDragStart_horizontalNegative() [all …]
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/element/ |
D | CarSystemBarElementStatusBarDisableControllerTest.java | 57 private CarSystemBarElementStatusBarDisableController.Listener mMockListener; field in CarSystemBarElementStatusBarDisableControllerTest 75 mController.addListener(mMockListener, Display.DEFAULT_DISPLAY, in onListenerAdded_firstListener_registersCommandQueueCallback() 83 mController.addListener(mMockListener, Display.DEFAULT_DISPLAY, in onListenerAdded_secondListener_doesNotRegisterCommandQueueCallback() 93 mController.addListener(mMockListener, Display.DEFAULT_DISPLAY, in onListenerRemoved_notLastListener_doesNotUnregisterCommandQueueCallback() 98 mController.removeListener(mMockListener); in onListenerRemoved_notLastListener_doesNotUnregisterCommandQueueCallback() 105 mController.addListener(mMockListener, Display.DEFAULT_DISPLAY, in onListenerRemoved_lastListener_unregistersCommandQueueCallback() 110 mController.removeListener(mMockListener); in onListenerRemoved_lastListener_unregistersCommandQueueCallback() 118 mController.addListener(mMockListener, Display.DEFAULT_DISPLAY, in onStatusBarDisableChanged_doesNotAffectListener_listenerNotNotified() 127 verify(mMockListener, never()).onStatusBarDisabledStateChanged(anyBoolean()); in onStatusBarDisableChanged_doesNotAffectListener_listenerNotNotified() 132 mController.addListener(mMockListener, Display.DEFAULT_DISPLAY, in onStatusBarDisableChanged_disablesListener_listenerNotified() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/details/ |
D | WifiInfoProviderTest.java | 92 private WifiInfoProvider.Listener mMockListener; field in WifiInfoProviderTest 124 mWifiInfoProvider.addListener(mMockListener); in setUp() 142 verify(mMockListener).onWifiEntryUpdated(); in onStart_listenerCallback() 171 Mockito.reset(mMockListener); in onWifiEntryUpdated_listenerCallback() 174 verify(mMockListener).onWifiEntryUpdated(); in onWifiEntryUpdated_listenerCallback() 183 verify(mMockListener).onLost(any(Network.class)); in onLost_listenerCallback() 193 verify(mMockListener).onLinkPropertiesChanged( in onLinkPropertiesChanged_listenerCallback() 204 verify(mMockListener).onCapabilitiesChanged( in onCapabilitiesChanged_listenerCallback()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | TelephonyConferenceControllerTest.java | 56 private TelephonyConferenceBase.TelephonyConferenceListener mMockListener; field in TelephonyConferenceControllerTest 206 argumentCaptor.getValue().addTelephonyConferenceListener(mMockListener); in testMergeMultiPartyCalls() 208 verify(mMockListener, never()).onDestroyed(any(Conference.class)); in testMergeMultiPartyCalls() 216 verify(mMockListener).onDestroyed(any(Conference.class)); in testMergeMultiPartyCalls()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/ |
D | WifiPasswordDialogTest.java | 61 private WifiPasswordDialog.WifiDialogListener mMockListener; field in WifiPasswordDialogTest 111 verify(mMockListener).onSubmit(any()); in onConfirm_listenerTriggered() 116 () -> new WifiPasswordDialog(mMockWifiEntry, mMockListener).show(mFragmentManager, in setUpDialog()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/ |
D | DataUsageCycleBasePreferenceControllerTest.java | 69 private DataUsageCycleBasePreferenceController.DataCyclePickedListener mMockListener; field in DataUsageCycleBasePreferenceControllerTest 131 verify(mMockListener).onDataCyclePicked(any(), any()); in onLoaded_testDataCyclePickedListener() 135 mPreferenceController.setDataCyclePickedListener(mMockListener); in finishSetUp()
|
D | DataUsageCyclePreferenceControllerTest.java | 61 private DataUsageCycleBasePreferenceController.DataCyclePickedListener mMockListener; field in DataUsageCyclePreferenceControllerTest 74 mPreferenceController.setDataCyclePickedListener(mMockListener); in setUp()
|
D | AppSpecificDataUsageCyclePreferenceControllerTest.java | 65 private DataUsageCycleBasePreferenceController.DataCyclePickedListener mMockListener; field in AppSpecificDataUsageCyclePreferenceControllerTest 78 mPreferenceController.setDataCyclePickedListener(mMockListener); in setUp()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/ |
D | MigrationStateManagerTest.java | 118 @Mock private MockListener mMockListener; field in MigrationStateManagerTest 152 mMigrationStateManager.addStateChangedListener(mMockListener::onMigrationStateChanged); in setUp() 991 verify(mMockListener).onMigrationStateChanged(state); in verifyStateChange()
|