Home
last modified time | relevance | path

Searched refs:mFragmentController (Results 1 – 25 of 187) sorted by relevance

12345678

/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DAddProfileHandler.java63 private final FragmentController mFragmentController; field in AddProfileHandler
83 mFragmentController = fragmentController; in AddProfileHandler()
104 (ConfirmationDialogFragment) mFragmentController.findDialogByTag( in onCreateInternal()
115 mFragmentController.showProgressBar(false); in onStopInternal()
135 mFragmentController.showProgressBar(mIsBusy); in updateState()
149 mFragmentController.showDialog( in onProfileAddedFailure()
188 mFragmentController.showDialog(dialogFragment, CONFIRM_CREATE_NEW_PROFILE_DIALOG_TAG); in showAddProfileDialog()
205 mFragmentController.showDialog(dialogFragment, MAX_PROFILES_LIMIT_REACHED_DIALOG_TAG); in runClickableWhileDisabled()
213 mFragmentController.showDialog( in showActionDisabledByAdminDialog()
DRemoveProfileHandler.java54 private final FragmentController mFragmentController; field in RemoveProfileHandler
66 mFragmentController = fragmentController; in RemoveProfileHandler()
79 mFragmentController.launchFragment( in setUserInfo()
84 mFragmentController.goBack(); in setUserInfo()
87 mFragmentController.showDialog( in setUserInfo()
100 (ConfirmationDialogFragment) mFragmentController.findDialogByTag( in resetListeners()
176 mFragmentController.showDialog(dialogFragment, REMOVE_PROFILE_DIALOG_TAG); in showConfirmRemoveProfileDialog()
206 mFragmentController.showDialog( in showActionDisabledByAdminDialog()
DDemoProfileDialogHandler.java39 private final FragmentController mFragmentController; field in DemoProfileDialogHandler
49 mFragmentController = fragmentController; in DemoProfileDialogHandler()
69 (ConfirmationDialogFragment) mFragmentController.findDialogByTag( in onCreateInternal()
84 mFragmentController.showDialog(dialogFragment, CONFIRM_EXIT_RETAIL_MODE_DIALOG_TAG); in showExitRetailDialog()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DRestartSystemPreferenceControllerTest.java67 private FragmentController mFragmentController; field in RestartSystemPreferenceControllerTest
98 "key", mFragmentController, mCarUxRestrictions); in handlePreferenceClicked_showsDialog()
107 verify(mFragmentController).showDialog(any(ConfirmationDialogFragment.class), in handlePreferenceClicked_showsDialog()
114 "key", mFragmentController, mCarUxRestrictions); in restartSystemConfirmationListener_continueToReboot()
126 "key", mFragmentController, mCarUxRestrictions, in getAvailabilityStatus_noAccessPrivilege_unsupportedOnDevice()
138 "key", mFragmentController, mCarUxRestrictions, in getAvailabilityStatus_noAccessPrivilege_unsupportedOnDevice_zoneWrite()
152 "key", mFragmentController, mCarUxRestrictions, in getAvailabilityStatus_noAccessPrivilege_unsupportedOnDevice_zoneRead()
166 "key", mFragmentController, mCarUxRestrictions, in getAvailabilityStatus_noAccessPrivilege_unsupportedOnDevice_zoneHidden()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/
DChooseNewAdminPreferenceControllerTest.java72 private FragmentController mFragmentController; field in ChooseNewAdminPreferenceControllerTest
97 /* preferenceKey= */ "key", mFragmentController, mCarUxRestrictions); in setUp()
112 when(mFragmentController.findDialogByTag( in testOnCreate_hasPreviousDialog_dialogListenerSet()
122 mContext, /* preferenceKey= */ "key", mFragmentController, mCarUxRestrictions); in testCheckInitialized_noAdminInfoSet_throwsError()
131 verify(mFragmentController).showDialog(any(), eq(ConfirmationDialogFragment.TAG)); in testUserClicked_opensDialog()
156 verify(mFragmentController, never()).showDialog(any(), any()); in testAssignNewAdminAndRemoveOldAdmin_success_noErrorDialog()
166 verify(mFragmentController).showDialog(any(), any()); in testAssignNewAdminAndRemoveOldAdmin_failure_errorDialog()
DProfilesListPreferenceControllerTest.java70 private FragmentController mFragmentController; field in ProfilesListPreferenceControllerTest
88 /* preferenceKey= */ "key", mFragmentController, mCarUxRestrictions); in setUp()
120 verify(mFragmentController).launchFragment(any(ProfileDetailsFragment.class)); in testPreferencePerformClick_currentAdminUser_openNewFragment()
128 verify(mFragmentController).launchFragment(any(ProfileDetailsPermissionsFragment.class)); in testPreferencePerformClick_otherNonAdminUser_openNewFragment()
136 verify(mFragmentController, never()).launchFragment(any()); in testPreferencePerformClick_guestUser_noAction()
DProfilesEntryPreferenceControllerTest.java55 private FragmentController mFragmentController; field in ProfilesEntryPreferenceControllerTest
65 PREFERENCE_KEY, mFragmentController, mCarUxRestrictions); in setUp()
79 verify(mFragmentController).launchFragment(any(ProfileDetailsFragment.class)); in handlePreferenceClicked_launchesProfileDetailsFragment()
87 verify(mFragmentController).launchFragment(fragmentArgumentCaptor.capture()); in handlePreferenceClicked_fragmentHasKeyArgument()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DEnterprisePrivacySettingsPreferenceControllerTest.java43 mPreferenceKey, mFragmentController, mUxRestrictions); in setController()
53 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noFeature()
66 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noFeature_zoneWrite()
80 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noFeature_zoneRead()
94 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noFeature_zoneHidden()
DDeviceAdminAddSupportPreferenceControllerTest.java38 mPreferenceKey, mFragmentController, mUxRestrictions); in setController()
46 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin()
56 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin_zoneWrite()
67 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin_zoneRead()
78 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin_zoneHidden()
DDeviceAdminAddPoliciesPreferenceControllerTest.java54 mPreferenceKey, mFragmentController, mUxRestrictions); in setController()
68 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin()
78 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin_zoneWrite()
89 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin_zoneRead()
100 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin_zoneHidden()
DDeviceAdminAddHeaderPreferenceControllerTest.java48 mPreferenceKey, mFragmentController, mUxRestrictions); in setController()
83 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin()
93 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin_zoneWrite()
104 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin_zoneRead()
115 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin_zoneHidden()
DDeviceAdminAddExplanationPreferenceControllerTest.java38 mPreferenceKey, mFragmentController, mUxRestrictions); in setController()
46 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin()
57 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin_zoneWrite()
69 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin_zoneRead()
81 mFragmentController, mUxRestrictions); in testGetAvailabilityStatus_noAdmin_zoneHidden()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/security/
DChooseLockTypePreferenceControllerTest.java81 private FragmentController mFragmentController; field in ChooseLockTypePreferenceControllerTest
97 "key", mFragmentController, mCarUxRestrictions, mUserManager, in setUp()
111 verify(mFragmentController).startActivityForResult(intentArgumentCaptor.capture(), in preferenceClicked_screenLockActivityLaunched()
125 verify(mFragmentController, never()).launchFragment(any()); in activityResult_resultNotOk_fragmentNotLaunched()
135 verify(mFragmentController).launchFragment(any(ChooseLockTypeFragment.class)); in activityResult_resultOk_fragmentLaunched()
146 verify(mFragmentController).launchFragment(fragmentArgumentCaptor.capture()); in activityResult_resultOk_currentScreenLockSet()
161 verify(mFragmentController).launchFragment(fragmentArgumentCaptor.capture()); in activityResult_resultOk_passwordQualitySet()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
DApplicationActionButtonsPreferenceControllerTest.java104 private FragmentController mFragmentController; field in ApplicationActionButtonsPreferenceControllerTest
129 /* preferenceKey= */ "key", mFragmentController, mCarUxRestrictions); in setUp()
550 verify(mFragmentController).showDialog(any(ConfirmationDialogFragment.class), in forceStopClicked_showsDialog()
565 verify(mFragmentController).showDialog(any(ActionDisabledByAdminDialogFragment.class), in forceStopClicked_showsDisabledByDeviceAdminDialog()
580 verify(mFragmentController).showDialog(any(ConfirmationDialogFragment.class), in forceStopClicked_notDisabledByDeviceAdminDialog_forDifferentUserRestrictionType()
607 verify(mFragmentController).showDialog(any(ConfirmationDialogFragment.class), in disableClicked_showsDialog()
636 verify(mFragmentController).showDialog(any(ActionDisabledByAdminDialogFragment.class), in disableClicked_showsDisabledByDeviceAdminDialog()
666 verify(mFragmentController).showDialog(any(ActionDisabledByAdminDialogFragment.class), in enableClicked_showsDisabledByDeviceAdminDialog()
685 verify(mFragmentController).startActivityForResult(intentArgumentCaptor.capture(), in uninstallClicked_packageHasActiveAdmins_startsDeviceAdminAddActivity()
708 verify(mFragmentController).startActivityForResult(intentArgumentCaptor.capture(), in uninstallClicked_startsUninstallActivity()
[all …]
DApplicationsSettingsPreferenceControllerTest.java66 private FragmentController mFragmentController; field in ApplicationsSettingsPreferenceControllerTest
82 "key", mFragmentController, mCarUxRestrictions); in setUp()
133 verify(mFragmentController).launchFragment(any(ApplicationDetailsFragment.class)); in preferenceClick_launchesDetailFragment()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DAddAccountPreferenceControllerTest.java79 private FragmentController mFragmentController; field in AddAccountPreferenceControllerTest
100 /* preferenceKey= */ "key", mFragmentController, mCarUxRestrictions); in setUp()
385 verify(mFragmentController).launchFragment(any(ChooseAccountFragment.class)); in clickAddAccountButton_shouldOpenChooseAccountFragment()
420 verify(mFragmentController).launchFragment(any(ChooseAccountFragment.class)); in clickAddAccountButton_shouldOpenChooseAccountFragmentWhenOneTypeAndManaged()
435 verify(mFragmentController).launchFragment(any(ChooseAccountFragment.class)); in clickAddAccountButton_shouldOpenChooseAccountFragmentWhenTwoTypes()
474 verify(mFragmentController).launchFragment(any(ChooseAccountFragment.class)); in processActivityResult_newUserDisclaimer_resultOk_chooseAccountActivity()
478 verify(mFragmentController).showDialog(any(ActionDisabledByAdminDialogFragment.class), in assertShowingDisabledByAdminDialog()
483 verify(mFragmentController).startActivityForResult(any(Intent.class), in assertShowingNewUserDisclaimerActivity()
DAccountDetailsPreferenceControllerTest.java71 private FragmentController mFragmentController; field in AccountDetailsPreferenceControllerTest
87 /* preferenceKey= */ "key", mFragmentController, mCarUxRestrictions); in setUp()
155 verify(mFragmentController).showDialog(any(ConfirmationDialogFragment.class), in onRemoveAccountButtonClicked_canModifyUsers_shouldShowConfirmRemoveAccountDialog()
173 verify(mFragmentController).showDialog(any(ActionDisabledByAdminDialogFragment.class), in assertShowingDisabledByAdminDialog()
DChooseAccountPreferenceControllerTest.java83 private FragmentController mFragmentController; field in ChooseAccountPreferenceControllerTest
106 /* preferenceKey= */ "key", mFragmentController, mCarUxRestrictions); in setUp()
169 verify(mFragmentController).startActivityForResult(captor.capture(), in onPreferenceClick_shouldStartActivity()
187 verify(mFragmentController).goBack(); in onAccountAdded_shouldGoBack()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/language/
DLanguageBasePreferenceControllerTest.java73 private FragmentController mFragmentController; field in LanguageBasePreferenceControllerTest
96 /* preferenceKey= */ "key", mFragmentController, carUxRestrictions) { in setUp()
168 verify(mFragmentController, never()).goBack(); in testOnPreferenceClick_hasMultipleChildLocales_neverCallsGoBack()
205 verify(mFragmentController).goBack(); in testOnPreferenceClick_hasSingleChildLocale_callsGoBack()
228 verify(mFragmentController, never()).goBack(); in testOnPreferenceClick_noChildLocale_neverCallsGoBack()
254 verify(mFragmentController).goBack(); in testOnPreferenceClick_hasParentLocale_callsGoBack()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/location/
DAdasLocationSwitchPreferenceControllerTest.java87 private FragmentController mFragmentController; field in AdasLocationSwitchPreferenceControllerTest
164 verify(mFragmentController) in unclickable_onPreferenceClicked_noChange_showToggleDisabledDialog()
180 verify(mFragmentController) in unclickable_powerPolicyOff_onPreferenceClicked_showToggleDisabledDialog()
334 verify(mFragmentController, never()) in onPreferenceClicked_adasDisabled_shouldEnable_notShowDialog()
362 verify(mFragmentController) in onPreferenceClicked_adasEnabled_shouldStayEnable_showDialog()
391 verify(mFragmentController).showDialog(dialogCaptor.capture(), in confirmDialog_turnOffDriverAssistance()
481 verify(mFragmentController).showDialog(dialogCaptor.capture(), in cancelDialog_DriverAssistanceStaysOn()
503 /* preferenceKey= */ "key", mFragmentController, mCarUxRestrictions); in initializePreference()
DLocationStateListenerBasePreferenceControllerTest.java64 private FragmentController mFragmentController; field in LocationStateListenerBasePreferenceControllerTest
85 /* preferenceKey= */ "key", mFragmentController, mCarUxRestrictions) { in onAdasIntentReceived_refreshUi()
129 /* preferenceKey= */ "key", mFragmentController, mCarUxRestrictions) { in onLocationIntentReceived_refreshUi()
172 /* preferenceKey= */ "key", mFragmentController, mCarUxRestrictions) { in onPowerPolicyChange_refreshUi()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/network/
DMobileNetworkListPreferenceControllerTest.java66 private FragmentController mFragmentController; field in MobileNetworkListPreferenceControllerTest
86 "key", mFragmentController, mCarUxRestrictions); in setUp()
116 verify(mFragmentController).launchFragment(captor.capture()); in onPreferenceClicked_launchesFragment()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/details/
DWifiDetailsActionButtonsPreferenceControllerTest.java58 private FragmentController mFragmentController; field in WifiDetailsActionButtonsPreferenceControllerTest
81 when(mFragmentController.getSettingsLifecycle()).thenReturn(mMockLifecycle); in setUp()
83 /* preferenceKey= */ "key", mFragmentController, mCarUxRestrictions); in setUp()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiEntryListPreferenceControllerTest.java82 private FragmentController mFragmentController; field in WifiEntryListPreferenceControllerTest
109 when(mFragmentController.getSettingsLifecycle()).thenReturn(mMockLifecycle); in setUp()
111 /* preferenceKey= */ "key", mFragmentController, mCarUxRestrictions); in setUp()
199 verify(mFragmentController).showDialog(any(WifiPasswordDialog.class), any()); in performClick_shouldEditBeforeConnect_launchDialog()
213 verify(mFragmentController).launchFragment(any(WifiDetailsFragment.class)); in performClick_activeWifiEntry_showDetailsFragment()
227 verify(mFragmentController, times(0)).launchFragment(any(WifiDetailsFragment.class)); in performClick_secondaryActiveWifiEntry_doesNotShowDetailsFragment()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/preferences/
DWifiWakeupTogglePreferenceControllerTest.java70 private FragmentController mFragmentController; field in WifiWakeupTogglePreferenceControllerTest
90 /* preferenceKey= */ "key", mFragmentController, mCarUxRestrictions); in setUp()
113 verify(mFragmentController).launchFragment(any(LocationSettingsFragment.class)); in handlePreferenceClicked_locationDisabled_launchFragment()
140 verify(mFragmentController).showDialog(any(ConfirmationDialogFragment.class), in handlePreferenceClicked_wifiScanningDisabled_showsDialog()

12345678