Home
last modified time | relevance | path

Searched refs:currentApplication (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/core/java/android/app/
DAppGlobals.java34 return ActivityThread.currentApplication(); in getInitialApplication()
DConfigurationController.java151 final Context contextToUpdate = ActivityThread.currentApplication(); in handleConfigurationChanged()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodDeviceConfigs.java51 ActivityThread.currentApplication().getMainExecutor(), in InputMethodDeviceConfigs()
/frameworks/base/telephony/java/android/telephony/
DCellLocation.java57 final Context appContext = ActivityThread.currentApplication(); in requestLocationUpdate()
/frameworks/base/graphics/java/android/graphics/text/
DLineBreakConfig.java487 final int targetSdkVersion = ActivityThread.currentApplication().getApplicationInfo() in getResolvedLineBreakStyle()
522 final int targetSdkVersion = ActivityThread.currentApplication().getApplicationInfo() in getResolvedLineBreakWordStyle()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerUtils.java57 final ContentResolver resolver = ActivityThread.currentApplication() in getAndroidIdHash()
DCoreSettingsObserver.java257 entry.namespace, ActivityThread.currentApplication().getMainExecutor(), in beginObserveCoreSettings()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java132 Context context = ActivityThread.currentApplication(); in setStubIme()
/frameworks/base/core/java/android/content/
DContextParams.java222 && ActivityThread.currentApplication().checkSelfPermission(Manifest.permission in setRenouncedPermissions()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSynchedDeviceConfigTests.java68 mExecutor = Objects.requireNonNull(ActivityThread.currentApplication()).getMainExecutor(); in setUp()
/frameworks/base/keystore/java/android/security/keystore2/
DKeyStoreCryptoOperationUtils.java78 .currentApplication() in canUserAuthorizationSucceed()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java1711 final Context fallbackContext = ActivityThread.currentApplication(); in isStylusHandwritingAvailableAsUser()
1738 if (ActivityThread.currentApplication() == null) { in isConnectionlessStylusHandwritingAvailable()
2315 ImeTracker.ORIGIN_CLIENT, reason, ActivityThread::currentApplication); in showSoftInput()
2329 ImeTracker.PHASE_CLIENT_VIEW_SERVED, ActivityThread::currentApplication); in showSoftInput()
2482 ImeTracker.ORIGIN_CLIENT, reason, ActivityThread::currentApplication); in hideSoftInputFromWindow()
2492 ImeTracker.PHASE_CLIENT_VIEW_SERVED, ActivityThread::currentApplication); in hideSoftInputFromWindow()
2532 ImeTracker.ORIGIN_CLIENT, reason, ActivityThread::currentApplication); in hideSoftInputFromView()
2539 ImeTracker.PHASE_CLIENT_VIEW_SERVED, ActivityThread::currentApplication); in hideSoftInputFromView()
3599 ActivityThread::currentApplication); in closeCurrentInput()
3606 ImeTracker.PHASE_CLIENT_VIEW_SERVED, ActivityThread::currentApplication); in closeCurrentInput()
[all …]
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/
DWindowExtensionsImpl.java103 return Objects.requireNonNull(ActivityThread.currentApplication()); in getApplication()
/frameworks/base/core/java/android/hardware/input/
DInputDeviceVibrator.java108 Context context = ActivityThread.currentApplication(); in addVibratorStateListener()
/frameworks/base/core/java/android/webkit/
DWebViewDelegate.java166 return ActivityThread.currentApplication(); in getApplication()
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageParser2.java85 final Application application = ActivityThread.currentApplication(); in PackageParser2()
/frameworks/base/core/java/android/text/
DHtml.java562 Application application = ActivityThread.currentApplication(); in withinParagraph()
861 Application application = ActivityThread.currentApplication(); in handleEndTag()
867 Application application = ActivityThread.currentApplication(); in handleEndTag()
1039 Application application = ActivityThread.currentApplication(); in endHeading()
/frameworks/base/core/java/com/android/internal/jank/
DInteractionMonitorDebugOverlay.java81 final Context context = ActivityThread.currentApplication(); in InteractionMonitorDebugOverlay()
/frameworks/base/core/java/android/view/
DInsetsController.java1123 ImeTracker.forLatency().onShown(statsToken, ActivityThread::currentApplication); in show()
1176 ImeTracker.forLatency().onShown(statsToken, ActivityThread::currentApplication); in show()
1363 ActivityThread::currentApplication); in controlAnimationUncheckedInner()
1367 ActivityThread::currentApplication); in controlAnimationUncheckedInner()
1518 ImeTracker.forLatency().onHidden(statsToken, ActivityThread::currentApplication); in controlAnimationUncheckedInner()
/frameworks/base/core/java/android/hardware/
DCamera.java283 return getNumberOfCameras(ActivityThread.currentApplication().getApplicationContext()); in getNumberOfCameras()
310 Context context = ActivityThread.currentApplication().getApplicationContext(); in getCameraInfo()
443 Context context = ActivityThread.currentApplication().getApplicationContext(); in open()
552 Context applicationContext = ActivityThread.currentApplication().getApplicationContext(); in shouldForceSlowJpegMode()
/frameworks/base/services/core/java/com/android/server/power/
DFaceDownDetector.java185 ActivityThread.currentApplication().getMainExecutor(), in systemReady()
/frameworks/base/core/java/android/os/
DBuild.java269 Application application = ActivityThread.currentApplication(); in getSerial()
/frameworks/base/services/core/java/com/android/server/
DBinderCallsStatsService.java337 if (!DumpUtils.checkDumpAndUsageStatsPermission(ActivityThread.currentApplication(), in dump()
/frameworks/base/core/java/android/widget/
DDateTimeView.java510 return ac != null ? ac : ActivityThread.currentApplication().getApplicationContext(); in getApplicationContextIfAvailable()
/frameworks/base/core/java/com/android/internal/util/
DLatencyTracker.java425 final Context context = ActivityThread.currentApplication(); in startListeningForLatencyTrackerConfigChanges()

123