Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityThreadTest.java210 newActivity[0] = activityThread.getActivity(token[0]); in relaunchActivityAndAssertPreserveWindow()
446 activityThread.updatePendingConfiguration(newAppConfig); in testOrientationChanged_DoesntOverrideVirtualDisplayOrientation()
447 activityThread.handleConfigurationChanged(newAppConfig); in testOrientationChanged_DoesntOverrideVirtualDisplayOrientation()
544 activityThread.handleConfigurationChanged(newAppConfig); in testHandleConfigurationChanged_DoesntOverrideActivityConfig()
578 applyProcessConfiguration(activityThread, newConfig); in testHandleProcessConfigurationChanged_DependOnProcessState()
582 assertTrue(activityThread.isCachedProcessState()); in testHandleProcessConfigurationChanged_DependOnProcessState()
593 assertFalse(activityThread.isCachedProcessState()); in testHandleProcessConfigurationChanged_DependOnProcessState()
597 applyProcessConfiguration(activityThread, origConfig); in testHandleProcessConfigurationChanged_DependOnProcessState()
641 activityThread.handlePictureInPictureRequested(r); in testHandlePictureInPictureRequested_overriddenToEnter()
657 activityThread.handlePictureInPictureRequested(r); in testHandlePictureInPictureRequested_overriddenToSkip()
[all …]
/aosp12/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
H A 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()
199 clearInvocations(activityThread); in recreateAndVerifyNoRelaunch()
203 verify(activityThread, never()).handleRelaunchActivity(any(), any()); in recreateAndVerifyNoRelaunch()
208 clearInvocations(activityThread); in recreateAndVerifyRelaunched()
[all …]
/aosp12/frameworks/base/core/java/android/app/
H A DLoadedApk.java176 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
466 if (activityThread != null) { in makePaths()
1706 if (activityThread == null) { in ReceiverDispatcher()
1713 mActivityThread = activityThread; in ReceiverDispatcher()
1727 if (mActivityThread != activityThread) { in validate()
1931 mActivityThread = activityThread; in ServiceDispatcher()
1957 if (mActivityThread != activityThread) { in validate()
[all …]
H A DApplication.java614 final ActivityThread activityThread = ActivityThread.currentActivityThread(); in getAutofillClient() local
615 if (activityThread == null) { in getAutofillClient()
618 final int activityCount = activityThread.mActivities.size(); in getAutofillClient()
621 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.java1914 SafeCancellationTransport(@NonNull ActivityThread activityThread, in SafeCancellationTransport() argument
1916 mWeakActivityThread = new WeakReference<>(activityThread); in SafeCancellationTransport()
1921 final ActivityThread activityThread = mWeakActivityThread.get(); in cancel() local
1922 if (activityThread != null) { in cancel()
1923 final CancellationSignal cancellation = activityThread in cancel()
/aosp12/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()
/aosp12/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
H A DTaskFragmentContainer.java103 ActivityThread activityThread = ActivityThread.currentActivityThread(); in collectActivities() local
105 Activity activity = activityThread.getActivity(token); in collectActivities()
H A DSplitController.java72 ActivityThread activityThread = ActivityThread.currentActivityThread(); in SplitController() local
74 activityThread.getApplication().registerActivityLifecycleCallbacks( in SplitController()
77 Instrumentation instrumentation = activityThread.getInstrumentation(); in SplitController()
/aosp12/frameworks/base/services/java/com/android/server/
H A DSystemServer.java978 ActivityThread activityThread = ActivityThread.systemMain(); in createSystemContext() local
979 mSystemContext = activityThread.getSystemContext(); in createSystemContext()
982 final Context systemUiContext = activityThread.getSystemUiContext(); in createSystemContext()