Home
last modified time | relevance | path

Searched refs:outState (Results 1 – 25 of 26) sorted by relevance

12

/cts/tests/fragment/src/android/fragment/cts/
DReentrantFragment.java54 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
55 super.onSaveInstanceState(outState); in onSaveInstanceState()
56 outState.putInt(FROM_STATE, mFromState); in onSaveInstanceState()
57 outState.putInt(TO_STATE, mToState); in onSaveInstanceState()
DStrictFragment.java145 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
146 super.onSaveInstanceState(outState); in onSaveInstanceState()
DFragmentLifecycleTest.java1249 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
1250 super.onSaveInstanceState(outState); in onSaveInstanceState()
1251 outState.putInt(VALUE_KEY, mValue); in onSaveInstanceState()
/cts/tests/tests/gameservice/CtsGameServiceRestartGameVerifier/src/android/service/games/cts/restartgameverifier/
DMainActivity.java61 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
62 super.onSaveInstanceState(outState); in onSaveInstanceState()
63 outState.putBoolean(HAS_SAVED_INSTANCE_STATE_KEY, true); in onSaveInstanceState()
/cts/hostsidetests/securitybulletin/test-apps/TestOverlayRequestManageCredentials/src/android/security/cts/overlay/RequestManageCredentials/
DPocActivity.java59 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
61 super.onSaveInstanceState(outState); in onSaveInstanceState()
62 outState.putInt(KEY_EXPECTED_ORIENTATION, mExpectedConfigOrientation); in onSaveInstanceState()
/cts/tests/app/app/src/android/app/stubs/
DTestedActivity.java44 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
45 super.onSaveInstanceState(outState); in onSaveInstanceState()
DFragmentTestActivity.java107 public void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
108 super.onSaveInstanceState(outState); in onSaveInstanceState()
109 outState.putInt(LAYOUT_ID, mLayoutId); in onSaveInstanceState()
112 outState.putInt(key, mTransitionIds[i]); in onSaveInstanceState()
DMockTabActivity.java72 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
73 super.onSaveInstanceState(outState); in onSaveInstanceState()
DTestedScreen.java76 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
77 super.onSaveInstanceState(outState); in onSaveInstanceState()
DInstrumentationTestActivity.java145 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
146 super.onSaveInstanceState(outState); in onSaveInstanceState()
148 mBundle = outState; in onSaveInstanceState()
DExpandableListTestActivity.java162 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
163 super.onSaveInstanceState(outState); in onSaveInstanceState()
DActivityCallbacksTestActivity.java146 public void onActivitySaveInstanceState(Activity activity, Bundle outState) { in ActivityCallbacksTestActivity()
241 public void onActivitySaveInstanceState(Activity activity, Bundle outState) { in ActivityCallbacksTestActivity()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DOrderedTestActivity.java73 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
74 super.onSaveInstanceState(outState); in onSaveInstanceState()
76 outState.putInt(KEY_CURRENT_TEST, mTestIndex); in onSaveInstanceState()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionActivity.java150 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
151 outState.putInt(LAYOUT_ID, mLayoutId); in onSaveInstanceState()
152 outState.putInt(TEST, mTest); in onSaveInstanceState()
153 outState.putParcelable(RESULT_RECEIVER, mResultReceiver); in onSaveInstanceState()
154 outState.putBoolean(PAUSE_ON_RESTART, mPauseOnRestart); in onSaveInstanceState()
/cts/tests/tests/os/src/android/os/cts/
DTestedScreen.java76 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
77 super.onSaveInstanceState(outState); in onSaveInstanceState()
/cts/tests/app/src/android/app/cts/
DFragmentTransactionTest.java173 Bundle outState = new Bundle(); in crashOnBackPressed() local
174 instrumentation.callActivityOnSaveInstanceState(mActivity, outState); in crashOnBackPressed()
DActivityCallbacksTest.java200 public void onActivitySaveInstanceState(Activity activity, Bundle outState) { in testActivityCallbackOrder()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DNotificationHidingVerifierActivity.kt120 override fun onSaveInstanceState(outState: Bundle) { in <lambda>()
121 super.onSaveInstanceState(outState) in <lambda>()
122 outState.putInt("currentTestIdx", currentTestIdx) in <lambda>()
123 outState.putInt("numFailures", numFailures) in <lambda>()
DInteractiveVerifierActivity.java226 protected void onSaveInstanceState (Bundle outState) { in onSaveInstanceState() argument
228 outState.putInt(STATE, stateIndex); in onSaveInstanceState()
230 outState.putInt(STATUS, status); in onSaveInstanceState()
231 outState.putInt(SCROLLY, mScrollView.getScrollY()); in onSaveInstanceState()
232 outState.putString(DISPLAY_MODE, TestListActivity.sCurrentDisplayMode); in onSaveInstanceState()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/qstiles/
DInteractiveVerifierActivity.java183 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
185 outState.putInt(STATE, stateIndex); in onSaveInstanceState()
187 outState.putInt(STATUS, status); in onSaveInstanceState()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Activities/
DTestActivity.java432 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
434 outState.putBoolean(EXTRA_ON_RESTART, true); in onSaveInstanceState()
435 super.onSaveInstanceState(outState); in onSaveInstanceState()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/
DVrListenerVerifierActivity.java114 protected void onSaveInstanceState(Bundle outState) { in onSaveInstanceState() argument
115 outState.putInt(STATE, mCurrentIdx); in onSaveInstanceState()
117 outState.putInt(i.getClass().getSimpleName(), i.getStatus().ordinal()); in onSaveInstanceState()
119 super.onSaveInstanceState(outState); in onSaveInstanceState()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/
DActivityEmbeddingLifecycleTestBase.java133 public void onActivitySaveInstanceState(Activity activity, Bundle outState) { in onActivitySaveInstanceState() argument
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DActivitiesWatcher.java84 public void onActivitySaveInstanceState(Activity activity, Bundle outState) { in onActivitySaveInstanceState() argument
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DWindowManagerJetpackTestBase.java377 @NonNull Bundle outState) { in registerActivityLifecycleCallbacks()

12