Home
last modified time | relevance | path

Searched refs:getMockFragmentController (Results 1 – 25 of 38) sorted by relevance

12

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/
DKeyboardManagementPreferenceControllerTest.java299 verify(mControllerHelper.getMockFragmentController()).showDialog( in performClick_toggleTrue_securityDialogShown()
317 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_positive_noOtherPreferenceAdded()
341 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_positive_preferenceChecked()
364 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_positive_preferenceEnabled()
386 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_positive_inputMethodEnabled()
409 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_negative_noOtherPreferenceAdded()
433 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_negative_preferenceEnabled()
455 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_negative_inputMethodDisabled()
478 verify(mControllerHelper.getMockFragmentController()).showDialog( in performClick_toggleTrue_directBootWarningShown()
486 verify(mControllerHelper.getMockFragmentController()).showDialog( in performClick_toggleTrue_directBootWarningShown()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/sound/
DRingtonePreferenceControllerTest.java103 verify(mPreferenceControllerHelper.getMockFragmentController()).startActivityForResult( in testHandlePreferenceClicked_listenerTriggered()
112 verify(mPreferenceControllerHelper.getMockFragmentController()).startActivityForResult( in testHandlePreferenceClicked_captureIntent_checkDefaultUri()
122 verify(mPreferenceControllerHelper.getMockFragmentController()).startActivityForResult( in testHandlePreferenceClicked_captureIntent_checkDialogTitle()
133 verify(mPreferenceControllerHelper.getMockFragmentController()).startActivityForResult( in testHandlePreferenceClicked_captureIntent_checkRingtoneType()
144 verify(mPreferenceControllerHelper.getMockFragmentController()).startActivityForResult( in testHandlePreferenceClicked_captureIntent_checkShowSilent()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/
DMobileDataTogglePreferenceControllerTest.java161 verify(mControllerHelper.getMockFragmentController()).showDialog( in handlePreferenceChanged_setFalse_isSingleSim_opensDialog()
240 verify(mControllerHelper.getMockFragmentController()).showDialog( in handlePreferenceChanged_setTrue_isMultiSim_otherSimActive_opensDialog()
254 verify(mControllerHelper.getMockFragmentController()).showDialog( in disableSingleSimDialog_onConfirm_disablesData()
275 verify(mControllerHelper.getMockFragmentController()).showDialog( in disableSingleSimDialog_onConfirm_setsUnchecked()
299 verify(mControllerHelper.getMockFragmentController()).showDialog( in enableMutliSimDialog_onConfirm_enablesData()
323 verify(mControllerHelper.getMockFragmentController()).showDialog( in enableMutliSimDialog_onConfirm_setsChecked()
DMobileNetworkEntryPreferenceControllerTest.java227 verify(mControllerHelper.getMockFragmentController(), never()).launchFragment( in performClick_noSim_noFragmentStarted()
244 verify(mControllerHelper.getMockFragmentController()).launchFragment(captor.capture()); in performClick_oneSim_startsMobileNetworkFragment()
262 verify(mControllerHelper.getMockFragmentController()).launchFragment( in performClick_multiSim_startsMobileNetworkListFragment()
DRoamingPreferenceControllerTest.java174 verify(mControllerHelper.getMockFragmentController()).showDialog( in callChangeListener_toggleTrue_needsDialog_showDialog()
191 verify(mControllerHelper.getMockFragmentController()).showDialog( in confirmDialog_turnOnRoaming()
DMobileNetworkListPreferenceControllerTest.java98 verify(mControllerHelper.getMockFragmentController()).launchFragment(captor.capture()); in onPreferenceClicked_launchesFragment()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DChooseNewAdminPreferenceControllerTest.java89 when(mControllerHelper.getMockFragmentController().findDialogByTag( in testOnCreate_hasPreviousDialog_dialogListenerSet()
108 verify(mControllerHelper.getMockFragmentController()).showDialog( in testUserClicked_opensDialog()
134 verify(mControllerHelper.getMockFragmentController(), never()).showDialog( in testAssignNewAdminAndRemoveOldAdmin_success_noErrorDialog()
145 verify(mControllerHelper.getMockFragmentController()).showDialog(any(ErrorDialog.class), in testAssignNewAdminAndRemoveOldAdmin_failure_errorDialog()
DUsersListPreferenceControllerTest.java91 verify(mControllerHelper.getMockFragmentController()).launchFragment( in testPreferencePerformClick_currentAdminUser_openNewFragment()
99 verify(mControllerHelper.getMockFragmentController()).launchFragment( in testPreferencePerformClick_otherNonAdminUser_openNewFragment()
107 verify(mControllerHelper.getMockFragmentController(), never()).launchFragment(any()); in testPreferencePerformClick_guestUser_noAction()
DMakeAdminPreferenceControllerTest.java87 when(mPreferenceControllerHelper.getMockFragmentController().findDialogByTag( in testOnCreate_hasPreviousDialog_dialogListenerSet()
98 verify(mPreferenceControllerHelper.getMockFragmentController()).showDialog( in testOnButtonClick_showsDialog()
116 verify(mPreferenceControllerHelper.getMockFragmentController()).goBack(); in testListener_goBack()
DUsersEntryPreferenceControllerTest.java87 verify(mControllerHelper.getMockFragmentController()).launchFragment( in preferenceClicked_adminUser_launchesUsersListFragment()
109 verify(mControllerHelper.getMockFragmentController()).launchFragment( in preferenceClicked_nonAdminUser_launchesUserDetailsFragment()
DEditUserNameEntryPreferenceControllerTest.java91 verify(mPreferenceControllerHelper.getMockFragmentController()).launchFragment( in testOnButtonClick_isCurrentUser_launchesEditUsernameFragment()
102 verify(mPreferenceControllerHelper.getMockFragmentController(), never()).launchFragment( in testOnButtonClick_isNotCurrentUser_doesNothing()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DNotificationAccessPreferenceControllerTest.java143 verify(mControllerHelper.getMockFragmentController()).showDialog(any( in preferenceClicked_serviceAccessGranted_showsRevokeConfirmDialog()
158 verify(mControllerHelper.getMockFragmentController()).showDialog(any( in preferenceClicked_serviceAccessNotGranted_showsGrantConfirmDialog()
176 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in revokeConfirmed_revokesNotificationAccess()
199 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in revokeConfirmed_notificationPolicyAccessNotGranted_removesAutomaticZenRules()
230 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in grantConfirmed_grantsNotificationAccess()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DNoLockPreferenceControllerTest.java90 verify(mPreferenceControllerHelper.getMockFragmentController()) in testHandlePreferenceClicked_ifNotSelectedAsLock_goesToNextFragment()
100 verify(mPreferenceControllerHelper.getMockFragmentController()).goBack(); in testHandlePreferenceClicked_ifSelectedAsLock_goesBack()
122 verify(mPreferenceControllerHelper.getMockFragmentController()).goBack(); in testConfirmRemoveScreenLockListener_goesBack()
DTrustedDeviceEntryPreferenceControllerTest.java80 verify(mPreferenceControllerHelper.getMockFragmentController()).launchFragment( in testHandlePreferenceClicked_listenerTriggered()
DLockTypeBasePreferenceControllerTest.java116 verify(mPreferenceControllerHelper.getMockFragmentController()).launchFragment( in testHandlePreferenceClicked_goesToNextFragment()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DChooseAccountPreferenceControllerTest.java214 verify(mHelper.getMockFragmentController()).startActivityForResult(captor.capture(), in onPreferenceClick_shouldStartActivity()
232 verify(mHelper.getMockFragmentController()).startActivityForResult(any(Intent.class), in onAccountAdded_shouldGoBack()
239 verify(mHelper.getMockFragmentController()).goBack(); in onAccountAdded_shouldGoBack()
DAccountAutoSyncPreferenceControllerTest.java89 when(mHelper.getMockFragmentController().findDialogByTag( in testOnCreate_hasPreviousDialog_dialogListenerSet()
120 verify(mHelper.getMockFragmentController()).showDialog( in onPreferenceClicked_shouldOpenDialog()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothBondedDevicesPreferenceControllerTest.java168 verify(mControllerHelper.getMockFragmentController()).showDialog( in onDeviceClicked_connected_showsDisconnectConfirmDialog()
183 verify(mControllerHelper.getMockFragmentController()).launchFragment( in devicePreferenceButtonClicked_noUserRestrictions_launchesDetailsFragment()
DBluetoothDevicePickerPreferenceControllerTest.java189 verify(mControllerHelper.getMockFragmentController()).goBack(); in onDeviceClicked_bondedDevice_goesBack()
278 verify(mControllerHelper.getMockFragmentController()).goBack(); in onDeviceBondStateChanged_selectedDeviceBonded_goesBack()
DBluetoothNamePreferenceControllerTest.java153 verify(mControllerHelper.getMockFragmentController()).showDialog( in preferenceClicked_launchesRenameDialog()
DBluetoothDeviceNamePreferenceControllerTest.java155 verify(mControllerHelper.getMockFragmentController()).showDialog( in preferenceClicked_launchesRenameDialog()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DStorageMediaCategoryPreferenceControllerTest.java46 FragmentController mMockFragmentController = helper.getMockFragmentController(); in handlePreferenceClicked_shouldLaunchAccountSyncDetailsFragment()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DCycleResetDayOfMonthPickerPreferenceControllerTest.java79 verify(mControllerHelper.getMockFragmentController()).showDialog( in performClick_startsDialogWithStartingValue()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationsSettingsPreferenceControllerTest.java113 verify(mPreferenceControllerHelper.getMockFragmentController()).launchFragment( in preferenceClick_launchesDetailFragment()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DPreferenceControllerTestHelper.java120 public FragmentController getMockFragmentController() { in getMockFragmentController() method in PreferenceControllerTestHelper

12