Home
last modified time | relevance | path

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

123

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

123