Home
last modified time | relevance | path

Searched refs:popBackStackImmediate (Results 1 – 11 of 11) sorted by relevance

/cts/tests/fragment/src/android/fragment/cts/
DFragmentTestUtil.java84 public static boolean popBackStackImmediate(final ActivityTestRule<? extends Activity> rule) { in popBackStackImmediate() method in FragmentTestUtil
85 return popBackStackImmediate(rule, rule.getActivity().getFragmentManager()); in popBackStackImmediate()
88 public static boolean popBackStackImmediate(final ActivityTestRule<? extends Activity> rule, in popBackStackImmediate() method in FragmentTestUtil
94 ret[0] = fm.popBackStackImmediate(); in popBackStackImmediate()
100 public static boolean popBackStackImmediate(final ActivityTestRule<FragmentTestActivity> rule, in popBackStackImmediate() method in FragmentTestUtil
102 return popBackStackImmediate(rule, rule.getActivity().getFragmentManager(), id, flags); in popBackStackImmediate()
105 public static boolean popBackStackImmediate(final ActivityTestRule<FragmentTestActivity> rule, in popBackStackImmediate() method in FragmentTestUtil
111 ret[0] = fm.popBackStackImmediate(id, flags); in popBackStackImmediate()
117 public static boolean popBackStackImmediate(final ActivityTestRule<FragmentTestActivity> rule, in popBackStackImmediate() method in FragmentTestUtil
119 return popBackStackImmediate(rule, rule.getActivity().getFragmentManager(), name, flags); in popBackStackImmediate()
[all …]
DFragmentExecuteTests.java73 assertTrue(FragmentTestUtil.popBackStackImmediate(mActivityRule)); in executeAndPopNormal()
90 assertFalse(FragmentTestUtil.popBackStackImmediate(mActivityRule)); in executeAndPopNothing()
108 assertTrue(FragmentTestUtil.popBackStackImmediate(mActivityRule)); in popBackStackImmediateSomething()
130 assertFalse(FragmentTestUtil.popBackStackImmediate(mActivityRule)); in popBackStackImmediateNothing()
163 assertTrue(FragmentTestUtil.popBackStackImmediate(mActivityRule, commit1, 0)); in popBackStackImmediateInt()
169 assertFalse(FragmentTestUtil.popBackStackImmediate(mActivityRule, commit1, 0)); in popBackStackImmediateInt()
188 assertTrue(FragmentTestUtil.popBackStackImmediate(mActivityRule, commit4, in popBackStackImmediateInt()
195 assertFalse(FragmentTestUtil.popBackStackImmediate(mActivityRule, commit4, in popBackStackImmediateInt()
229 assertTrue(FragmentTestUtil.popBackStackImmediate(mActivityRule, "1", 0)); in popBackStackImmediateString()
235 assertFalse(FragmentTestUtil.popBackStackImmediate(mActivityRule, "1", 0)); in popBackStackImmediateString()
[all …]
DPrimaryNavFragmentTest.java21 import static android.fragment.cts.FragmentTestUtil.popBackStackImmediate;
63 popBackStackImmediate(mActivityRule, fm)); in delegateBackToPrimaryNav()
87 popBackStackImmediate(mActivityRule, fm); in popPrimaryNav()
100 popBackStackImmediate(mActivityRule, fm); in popPrimaryNav()
111 popBackStackImmediate(mActivityRule, fm); in popPrimaryNav()
138 popBackStackImmediate(mActivityRule, fm); in replacePrimaryNav()
156 popBackStackImmediate(mActivityRule, fm); in replacePrimaryNav()
DPostponedTransitionTest.java94 FragmentTestUtil.popBackStackImmediate(mActivityRule); in replaceTransition()
123 FragmentTestUtil.popBackStackImmediate(mActivityRule); in backStackNestingLevel()
147 FragmentTestUtil.popBackStackImmediate(mActivityRule); in backStackNestingLevel()
202 FragmentTestUtil.popBackStackImmediate(mActivityRule, commit[0], in forcedTransition1()
256 FragmentTestUtil.popBackStackImmediate(mActivityRule); in forcedTransition2()
263 FragmentTestUtil.popBackStackImmediate(mActivityRule); in forcedTransition2()
304 FragmentTestUtil.popBackStackImmediate(mActivityRule); in crazyTransition()
380 FragmentTestUtil.popBackStackImmediate(mActivityRule); in differentContainers()
385 FragmentTestUtil.popBackStackImmediate(mActivityRule); in differentContainers()
472 FragmentTestUtil.popBackStackImmediate(mActivityRule); in outOfOrderContainers()
[all …]
DFragmentReorderingTest.java108 FragmentTestUtil.popBackStackImmediate(mActivityRule); in startWithPop()
137 FragmentTestUtil.popBackStackImmediate(mActivityRule); in middlePop()
167 FragmentTestUtil.popBackStackImmediate(mActivityRule, id[0], in removeRedundantRemove()
348 FragmentTestUtil.popBackStackImmediate(mActivityRule, id, 0); in removeRedundantHide()
369 FragmentTestUtil.popBackStackImmediate(mActivityRule, id, 0); in removeRedundantHide()
390 FragmentTestUtil.popBackStackImmediate(mActivityRule, id, 0); in removeRedundantHide()
426 FragmentTestUtil.popBackStackImmediate(mActivityRule, id, in removeRedundantShow()
464 FragmentTestUtil.popBackStackImmediate(mActivityRule, id, 0); in viewOrder()
DFragmentTransactionTest.java276 FragmentTestUtil.popBackStackImmediate(mActivityRule); in getFragmentsOffThread()
287 FragmentTestUtil.popBackStackImmediate(mActivityRule); in getFragmentsOffThread()
300 FragmentTestUtil.popBackStackImmediate(mActivityRule); in getFragmentsOffThread()
307 FragmentTestUtil.popBackStackImmediate(mActivityRule); in getFragmentsOffThread()
427 mActivity.getFragmentManager().popBackStackImmediate(); in testGetLayoutInflater()
434 mActivity.getFragmentManager().popBackStackImmediate(); in testGetLayoutInflater()
DFragmentTransitionTest.java122 FragmentTestUtil.popBackStackImmediate(mActivityRule); in enterExitTransitions()
131 FragmentTestUtil.popBackStackImmediate(mActivityRule); in enterExitTransitions()
214 FragmentTestUtil.popBackStackImmediate(mActivityRule); in removeAdded()
383 FragmentTestUtil.popBackStackImmediate(mActivityRule); in onMapSharedElementOut()
449 FragmentTestUtil.popBackStackImmediate(mActivityRule); in onMapSharedElementIn()
494 FragmentTestUtil.popBackStackImmediate(mActivityRule); in complexSharedElementTransition()
572 FragmentTestUtil.popBackStackImmediate(mActivityRule); in showHideTransition()
617 FragmentTestUtil.popBackStackImmediate(mActivityRule); in attachDetachTransition()
724 FragmentTestUtil.popBackStackImmediate(mActivityRule); in invisibleNoTransitions()
729 FragmentTestUtil.popBackStackImmediate(mActivityRule); in invisibleNoTransitions()
DFragmentAnimatorTest.java375 FragmentTestUtil.popBackStackImmediate(mActivityRule); in popPostponed()
464 FragmentTestUtil.popBackStackImmediate(mActivityRule); in clearAnimations()
499 FragmentTestUtil.popBackStackImmediate(mActivityRule); in animationOnNullContainer()
530 FragmentTestUtil.popBackStackImmediate(mActivityRule); in assertExitPostponedPopEnter()
DNestedInflatedFragmentTest.java61 fm.popBackStackImmediate(); in inflatedChildFragment()
DFragmentLifecycleTest.java853 fm.popBackStackImmediate(); in retainedFragmentInBackstack()
892 fm.popBackStackImmediate(); in saveRemovedFragment()
1022 fm.popBackStackImmediate(); in retainInstanceWithOnCreate()
1025 fm.popBackStackImmediate(); in retainInstanceWithOnCreate()
1062 fm.popBackStackImmediate(); in retainInstanceOneOnCreate()
DFragmentViewTests.java988 FragmentTestUtil.popBackStackImmediate(mActivityRule, "two", in popToNonBackStackFragment()