Home
last modified time | relevance | path

Searched refs:launchFragment (Results 1 – 25 of 60) sorted by relevance

123

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationDetailsFragmentTest.java142 mActivity.launchFragment(mFragment); in onStart_packageNotExplicitlyStopped_enablesForceStopButton()
152 mActivity.launchFragment(mFragment); in onStart_packageHasActiveAdmins_disablesForceStopButton()
164 mActivity.launchFragment(mFragment); in onStart_appsControlUserRestriction_disablesForceStopButton()
179 mActivity.launchFragment(mFragment); in onStart_packageExplicitlyStopped_queriesPackageRestart()
196 mActivity.launchFragment(mFragment); in onStart_packageExplicitlyStopped_success_enablesForceStopButton()
220 mActivity.launchFragment(mFragment); in onStart_packageExplicitlyStopped_failure_disablesForceStopButton()
245 mActivity.launchFragment(mFragment); in onStart_bundledApp_showsDisableButton()
259 mActivity.launchFragment(mFragment); in onStart_bundledApp_notEnabled_showsEnableButton()
274 mActivity.launchFragment(mFragment); in onStart_bundledApp_enabled_disableUntilUsed_showsEnableButton()
294 mActivity.launchFragment(mFragment); in onStart_bundledApp_homePackage_disablesDisableButton()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DCarSettingActivityTest.java138 mActivity.launchFragment(testFragment); in onResume_newIntent_launchesNewFragment()
154 mActivity.launchFragment(new TestFragment()); // Replace with test fragment. in onResume_savedInstanceState_doesNotLaunchFragmentFromOldIntent()
172 mActivity.launchFragment(testFragment1); in launchFragment_rootFragment_clearsBackStack()
176 mActivity.launchFragment(testFragment2); in launchFragment_rootFragment_clearsBackStack()
181 mActivity.launchFragment(root); in launchFragment_rootFragment_clearsBackStack()
193 mActivity.launchFragment(testFragment1); in launchFragment_validIntent_clearsBackStack()
197 mActivity.launchFragment(testFragment2); in launchFragment_validIntent_clearsBackStack()
201 mActivity.launchFragment(new DatetimeSettingsFragment()); in launchFragment_validIntent_clearsBackStack()
DBaseCarSettingsActivityTest.java91 () -> mActivity.launchFragment(dialogFragment)); in launchFragment_dialogFragment_throwsError()
145 mActivity.launchFragment(fragmentA); in onUxRestrictionsChanged_topFragmentInBackStackHasUpdatedUxRestrictions()
147 mActivity.launchFragment(fragmentB); in onUxRestrictionsChanged_topFragmentInBackStackHasUpdatedUxRestrictions()
171 mActivity.launchFragment(fragmentA); in onBackStackChanged_uxRestrictionsChanged_currentFragmentHasUpdatedUxRestrictions()
173 mActivity.launchFragment(fragmentB); in onBackStackChanged_uxRestrictionsChanged_currentFragmentHasUpdatedUxRestrictions()
DSettingsFragmentTest.java105 mFragment.launchFragment(otherFragment); in launchFragment_otherFragment_opensFragment()
116 () -> mFragment.launchFragment(dialogFragment)); in launchFragment_dialogFragment_throwsError()
232 mFragment.launchFragment(otherFragment); in onActivityCreated_hasAppIconIfRoot()
244 mFragment.launchFragment(otherFragment1); in onActivityCreated_hasBackArrowIconIfNotRoot()
247 mFragment.launchFragment(otherFragment2); in onActivityCreated_hasBackArrowIconIfNotRoot()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/activity/
DAssociationActivity.java171 launchFragment(fragment, TURN_ON_BLUETOOTH_FRAGMENT_TAG); in showTurnOnBluetoothFragment()
176 launchFragment(fragment, ADD_DEVICE_FRAGMENT_TAG); in showAddAssociatedDeviceFragment()
182 launchFragment(fragment, PAIRING_CODE_FRAGMENT_TAG); in showConfirmPairingCodeFragment()
191 launchFragment(fragment, ASSOCIATION_ERROR_FRAGMENT_TAG); in showAssociationErrorFragment()
196 launchFragment(fragment, DEVICE_DETAIL_FRAGMENT_TAG); in showAssociatedDeviceDetailFragment()
248 private void launchFragment(Fragment fragment, String tag) { in launchFragment() method in AssociationActivity
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
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()
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/src/com/android/car/settings/common/
DBaseCarSettingsActivity.java91 public void launchFragment(Fragment fragment) { in launchFragment() method in BaseCarSettingsActivity
180 launchFragment(fragment); in onPreferenceStartFragment()
197 launchFragment(newFragment); in launchIfDifferent()
DCarSettingActivity.java75 public void launchFragment(Fragment fragment) { in launchFragment() method in CarSettingActivity
88 super.launchFragment(fragment); in launchFragment()
DSettingsFragment.java266 public void launchFragment(Fragment fragment) { in launchFragment() method in SettingsFragment
267 ((FragmentController) requireActivity()).launchFragment(fragment); in launchFragment()
DFragmentController.java37 void launchFragment(Fragment fragment); in launchFragment() method
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSubMenuItem.java33 launchFragment(); in onSelected()
36 protected void launchFragment() { in launchFragment() method in SubMenuItem
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUsersListPreferenceController.java37 getFragmentController().launchFragment( in userClicked()
40 getFragmentController().launchFragment(UserDetailsFragment.newInstance(userInfo.id)); in userClicked()
DUsersEntryPreferenceController.java55 getFragmentController().launchFragment(new UsersListFragment()); in handlePreferenceClicked()
59 getFragmentController().launchFragment(UserDetailsFragment.newInstance( in handlePreferenceClicked()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/
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()
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DMobileNetworkEntryPreferenceController.java104 getFragmentController().launchFragment( in handlePreferenceClicked()
107 getFragmentController().launchFragment(new MobileNetworkListFragment()); in handlePreferenceClicked()
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DQuickSettingFragment.java149 getFragmentController().launchFragment(new UserSwitcherFragment())) in onCreate()
158 getFragmentController().launchFragment(new HomepageFragment())) in onCreate()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsagePreferenceController.java52 getFragmentController().launchFragment(appDataUsageFragment); in handlePreferenceClicked()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DStorageMediaCategoryPreferenceControllerTest.java51 verify(mMockFragmentController).launchFragment( in handlePreferenceClicked_shouldLaunchAccountSyncDetailsFragment()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageMediaCategoryPreferenceController.java58 getFragmentController().launchFragment(storageMediaCategoryDetailFragment); in handlePreferenceClicked()
/packages/apps/Car/Settings/src/com/android/car/settings/language/
DLanguagePickerPreferenceController.java56 getFragmentController().launchFragment(fragment); in handleLocaleWithChildren()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DResetNetworkFragment.java72 launchFragment(new ResetNetworkConfirmFragment()); in onActivityResult()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DConfirmLockPinPasswordFragmentTest.java46 mTestActivity.launchFragment(mPinFragment); in initFragment()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothBondedDevicesPreferenceController.java53 pref.setOnButtonClickListener(preference -> getFragmentController().launchFragment( in createDevicePreference()

123