Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java111 final ActivityThread activityThread = activity.getActivityThread(); in testRepeatedResume() local
113 activityThread.executeTransaction(newResumeTransaction(activity)); in testRepeatedResume()
114 assertNull(activityThread.performResumeActivity(activity.getActivityToken(), in testRepeatedResume()
117 assertNull(activityThread.performResumeActivity(activity.getActivityToken(), in testRepeatedResume()
130 final ActivityThread activityThread = activity.getActivityThread(); in testCustomIntentPreservedOnRelaunch() local
135 final Activity newActivity = activityThread.getActivity(token); in testCustomIntentPreservedOnRelaunch()
146 final Activity lastActivity = activityThread.getActivity(token); in testCustomIntentPreservedOnRelaunch()
171 final ActivityThread activityThread = activity.getActivityThread(); in testHandleActivity_assetsChanged() local
177 activityThread.handleApplicationInfoChanged(activity.getApplicationInfo()); in testHandleActivity_assetsChanged()
182 final ActivityThread activityThread = activity.getActivityThread(); in testHandleActivity_assetsChanged() local
[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.java168 public LoadedApk(ActivityThread activityThread, ApplicationInfo aInfo, in LoadedApk() argument
172 mActivityThread = activityThread; in LoadedApk()
214 LoadedApk(ActivityThread activityThread) { in LoadedApk() argument
215 mActivityThread = activityThread; in LoadedApk()
397 public static void makePaths(ActivityThread activityThread, in makePaths() argument
400 makePaths(activityThread, false, aInfo, outZipPaths, null); in makePaths()
421 public static void makePaths(ActivityThread activityThread, in makePaths() argument
453 if (activityThread != null) { in makePaths()
454 String instrumentationPackageName = activityThread.mInstrumentationPackageName; in makePaths()
455 String instrumentationAppDir = activityThread.mInstrumentationAppDir; in makePaths()
[all …]
DApplication.java627 final ActivityThread activityThread = ActivityThread.currentActivityThread(); in getAutofillClient() local
628 if (activityThread == null) { in getAutofillClient()
631 final int activityCount = activityThread.mActivities.size(); in getAutofillClient()
634 activityThread.mActivities.valueAt(i); in getAutofillClient()
DActivityThread.java1746 SafeCancellationTransport(@NonNull ActivityThread activityThread, in SafeCancellationTransport() argument
1748 mWeakActivityThread = new WeakReference<>(activityThread); in SafeCancellationTransport()
1753 final ActivityThread activityThread = mWeakActivityThread.get(); in cancel() local
1754 if (activityThread != null) { in cancel()
1755 final CancellationSignal cancellation = activityThread in cancel()
/frameworks/base/services/java/com/android/server/
DSystemServer.java633 ActivityThread activityThread = ActivityThread.systemMain(); in createSystemContext() local
634 mSystemContext = activityThread.getSystemContext(); in createSystemContext()
637 final Context systemUiContext = activityThread.getSystemUiContext(); in createSystemContext()