Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityThreadTest.java142 final ActivityThread activityThread = activity.getActivityThread(); in testRepeatedResume() local
162 final ActivityThread activityThread = activity.getActivityThread(); in testCustomIntentPreservedOnRelaunch() local
167 final Activity newActivity = activityThread.getActivity(token); in testCustomIntentPreservedOnRelaunch()
178 final Activity lastActivity = activityThread.getActivity(token); in testCustomIntentPreservedOnRelaunch()
188 final ActivityThread activityThread = activity.getActivityThread(); in testOverrideScale() local
312 newActivity[0] = activityThread.getActivity(token[0]); in relaunchActivityAndAssertPreserveWindow()
551 activityThread.updatePendingConfiguration(newAppConfig); in testOrientationChanged_DoesntOverrideVirtualDisplayOrientation()
562 restoreConfig(activityThread, originalAppConfig); in testOrientationChanged_DoesntOverrideVirtualDisplayOrientation()
697 activityThread.handlePictureInPictureRequested(r); in testHandlePictureInPictureRequested_overriddenToEnter()
713 activityThread.handlePictureInPictureRequested(r); in testHandlePictureInPictureRequested_overriddenToSkip()
[all …]
/aosp14/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
H A DActivityThreadClientTest.java172 ActivityThread activityThread = clientSession.mockThread(); in testLifecycleOfRelaunch() local
180 recreateAndVerifyNoRelaunch(activityThread, activity[0]); in testLifecycleOfRelaunch()
184 recreateAndVerifyRelaunched(activityThread, activity[0], r, ON_PAUSE); in testLifecycleOfRelaunch()
188 recreateAndVerifyRelaunched(activityThread, activity[0], r, ON_RESUME); in testLifecycleOfRelaunch()
192 recreateAndVerifyRelaunched(activityThread, activity[0], r, ON_PAUSE); in testLifecycleOfRelaunch()
196 recreateAndVerifyRelaunched(activityThread, activity[0], r, ON_STOP); in testLifecycleOfRelaunch()
200 recreateAndVerifyNoRelaunch(activityThread, activity[0]); in testLifecycleOfRelaunch()
255 clearInvocations(activityThread); in recreateAndVerifyNoRelaunch()
259 verify(activityThread, never()).handleRelaunchActivity(any(), any()); in recreateAndVerifyNoRelaunch()
264 clearInvocations(activityThread); in recreateAndVerifyRelaunched()
[all …]
/aosp14/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteCompatibilityWalFlags.java95 ActivityThread activityThread = ActivityThread.currentActivityThread(); in initIfNeeded() local
96 Application app = activityThread == null ? null : activityThread.getApplication(); in initIfNeeded()
/aosp14/frameworks/base/core/java/android/app/
H A DLoadedApk.java187 mActivityThread = activityThread; in LoadedApk()
229 LoadedApk(ActivityThread activityThread) { in LoadedApk() argument
230 mActivityThread = activityThread; in LoadedApk()
447 public static void makePaths(ActivityThread activityThread, in makePaths() argument
509 if (activityThread != null) { in makePaths()
1836 if (activityThread == null) { in ReceiverDispatcher()
1844 mActivityThread = activityThread; in ReceiverDispatcher()
1858 if (mActivityThread != activityThread) { in validate()
2061 mActivityThread = activityThread; in ServiceDispatcher()
2087 if (mActivityThread != activityThread) { in validate()
[all …]
H A DApplication.java622 final ActivityThread activityThread = ActivityThread.currentActivityThread(); in getAutofillClient() local
623 if (activityThread == null) { in getAutofillClient()
626 final int activityCount = activityThread.mActivities.size(); in getAutofillClient()
629 activityThread.mActivities.valueAt(i); in getAutofillClient()
H A DConfigurationController.java59 ConfigurationController(@NonNull ActivityThreadInternal activityThread) { in ConfigurationController() argument
60 mActivityThread = activityThread; in ConfigurationController()
H A DActivityThread.java2078 SafeCancellationTransport(@NonNull ActivityThread activityThread, in SafeCancellationTransport() argument
2080 mWeakActivityThread = new WeakReference<>(activityThread); in SafeCancellationTransport()
2085 final ActivityThread activityThread = mWeakActivityThread.get(); in cancel() local
2086 if (activityThread != null) { in cancel()
2087 final CancellationSignal cancellation = activityThread in cancel()
/aosp14/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
H A DSplitController.java162 final ActivityThread activityThread = ActivityThread.currentActivityThread(); in SplitController() local
163 final Application application = activityThread.getApplication(); in SplitController()
167 Instrumentation instrumentation = activityThread.getInstrumentation(); in SplitController()
/aosp14/frameworks/base/services/java/com/android/server/
H A DSystemServer.java1054 ActivityThread activityThread = ActivityThread.systemMain(); in createSystemContext() local
1055 mSystemContext = activityThread.getSystemContext(); in createSystemContext()
1058 final Context systemUiContext = activityThread.getSystemUiContext(); in createSystemContext()