Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DAbsSavedStateTest.java37 MockAbsSavedState savedState = new MockAbsSavedState(source); in testConstructor() local
38 assertEquals(0, savedState.describeContents()); in testConstructor()
44 MockAbsSavedState savedState = new MockAbsSavedState(superState); in testGetSuperState() local
46 assertSame(superState, savedState.getSuperState()); in testGetSuperState()
52 MockAbsSavedState savedState = new MockAbsSavedState(superState); in testWriteToParcel() local
56 savedState.writeToParcel(dest, flags); in testWriteToParcel()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DInteractiveVerifierActivity.java131 protected void onCreate(Bundle savedState) { in onCreate() argument
132 super.onCreate(savedState); in onCreate()
133 int savedStateIndex = (savedState == null) ? 0 : savedState.getInt(STATE, 0); in onCreate()
134 int savedStatus = (savedState == null) ? SETUP : savedState.getInt(STATUS, SETUP); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/
DVrListenerVerifierActivity.java66 protected void onCreate(Bundle savedState) { in onCreate() argument
67 super.onCreate(savedState); in onCreate()
68 mCurrentIdx = (savedState == null) ? 0 : savedState.getInt(STATE, 0); in onCreate()
90 test.setStatus((savedState == null) ? Status.SETUP : in onCreate()
91 Status.values()[savedState.getInt(test.getClass().getSimpleName(), 0)]); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java363 protected void onSaveInstanceState(final Bundle savedState) { in onSaveInstanceState() argument
364 super.onSaveInstanceState(savedState); in onSaveInstanceState()
366 savedState.putBundle(ORIGINAL_SETTINGS_NAME, mOriginalSettings); in onSaveInstanceState()