/cts/hostsidetests/adpf/app/hintsession/src/cpp/external/ |
D | android_native_app_glue.c | 41 if (android_app->savedState != NULL) { in free_saved_state() 42 free(android_app->savedState); in free_saved_state() 43 android_app->savedState = NULL; in free_saved_state() 241 static struct android_app* android_app_create(ANativeActivity* activity, void* savedState, in android_app_create() argument 250 if (savedState != NULL) { in android_app_create() 251 android_app->savedState = malloc(savedStateSize); in android_app_create() 253 memcpy(android_app->savedState, savedState, savedStateSize); in android_app_create() 351 void* savedState = NULL; in onSaveInstanceState() local 361 if (android_app->savedState != NULL) { in onSaveInstanceState() 362 savedState = android_app->savedState; in onSaveInstanceState() [all …]
|
D | android_native_app_glue.h | 138 void* savedState; member
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/ |
D | CarLauncherTestActivity.java | 31 protected void onCreate(Bundle savedState) { in onCreate() argument 32 super.onCreate(savedState); in onCreate()
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | FragmentTestUtil.java | 168 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()
|
D | FragmentLifecycleTest.java | 425 Pair<Parcelable, FragmentManagerNonConfig> savedState = in noPrematureStateChange() local 439 fragmentController.restoreAllState(savedState.first, savedState.second); in noPrematureStateChange() 576 final Parcelable savedState = fc1.saveAllState(); in targetFragmentRestoreLifecycleStateBackStack() 585 fc2.restoreAllState(savedState, nonconf); in targetFragmentRestoreLifecycleStateBackStack() 643 final Parcelable savedState = fc1.saveAllState(); in targetFragmentRestoreLifecycleStateManagerOrder() 652 fc2.restoreAllState(savedState, nonconf); in targetFragmentRestoreLifecycleStateManagerOrder() 709 Pair<Parcelable, FragmentManagerNonConfig> savedState = null; in testLifecycleTransitionFailure() local 711 savedState = FragmentTestUtil.destroy(mActivityRule, fc1); in testLifecycleTransitionFailure() 733 FragmentTestUtil.resume(mActivityRule, fc2, savedState); in testLifecycleTransitionFailure() 798 Pair<Parcelable, FragmentManagerNonConfig> savedState = in restoreNonConfig() local [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | ToastVerifierActivity.java | 35 protected void onCreate(Bundle savedState) { in onCreate() argument 36 super.onCreate(savedState); in onCreate()
|
D | BubblesVerifierActivity.java | 137 protected void onCreate(Bundle savedState) { in onCreate() argument 138 super.onCreate(savedState); in onCreate() 235 restoreStateFromBundle(savedState); in onCreate() 239 protected void onSaveInstanceState(Bundle savedState) { in onSaveInstanceState() argument 240 super.onSaveInstanceState(savedState); in onSaveInstanceState() 241 savedState.putInt("mCurrentTestIndex", mCurrentTestIndex); in onSaveInstanceState() 242 savedState.putInt("mStepFailureCount", mStepFailureCount); in onSaveInstanceState() 243 savedState.putBoolean("mShowingSummary", mShowingSummary); in onSaveInstanceState() 244 savedState.putBoolean("mTestStepPassed", mTestStepPassed.isEnabled()); in onSaveInstanceState() 247 private void restoreStateFromBundle(Bundle savedState) { in restoreStateFromBundle() argument [all …]
|
D | InteractiveVerifierActivity.java | 173 protected void onCreate(Bundle savedState) { in onCreate() argument 174 super.onCreate(savedState); in onCreate() 175 int savedStateIndex = (savedState == null) ? 0 : savedState.getInt(STATE, 0); in onCreate() 176 int savedStatus = (savedState == null) ? SETUP : savedState.getInt(STATUS, SETUP); in onCreate() 177 int scrollY = (savedState == null) ? 0 : savedState.getInt(SCROLLY, 0); in onCreate() 178 String displayMode = (savedState == null) ? null : savedState.getString(DISPLAY_MODE, null); in onCreate()
|
D | BubbleActivity.java | 48 public void onCreate(Bundle savedState) { in onCreate() argument 49 super.onCreate(savedState); in onCreate()
|
D | ShortcutThrottlingResetActivity.java | 77 protected void onCreate(Bundle savedState) { in onCreate() argument 78 super.onCreate(savedState); in onCreate()
|
D | NotificationHidingVerifierActivity.kt | 126 private fun restoreState(savedState: Bundle) { in <lambda>() 127 currentTestIdx = savedState.getInt("currentTestIdx") in <lambda>() 128 numFailures = savedState.getInt("numFailures") in <lambda>()
|
D | NotificationPrivacyVerifierActivity.java | 56 protected void onCreate(Bundle savedState) { in onCreate() argument 57 super.onCreate(savedState); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/qstiles/ |
D | InteractiveVerifierActivity.java | 150 protected void onCreate(Bundle savedState) { in onCreate() argument 151 super.onCreate(savedState); in onCreate() 152 int savedStateIndex = (savedState == null) ? 0 : savedState.getInt(STATE, 0); in onCreate() 153 int savedStatus = (savedState == null) ? SETUP : savedState.getInt(STATUS, SETUP); in onCreate()
|
D | TileServiceRequestVerifierActivity.java | 66 protected void onCreate(Bundle savedState) { in onCreate() argument 68 super.onCreate(savedState); in onCreate()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | View_BaseSavedStateTest.java | 102 BaseSavedState savedState = new BaseSavedState(superState); in testWriteToParcel() local 105 savedState.writeToParcel(dest, flags); in testWriteToParcel()
|
D | AbsSavedStateTest.java | 124 AbsSavedState savedState = new AbsSavedStateImpl(superState); in testWriteToParcel() local 127 savedState.writeToParcel(dest, flags); in testWriteToParcel()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/ |
D | VrListenerVerifierActivity.java | 70 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/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | BackupTest.java | 208 boolean savedState = dpm.isBackupServiceEnabled(who); in setBackupServiceEnabled_SecurityLogEventsEmitted() 231 dpm.setBackupServiceEnabled(who, savedState); in setBackupServiceEnabled_SecurityLogEventsEmitted()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodHelperActivity.java | 450 protected void onSaveInstanceState(final Bundle savedState) { in onSaveInstanceState() argument 451 super.onSaveInstanceState(savedState); in onSaveInstanceState() 453 savedState.putBundle(ORIGINAL_RESTRICTIONS_NAME, mOriginalRestrictions); in onSaveInstanceState()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | RingerModeActivity.java | 94 protected void onCreate(Bundle savedState) { in onCreate() argument 95 super.onCreate(savedState); in onCreate()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ListViewTest.java | 538 Parcelable savedState = mListView.onSaveInstanceState(); in testSaveAndRestoreInstanceState_positionIsRestored() local 543 mListView.onRestoreInstanceState(savedState); in testSaveAndRestoreInstanceState_positionIsRestored()
|