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.java114 final ActivityThread activityThread = activity.getActivityThread(); in testRepeatedResume() local
116 activityThread.executeTransaction(newResumeTransaction(activity)); in testRepeatedResume()
117 assertNull(activityThread.performResumeActivity(activity.getActivityToken(), in testRepeatedResume()
120 assertNull(activityThread.performResumeActivity(activity.getActivityToken(), in testRepeatedResume()
133 final ActivityThread activityThread = activity.getActivityThread(); in testCustomIntentPreservedOnRelaunch() local
138 final Activity newActivity = activityThread.getActivity(token); in testCustomIntentPreservedOnRelaunch()
149 final Activity lastActivity = activityThread.getActivity(token); in testCustomIntentPreservedOnRelaunch()
174 final ActivityThread activityThread = activity.getActivityThread(); in testHandleActivity_assetsChanged() local
180 activityThread.handleApplicationInfoChanged(activity.getApplicationInfo()); in testHandleActivity_assetsChanged()
185 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.java171 public LoadedApk(ActivityThread activityThread, ApplicationInfo aInfo, in LoadedApk() argument
175 mActivityThread = activityThread; in LoadedApk()
217 LoadedApk(ActivityThread activityThread) { in LoadedApk() argument
218 mActivityThread = activityThread; in LoadedApk()
401 public static void makePaths(ActivityThread activityThread, in makePaths() argument
404 makePaths(activityThread, false, aInfo, outZipPaths, null); in makePaths()
425 public static void makePaths(ActivityThread activityThread, in makePaths() argument
457 if (activityThread != null) { in makePaths()
458 String instrumentationPackageName = activityThread.mInstrumentationPackageName; in makePaths()
459 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.java1785 SafeCancellationTransport(@NonNull ActivityThread activityThread, in SafeCancellationTransport() argument
1787 mWeakActivityThread = new WeakReference<>(activityThread); in SafeCancellationTransport()
1792 final ActivityThread activityThread = mWeakActivityThread.get(); in cancel() local
1793 if (activityThread != null) { in cancel()
1794 final CancellationSignal cancellation = activityThread in cancel()
/frameworks/base/services/java/com/android/server/
DSystemServer.java690 ActivityThread activityThread = ActivityThread.systemMain(); in createSystemContext() local
691 mSystemContext = activityThread.getSystemContext(); in createSystemContext()
694 final Context systemUiContext = activityThread.getSystemUiContext(); in createSystemContext()