Home
last modified time | relevance | path

Searched refs:currentActivityThread (Results 1 – 25 of 52) sorted by relevance

123

/aosp12/frameworks/base/core/java/android/app/
H A DAppGlobals.java71 ActivityThread currentActivityThread = ActivityThread.currentActivityThread(); in getIntCoreSetting() local
72 if (currentActivityThread != null) { in getIntCoreSetting()
73 return currentActivityThread.getIntCoreSetting(key, defaultValue); in getIntCoreSetting()
87 ActivityThread currentActivityThread = ActivityThread.currentActivityThread(); in getFloatCoreSetting() local
88 if (currentActivityThread != null) { in getFloatCoreSetting()
89 return currentActivityThread.getFloatCoreSetting(key, defaultValue); in getFloatCoreSetting()
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DWallpaperUpdateReceiver.java50 ActivityThread currentActivityThread = ActivityThread.currentActivityThread(); in updateWallpaper() local
51 Context uiContext = currentActivityThread.getSystemUiContext(); in updateWallpaper()
H A DSystemService.java259 return ActivityThread.currentActivityThread().getSystemUiContext(); in getUiContext()
/aosp12/frameworks/base/core/tests/coretests/src/android/content/
H A DContextTest.java57 ActivityThread.currentActivityThread().getSystemContext(); in testDisplayIdForSystemContext()
65 ActivityThread.currentActivityThread().getSystemUiContext(); in testDisplayIdForSystemUiContext()
128 ActivityThread.currentActivityThread().getSystemContext(); in testIsUiContext_systemContext_returnsTrue()
136 ActivityThread.currentActivityThread().getSystemUiContext(); in testIsUiContext_systemUiContext_returnsTrue()
/aosp12/frameworks/base/core/java/android/window/
H A DSplashScreen.java175 Activity activity = ActivityThread.currentActivityThread().getActivity( in setSplashScreenTheme()
204 ActivityThread.currentActivityThread().registerSplashScreenManager(this); in SplashScreenManagerGlobal()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
H A DSplitSelectStateController.java127 ActivityThread.currentActivityThread().getApplicationThread())); in launchTasks()
134 ActivityThread.currentActivityThread().getApplicationThread()); in launchTasks()
/aosp12/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteCompatibilityWalFlags.java95 ActivityThread activityThread = ActivityThread.currentActivityThread(); in initIfNeeded()
/aosp12/frameworks/base/core/java/android/hardware/input/
H A DInputDeviceLightsManager.java47 super(ActivityThread.currentActivityThread().getSystemContext()); in InputDeviceLightsManager()
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DRuntimeInit.java151 if (ActivityThread.currentActivityThread() != null) { in uncaughtException()
152 ActivityThread.currentActivityThread().stopProfiling(); in uncaughtException()
/aosp12/frameworks/base/core/java/android/view/contentcapture/
H A DDataRemovalRequest.java61 mPackageName = ActivityThread.currentActivityThread().getApplication().getPackageName(); in DataRemovalRequest()
H A DDataShareRequest.java52 mPackageName = ActivityThread.currentActivityThread().getApplication().getPackageName(); in DataShareRequest()
/aosp12/frameworks/base/core/java/android/os/connectivity/
H A DWifiActivityEnergyInfo.java107 final Context context = ActivityThread.currentActivityThread().getSystemContext(); in calculateEnergyMicroJoules()
/aosp12/frameworks/base/core/java/com/android/internal/app/
H A DHeavyWeightSwitcherActivity.java131 ActivityThread thread = ActivityThread.currentActivityThread();
/aosp12/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/
H A DSampleSidecarImpl.java120 Activity activity = ActivityThread.currentActivityThread().getActivity(windowToken); in getWindowLayoutInfo()
/aosp12/frameworks/base/core/java/android/webkit/
H A DWebViewLibraryLoader.java78 LoadedApk apk = ActivityThread.currentActivityThread().getPackageInfo( in main()
/aosp12/frameworks/base/core/java/android/util/
H A DLauncherIcons.java107 ActivityThread.currentActivityThread().getApplication().getResources(); in getBadgedDrawable()
/aosp12/frameworks/base/core/java/android/content/
H A DAutofillOptions.java129 final ActivityThread at = ActivityThread.currentActivityThread(); in forWhitelistingItself()
H A DContentCaptureOptions.java130 final ActivityThread at = ActivityThread.currentActivityThread(); in forWhitelistingItself()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DInputMethodMenuControllerTest.java104 Context systemUiContext = ActivityThread.currentActivityThread() in setUp()
/aosp12/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
H A DTaskFragmentContainer.java103 ActivityThread activityThread = ActivityThread.currentActivityThread(); in collectActivities()
H A DSplitController.java72 ActivityThread activityThread = ActivityThread.currentActivityThread(); in SplitController()
278 activityBelow = ActivityThread.currentActivityThread().getActivity(belowToken); in handleActivityCreated()
H A DTaskFragmentAnimationSpec.java61 mContext = ActivityThread.currentActivityThread().getApplication(); in TaskFragmentAnimationSpec()
/aosp12/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
H A DDpiTestActivity.java55 Application app = ActivityThread.currentActivityThread().getApplication(); in init()
/aosp12/frameworks/base/core/java/android/os/
H A DVibrator.java137 final Context ctx = ActivityThread.currentActivityThread().getSystemContext(); in Vibrator()
/aosp12/frameworks/base/services/core/java/com/android/server/media/
H A DMediaShellCommand.java70 sThread = ActivityThread.currentActivityThread(); in onCommand()

123