Home
last modified time | relevance | path

Searched refs:currentActivityThread (Results 1 – 25 of 60) 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/services/core/java/com/android/server/
DWallpaperUpdateReceiver.java53 ActivityThread currentActivityThread = ActivityThread.currentActivityThread(); in updateWallpaper() local
54 Context uiContext = currentActivityThread.getSystemUiContext(); in updateWallpaper()
DSystemService.java379 return ActivityThread.currentActivityThread().getSystemUiContext(); in getUiContext()
/frameworks/base/core/tests/coretests/src/android/content/
DContextTest.java80 ActivityThread.currentActivityThread().getSystemContext(); in testDisplayIdForSystemContext()
89 ActivityThread.currentActivityThread().getSystemUiContext(); in testDisplayIdForSystemUiContext()
160 ActivityThread.currentActivityThread().getSystemContext(); in testIsUiContext_systemContext_returnsTrue()
169 ActivityThread.currentActivityThread().getSystemUiContext(); in testIsUiContext_systemUiContext_returnsTrue()
253 ActivityThread.currentActivityThread().getSystemContext(); in testDeviceIdForSystemContext()
262 ActivityThread.currentActivityThread().getSystemUiContext(); in testDeviceIdForSystemUiContext()
/frameworks/base/core/java/android/window/
DSplashScreen.java183 Activity activity = ActivityThread.currentActivityThread().getActivity( in setSplashScreenTheme()
212 ActivityThread.currentActivityThread().registerSplashScreenManager(this); in SplashScreenManagerGlobal()
DWindowTokenClientController.java50 private final IApplicationThread mAppThread = ActivityThread.currentActivityThread()
DWindowTokenClient.java74 private final Handler mHandler = ActivityThread.currentActivityThread().getHandler();
/frameworks/base/core/tests/coretests/src/android/window/
DWindowTokenClientControllerTest.java84 ActivityThread.currentActivityThread().getApplicationThread(), mWindowTokenClient, in testAttachToDisplayArea()
127 ActivityThread.currentActivityThread().getApplicationThread(), mWindowTokenClient, in testAttachToDisplayContent()
167 ActivityThread.currentActivityThread().getApplicationThread(), mWindowTokenClient, in testAttachToWindowToken()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodDialogWindowContext.java49 final Context systemUiContext = ActivityThread.currentActivityThread() in get()
/frameworks/base/core/java/android/os/
DVintfObject.java125 var activityThread = ActivityThread.currentActivityThread(); in runShellCommand()
DVibrator.java165 final Context ctx = ActivityThread.currentActivityThread().getSystemContext(); in getConfig()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteCompatibilityWalFlags.java95 ActivityThread activityThread = ActivityThread.currentActivityThread(); in initIfNeeded()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/
DSidecarHelper.java121 final Activity activity = ActivityThread.currentActivityThread().getActivity(windowToken); in calculateWindowLayoutInfo()
/frameworks/base/core/java/com/android/internal/os/
DRuntimeInit.java165 if (ActivityThread.currentActivityThread() != null) { in uncaughtException()
166 ActivityThread.currentActivityThread().stopProfiling(); in uncaughtException()
/frameworks/base/core/java/android/view/contentcapture/
DDataRemovalRequest.java62 mPackageName = ActivityThread.currentActivityThread().getApplication().getPackageName(); in DataRemovalRequest()
DDataShareRequest.java53 mPackageName = ActivityThread.currentActivityThread().getApplication().getPackageName(); in DataShareRequest()
/frameworks/base/core/java/android/os/connectivity/
DWifiActivityEnergyInfo.java110 final Context context = ActivityThread.currentActivityThread().getSystemContext(); in calculateEnergyMicroJoules()
/frameworks/base/core/java/android/content/
DAutofillOptions.java129 final ActivityThread at = ActivityThread.currentActivityThread(); in forWhitelistingItself()
DIntentSender.java241 final IApplicationThread app = ActivityThread.currentActivityThread() in sendIntent()
/frameworks/base/core/java/android/util/
DLauncherIcons.java110 ActivityThread.currentActivityThread().getApplication().getResources(); in getBadgedDrawable()
/frameworks/base/core/java/android/webkit/
DWebViewLibraryLoader.java78 LoadedApk apk = ActivityThread.currentActivityThread().getPackageInfo( in main()
/frameworks/base/core/java/com/android/internal/app/
DHeavyWeightSwitcherActivity.java132 ActivityThread thread = ActivityThread.currentActivityThread();
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DDividerPresenter.java393 final Context applicationContext = ActivityThread.currentActivityThread().getApplication(); in convertDpToPixel()
404 ActivityThread.currentActivityThread().getApplication(); in getDisplayDensity()
1102 final Context context = ActivityThread.currentActivityThread().getApplication();
1128 final Context context = ActivityThread.currentActivityThread().getApplication();
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInputMethodDialogWindowContextTest.java121 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()

123