Home
last modified time | relevance | path

Searched refs:savedState (Results 1 – 13 of 13) sorted by relevance

/cts/tests/fragment/src/android/fragment/cts/
DFragmentLifecycleTest.java421 Pair<Parcelable, FragmentManagerNonConfig> savedState = in noPrematureStateChange() local
435 fragmentController.restoreAllState(savedState.first, savedState.second); in noPrematureStateChange()
572 final Parcelable savedState = fc1.saveAllState(); in targetFragmentRestoreLifecycleStateBackStack()
581 fc2.restoreAllState(savedState, nonconf); in targetFragmentRestoreLifecycleStateBackStack()
639 final Parcelable savedState = fc1.saveAllState(); in targetFragmentRestoreLifecycleStateManagerOrder()
648 fc2.restoreAllState(savedState, nonconf); in targetFragmentRestoreLifecycleStateManagerOrder()
705 Pair<Parcelable, FragmentManagerNonConfig> savedState = null; in testLifecycleTransitionFailure() local
707 savedState = FragmentTestUtil.destroy(mActivityRule, fc1); in testLifecycleTransitionFailure()
729 FragmentTestUtil.resume(mActivityRule, fc2, savedState); in testLifecycleTransitionFailure()
794 Pair<Parcelable, FragmentManagerNonConfig> savedState = in restoreNonConfig() local
[all …]
DFragmentTestUtil.java168 Pair<Parcelable, FragmentManagerNonConfig> savedState) { in resume() argument
171 if (savedState != null) { in resume()
172 fragmentController.restoreAllState(savedState.first, savedState.second); in resume()
190 final Parcelable savedState = fragmentController.saveAllState(); in destroy()
196 result[0] = Pair.create(savedState, nonConfig); in destroy()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DBubbleActivity.java14 public void onCreate(Bundle savedState) { in onCreate() argument
15 super.onCreate(savedState); in onCreate()
DInteractiveVerifierActivity.java153 protected void onCreate(Bundle savedState) { in onCreate() argument
154 super.onCreate(savedState); in onCreate()
155 int savedStateIndex = (savedState == null) ? 0 : savedState.getInt(STATE, 0); in onCreate()
156 int savedStatus = (savedState == null) ? SETUP : savedState.getInt(STATUS, SETUP); in onCreate()
DShortcutThrottlingResetActivity.java73 protected void onCreate(Bundle savedState) { in onCreate() argument
74 super.onCreate(savedState); in onCreate()
DBubblesVerifierActivity.java86 protected void onCreate(Bundle savedState) { in onCreate() argument
87 super.onCreate(savedState); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/qstiles/
DInteractiveVerifierActivity.java140 protected void onCreate(Bundle savedState) { in onCreate() argument
141 super.onCreate(savedState); in onCreate()
142 int savedStateIndex = (savedState == null) ? 0 : savedState.getInt(STATE, 0); in onCreate()
143 int savedStatus = (savedState == null) ? SETUP : savedState.getInt(STATUS, SETUP); in onCreate()
/cts/tests/tests/view/src/android/view/cts/
DView_BaseSavedStateTest.java100 BaseSavedState savedState = new BaseSavedState(superState); in testWriteToParcel() local
103 savedState.writeToParcel(dest, flags); in testWriteToParcel()
DAbsSavedStateTest.java122 AbsSavedState savedState = new AbsSavedStateImpl(superState); in testWriteToParcel() local
125 savedState.writeToParcel(dest, flags); in testWriteToParcel()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/
DVrListenerVerifierActivity.java70 protected void onCreate(Bundle savedState) { in onCreate() argument
71 super.onCreate(savedState); in onCreate()
72 mCurrentIdx = (savedState == null) ? 0 : savedState.getInt(STATE, 0); in onCreate()
95 test.setStatus((savedState == null) ? Status.SETUP : in onCreate()
96 Status.values()[savedState.getInt(test.getClass().getSimpleName(), 0)]); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java432 protected void onSaveInstanceState(final Bundle savedState) { in onSaveInstanceState() argument
433 super.onSaveInstanceState(savedState); in onSaveInstanceState()
435 savedState.putBundle(ORIGINAL_RESTRICTIONS_NAME, mOriginalRestrictions); in onSaveInstanceState()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DRingerModeActivity.java90 protected void onCreate(Bundle savedState) { in onCreate() argument
91 super.onCreate(savedState); in onCreate()
/cts/tests/tests/widget/src/android/widget/cts/
DListViewTest.java495 Parcelable savedState = mListView.onSaveInstanceState(); in testSaveAndRestoreInstanceState_positionIsRestored() local
500 mListView.onRestoreInstanceState(savedState); in testSaveAndRestoreInstanceState_positionIsRestored()