Home
last modified time | relevance | path

Searched refs:activityThread (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java134 final ActivityThread activityThread = activity.getActivityThread(); in testRepeatedResume() local
136 activityThread.executeTransaction(newResumeTransaction(activity)); in testRepeatedResume()
138 assertFalse(activityThread.performResumeActivity(r, true /* finalStateRequest */, in testRepeatedResume()
141 assertFalse(activityThread.performResumeActivity(r, false /* finalStateRequest */, in testRepeatedResume()
154 final ActivityThread activityThread = activity.getActivityThread(); in testCustomIntentPreservedOnRelaunch() local
159 final Activity newActivity = activityThread.getActivity(token); in testCustomIntentPreservedOnRelaunch()
170 final Activity lastActivity = activityThread.getActivity(token); in testCustomIntentPreservedOnRelaunch()
194 final ActivityThread activityThread = activity.getActivityThread(); in relaunchActivityAndAssertPreserveWindow() local
210 newActivity[0] = activityThread.getActivity(token[0]); in relaunchActivityAndAssertPreserveWindow()
265 final ActivityThread activityThread = activity.getActivityThread(); in testHandleActivityConfigurationChanged_SkipWhenNewerConfigurationPending() local
[all …]
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java166 ActivityThread activityThread = clientSession.mockThread(); in testLifecycleOfRelaunch() local
174 recreateAndVerifyNoRelaunch(activityThread, activity[0]); in testLifecycleOfRelaunch()
178 recreateAndVerifyRelaunched(activityThread, activity[0], r, ON_START); in testLifecycleOfRelaunch()
182 recreateAndVerifyRelaunched(activityThread, activity[0], r, ON_RESUME); in testLifecycleOfRelaunch()
186 recreateAndVerifyRelaunched(activityThread, activity[0], r, ON_PAUSE); in testLifecycleOfRelaunch()
190 recreateAndVerifyRelaunched(activityThread, activity[0], r, ON_STOP); in testLifecycleOfRelaunch()
194 recreateAndVerifyNoRelaunch(activityThread, activity[0]); in testLifecycleOfRelaunch()
198 private void recreateAndVerifyNoRelaunch(ActivityThread activityThread, TestActivity activity) { in recreateAndVerifyNoRelaunch() argument
199 clearInvocations(activityThread); in recreateAndVerifyNoRelaunch()
203 verify(activityThread, never()).handleRelaunchActivity(any(), any()); in recreateAndVerifyNoRelaunch()
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteCompatibilityWalFlags.java95 ActivityThread activityThread = ActivityThread.currentActivityThread(); in initIfNeeded() local
96 Application app = activityThread == null ? null : activityThread.getApplication(); in initIfNeeded()
/frameworks/base/core/java/android/app/
DLoadedApk.java172 public LoadedApk(ActivityThread activityThread, ApplicationInfo aInfo, in LoadedApk() argument
176 mActivityThread = activityThread; in LoadedApk()
218 LoadedApk(ActivityThread activityThread) { in LoadedApk() argument
219 mActivityThread = activityThread; in LoadedApk()
404 public static void makePaths(ActivityThread activityThread, in makePaths() argument
407 makePaths(activityThread, false, aInfo, outZipPaths, null); in makePaths()
434 public static void makePaths(ActivityThread activityThread, in makePaths() argument
466 if (activityThread != null) { in makePaths()
467 String instrumentationPackageName = activityThread.mInstrumentationPackageName; in makePaths()
468 String instrumentationAppDir = activityThread.mInstrumentationAppDir; in makePaths()
[all …]
DApplication.java597 final ActivityThread activityThread = ActivityThread.currentActivityThread(); in getAutofillClient() local
598 if (activityThread == null) { in getAutofillClient()
601 final int activityCount = activityThread.mActivities.size(); in getAutofillClient()
604 activityThread.mActivities.valueAt(i); in getAutofillClient()
DConfigurationController.java63 ConfigurationController(@NonNull ActivityThreadInternal activityThread) { in ConfigurationController() argument
64 mActivityThread = activityThread; in ConfigurationController()
DActivityThread.java1905 SafeCancellationTransport(@NonNull ActivityThread activityThread, in SafeCancellationTransport() argument
1907 mWeakActivityThread = new WeakReference<>(activityThread); in SafeCancellationTransport()
1912 final ActivityThread activityThread = mWeakActivityThread.get(); in cancel() local
1913 if (activityThread != null) { in cancel()
1914 final CancellationSignal cancellation = activityThread in cancel()
/frameworks/base/services/java/com/android/server/
DSystemServer.java977 ActivityThread activityThread = ActivityThread.systemMain(); in createSystemContext() local
978 mSystemContext = activityThread.getSystemContext(); in createSystemContext()
981 final Context systemUiContext = activityThread.getSystemUiContext(); in createSystemContext()