/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityThreadTest.java | 190 final ActivityThread activityThread = activity.getActivityThread(); in testRepeatedResume() local 192 activityThread.executeTransaction(newResumeTransaction(activity)); in testRepeatedResume() 194 assertFalse(activityThread.performResumeActivity(r, true /* finalStateRequest */, in testRepeatedResume() 197 assertFalse(activityThread.performResumeActivity(r, false /* finalStateRequest */, in testRepeatedResume() 210 final ActivityThread activityThread = activity.getActivityThread(); in testCustomIntentPreservedOnRelaunch() local 215 final Activity newActivity = activityThread.getActivity(token); in testCustomIntentPreservedOnRelaunch() 226 final Activity lastActivity = activityThread.getActivity(token); in testCustomIntentPreservedOnRelaunch() 236 final ActivityThread activityThread = activity.getActivityThread(); in testOverrideScale() local 237 final IApplicationThread appThread = activityThread.getApplicationThread(); in testOverrideScale() 256 ClientTransaction transaction = newTransaction(activityThread); in testOverrideScale() [all …]
|
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/ |
D | ActivityThreadClientTest.java | 173 ActivityThread activityThread = clientSession.mockThread(); in testLifecycleOfRelaunch() local 181 recreateAndVerifyNoRelaunch(activityThread, activity[0]); in testLifecycleOfRelaunch() 185 recreateAndVerifyRelaunched(activityThread, activity[0], r, ON_PAUSE); in testLifecycleOfRelaunch() 189 recreateAndVerifyRelaunched(activityThread, activity[0], r, ON_RESUME); in testLifecycleOfRelaunch() 193 recreateAndVerifyRelaunched(activityThread, activity[0], r, ON_PAUSE); in testLifecycleOfRelaunch() 197 recreateAndVerifyRelaunched(activityThread, activity[0], r, ON_STOP); in testLifecycleOfRelaunch() 201 recreateAndVerifyNoRelaunch(activityThread, activity[0]); in testLifecycleOfRelaunch() 255 private void recreateAndVerifyNoRelaunch(ActivityThread activityThread, TestActivity activity) { in recreateAndVerifyNoRelaunch() argument 256 clearInvocations(activityThread); in recreateAndVerifyNoRelaunch() 260 verify(activityThread, never()).handleRelaunchActivity(any(), any()); in recreateAndVerifyNoRelaunch() [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteCompatibilityWalFlags.java | 95 ActivityThread activityThread = ActivityThread.currentActivityThread(); in initIfNeeded() local 96 Application app = activityThread == null ? null : activityThread.getApplication(); in initIfNeeded()
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 182 public LoadedApk(ActivityThread activityThread, ApplicationInfo aInfo, in LoadedApk() argument 186 mActivityThread = activityThread; in LoadedApk() 228 LoadedApk(ActivityThread activityThread) { in LoadedApk() argument 229 mActivityThread = activityThread; in LoadedApk() 446 public static void makePaths(ActivityThread activityThread, in makePaths() argument 449 makePaths(activityThread, false, aInfo, outZipPaths, null); in makePaths() 476 public static void makePaths(ActivityThread activityThread, in makePaths() argument 508 if (activityThread != null) { in makePaths() 509 String instrumentationPackageName = activityThread.mInstrumentationPackageName; in makePaths() 510 String instrumentationAppDir = activityThread.mInstrumentationAppDir; in makePaths() [all …]
|
D | Application.java | 621 final ActivityThread activityThread = ActivityThread.currentActivityThread(); in getAutofillClient() local 622 if (activityThread == null) { in getAutofillClient() 625 final int activityCount = activityThread.mActivities.size(); in getAutofillClient() 628 activityThread.mActivities.valueAt(i); in getAutofillClient()
|
D | ConfigurationController.java | 60 ConfigurationController(@NonNull ActivityThreadInternal activityThread) { in ConfigurationController() argument 61 mActivityThread = activityThread; in ConfigurationController()
|
D | ActivityThread.java | 2217 SafeCancellationTransport(@NonNull ActivityThread activityThread, in SafeCancellationTransport() argument 2219 mWeakActivityThread = new WeakReference<>(activityThread); in SafeCancellationTransport() 2224 final ActivityThread activityThread = mWeakActivityThread.get(); in cancel() local 2225 if (activityThread != null) { in cancel() 2226 final CancellationSignal cancellation = activityThread in cancel()
|
/frameworks/base/core/java/android/os/ |
D | VintfObject.java | 125 var activityThread = ActivityThread.currentActivityThread(); in runShellCommand() local 126 var instrumentation = activityThread.getInstrumentation(); in runShellCommand()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | SplitController.java | 226 final ActivityThread activityThread = ActivityThread.currentActivityThread(); in SplitController() local 227 final Application application = activityThread.getApplication(); in SplitController() 231 Instrumentation instrumentation = activityThread.getInstrumentation(); in SplitController()
|
/frameworks/base/services/java/com/android/server/ |
D | SystemServer.java | 1045 ActivityThread activityThread = ActivityThread.systemMain(); in createSystemContext() local 1046 mSystemContext = activityThread.getSystemContext(); in createSystemContext() 1049 final Context systemUiContext = activityThread.getSystemUiContext(); in createSystemContext()
|