Searched refs:recreate (Results 1 - 22 of 22) sorted by relevance

/frameworks/support/navigation/fragment/src/androidTest/java/androidx/navigation/fragment/
H A DEmbeddedXmlTest.java48 activity.recreate();
/frameworks/support/testutils/src/main/java/androidx/testutils/
H A DAppCompatActivityUtils.java83 activity.recreate();
H A DFragmentActivityUtils.java80 activity.recreate();
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityThreadTest.java113 activity.recreate();
116 assertTrue("Original intent must be preserved after recreate",
119 // Set custom intent, recreate and check if it is preserved.
124 activity.recreate();
127 assertTrue("Custom intent must be preserved after recreate",
/frameworks/base/core/java/com/android/internal/app/
H A DResolverTargetActionsDialogFragment.java87 getActivity().recreate();
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DNestedFragmentRestoreTest.java84 activity.recreate();
88 assertTrue("timeout waiting for recreate", latch.await(10, TimeUnit.SECONDS));
90 assertNotNull("attached as part of recreate", attachedTo[0]);
H A DViewModelTest.java272 previous.recreate();
290 throw new RuntimeException("Timeout. Failed to recreate an activity");
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
H A DVideoFragmentTest.java223 activity.recreate();
H A DVideoSupportFragmentTest.java220 activity.recreate();
H A DBrowseFragmentTest.java298 mActivity.recreate();
H A DBrowseSupportFragmentTest.java295 mActivity.recreate();
H A DGuidedStepFragmentTest.java181 activity.recreate();
H A DGuidedStepSupportFragmentTest.java178 activity.recreate();
H A DRowsFragmentTest.java296 activity.recreate();
302 // mActivity is invalid after recreate(), a new Activity instance is created
996 // recreate activity with saved state
H A DRowsSupportFragmentTest.java293 activity.recreate();
299 // mActivity is invalid after recreate(), a new Activity instance is created
993 // recreate activity with saved state
/frameworks/support/lifecycle/extensions/src/androidTest/java/androidx/lifecycle/
H A DViewModelTest.java160 previous.recreate();
178 throw new RuntimeException("Timeout. Failed to recreate an activity");
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/
H A DTestUtils.java61 rule.runOnUiThread(activity::recreate);
77 throw new RuntimeException("Timeout. Failed to recreate an activity");
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DActivityTestMain.java323 recreate();
/frameworks/base/services/core/java/com/android/server/locksettings/
H A DSyntheticPasswordManager.java183 public void recreate(byte[] secret) { method in class:SyntheticPasswordManager.AuthenticationToken
967 result.recreate(secret);
/frameworks/native/cmds/installd/
H A Ddexopt.cpp1109 static int open_output_file(const char* file_name, bool recreate, int permissions) { argument
1111 if (recreate) {
1317 open_output_file(image_path.c_str(), true /*recreate*/, 0600 /*permissions*/),
1346 swap_file_name.c_str(), /*recreate*/true, /*permissions*/0600));
1466 // If we are updating the vdex in place, we do not need to recreate a vdex,
1479 open_output_file(out_vdex_path_str.c_str(), /*recreate*/true, /*permissions*/0644),
1506 open_output_file(out_oat_path, /*recreate*/true, /*permissions*/0644),
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
H A DAppCompatDelegateImpl.java2068 // If we've already been created, we need to recreate the Activity for the
2071 activity.recreate();
2117 // We should return true (to recreate) if configChanges does not want to
/frameworks/base/core/java/android/app/
H A DActivity.java796 /** true if the activity is being destroyed in order to recreate it with a new configuration */
4433 * a restart of you application. In such a case, the system will recreate the
5579 public void recreate() { method in class:Activity
6828 * Returns true if the app should recreate the task when navigating 'up' from this activity
6837 * @return true if navigating up should recreate a new task stack, false if the same task

Completed in 349 milliseconds