Home
last modified time | relevance | path

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

123

/aosp14/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()
/aosp14/frameworks/base/core/tests/coretests/src/android/content/
H A DContextTest.java60 ActivityThread.currentActivityThread().getSystemContext(); in testDisplayIdForSystemContext()
68 ActivityThread.currentActivityThread().getSystemUiContext(); in testDisplayIdForSystemUiContext()
131 ActivityThread.currentActivityThread().getSystemContext(); in testIsUiContext_systemContext_returnsTrue()
139 ActivityThread.currentActivityThread().getSystemUiContext(); in testIsUiContext_systemUiContext_returnsTrue()
217 ActivityThread.currentActivityThread().getSystemContext(); in testDeviceIdForSystemContext()
225 ActivityThread.currentActivityThread().getSystemUiContext(); in testDeviceIdForSystemUiContext()
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DWallpaperUpdateReceiver.java54 ActivityThread currentActivityThread = ActivityThread.currentActivityThread(); in updateWallpaper() local
55 Context uiContext = currentActivityThread.getSystemUiContext(); in updateWallpaper()
H A DSystemService.java354 return ActivityThread.currentActivityThread().getSystemUiContext(); in getUiContext()
/aosp14/frameworks/base/core/java/android/window/
H A DSplashScreen.java180 Activity activity = ActivityThread.currentActivityThread().getActivity( in setSplashScreenTheme()
209 ActivityThread.currentActivityThread().registerSplashScreenManager(this); in SplashScreenManagerGlobal()
H A DWindowTokenClient.java82 private final Handler mHandler = ActivityThread.currentActivityThread().getHandler();
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/
H A DInputMethodDialogWindowContext.java49 final Context systemUiContext = ActivityThread.currentActivityThread() in get()
/aosp14/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteCompatibilityWalFlags.java95 ActivityThread activityThread = ActivityThread.currentActivityThread(); in initIfNeeded()
/aosp14/frameworks/base/core/java/com/android/internal/os/
H A DRuntimeInit.java155 if (ActivityThread.currentActivityThread() != null) { in uncaughtException()
156 ActivityThread.currentActivityThread().stopProfiling(); in uncaughtException()
/aosp14/frameworks/base/core/java/android/view/contentcapture/
H A DDataRemovalRequest.java62 mPackageName = ActivityThread.currentActivityThread().getApplication().getPackageName(); in DataRemovalRequest()
H A DDataShareRequest.java53 mPackageName = ActivityThread.currentActivityThread().getApplication().getPackageName(); in DataShareRequest()
/aosp14/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/
H A DSampleSidecarImpl.java100 Activity activity = ActivityThread.currentActivityThread().getActivity(windowToken); in getWindowLayoutInfo()
/aosp14/frameworks/base/core/java/android/os/connectivity/
H A DWifiActivityEnergyInfo.java107 final Context context = ActivityThread.currentActivityThread().getSystemContext(); in calculateEnergyMicroJoules()
/aosp14/frameworks/base/core/java/android/webkit/
H A DWebViewLibraryLoader.java78 LoadedApk apk = ActivityThread.currentActivityThread().getPackageInfo( in main()
/aosp14/frameworks/base/core/java/android/content/
H A DAutofillOptions.java129 final ActivityThread at = ActivityThread.currentActivityThread(); in forWhitelistingItself()
H A DIntentSender.java236 final IApplicationThread app = ActivityThread.currentActivityThread() in sendIntent()
H A DContentCaptureOptions.java217 final ActivityThread at = ActivityThread.currentActivityThread(); in forWhitelistingItself()
/aosp14/frameworks/base/core/java/android/util/
H A DLauncherIcons.java110 ActivityThread.currentActivityThread().getApplication().getResources(); in getBadgedDrawable()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DHeavyWeightSwitcherActivity.java132 ActivityThread thread = ActivityThread.currentActivityThread();
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DInputMethodDialogWindowContextTest.java109 Context systemUiContext = ActivityThread.currentActivityThread() in setUp()
/aosp14/frameworks/base/core/java/android/os/
H A DVibrator.java165 final Context ctx = ActivityThread.currentActivityThread().getSystemContext(); in getConfig()
/aosp14/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
H A DDpiTestActivity.java55 Application app = ActivityThread.currentActivityThread().getApplication(); in init()
/aosp14/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
H A DTaskFragmentAnimationSpec.java62 mContext = ActivityThread.currentActivityThread().getApplication(); in TaskFragmentAnimationSpec()
/aosp14/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/layout/
H A DWindowLayoutComponentImpl.java203 ActivityThread currentThread = ActivityThread.currentActivityThread(); in updateListenerRegistrations()
/aosp14/frameworks/base/services/core/java/com/android/server/media/
H A DMediaShellCommand.java74 sThread = ActivityThread.currentActivityThread(); in onCommand()

123