Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/provider/
DDeviceConfig.java398 ContentResolver contentResolver = ActivityThread.currentApplication().getContentResolver(); in getProperty()
545 ContentResolver contentResolver = ActivityThread.currentApplication().getContentResolver(); in setProperty()
564 ContentResolver contentResolver = ActivityThread.currentApplication().getContentResolver(); in resetToDefaults()
590 enforceReadPermission(ActivityThread.currentApplication().getApplicationContext(), in addOnPropertyChangedListener()
631 enforceReadPermission(ActivityThread.currentApplication().getApplicationContext(), in addOnPropertiesChangedListener()
728 ActivityThread.currentApplication().getContentResolver() in incrementNamespace()
752 ActivityThread.currentApplication().getContentResolver() in decrementNamespace()
/frameworks/base/core/java/android/app/
DAppGlobals.java33 return ActivityThread.currentApplication(); in getInitialApplication()
/frameworks/base/telephony/java/android/telephony/
DCellLocation.java55 final Context appContext = ActivityThread.currentApplication(); in requestLocationUpdate()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCase.java132 Context context = ActivityThread.currentApplication(); in setStubIme()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/
DTestableDeviceConfigTest.java106 ActivityThread.currentApplication().getMainExecutor(), changeListener); in testListener()
/frameworks/base/core/tests/coretests/src/android/provider/
DDeviceConfigTest.java386 ActivityThread.currentApplication().getMainExecutor(), changeListener); in testOnPropertiesChangedListener()
410 ActivityThread.currentApplication().getMainExecutor(), changeListener); in testOnPropertyChangedListener()
/frameworks/base/core/java/android/webkit/
DWebViewDelegate.java198 return ActivityThread.currentApplication(); in getApplication()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingLog.java145 Application application = ActivityThread.currentApplication(); in wtf()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassificationManager.java311 ActivityThread.currentApplication().getMainExecutor(), in SettingsObserver()
/frameworks/base/wifi/java/android/net/wifi/
DWifiNetworkSuggestion.java440 ActivityThread.currentApplication().getApplicationContext().getOpPackageName()); in build()
DWifiNetworkSpecifier.java438 ActivityThread.currentApplication().getApplicationContext().getOpPackageName()); in build()
/frameworks/base/core/java/android/os/
DBuild.java168 Application application = ActivityThread.currentApplication(); in getSerial()
/frameworks/base/services/core/java/com/android/server/
DBinderCallsStatsService.java299 if (!DumpUtils.checkDumpAndUsageStatsPermission(ActivityThread.currentApplication(), in dump()
/frameworks/base/core/java/android/app/role/
DRoleControllerManager.java97 remoteService = new RemoteService(ActivityThread.currentApplication(), in RoleControllerManager()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerConstants.java352 ActivityThread.currentApplication().getMainExecutor(), in start()
DAppCompactor.java236 ActivityThread.currentApplication().getMainExecutor(), mOnFlagsChangedListener); in init()
/frameworks/base/core/java/android/widget/
DDateTimeView.java501 return ac != null ? ac : ActivityThread.currentApplication().getApplicationContext(); in getApplicationContextIfAvailable()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureManagerService.java136 ActivityThread.currentApplication().getMainExecutor(), in ContentCaptureManagerService()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java2353 final Context fallbackContext = ActivityThread.currentApplication(); in setInputMethod()
2760 final Context fallbackContext = ActivityThread.currentApplication(); in setCurrentInputMethodSubtype()
/frameworks/base/media/java/android/media/
DMediaPlayer.java2644 if ((mSubtitleController == null) && (ActivityThread.currentApplication() != null)) { in setSubtitleAnchor()
2652 Context context = ActivityThread.currentApplication(); in setSubtitleAnchor()
2977 Context context = ActivityThread.currentApplication(); in addTimedTextSource()
/frameworks/base/core/java/android/permission/
DPermissionControllerManager.java237 remoteService = new RemoteService(ActivityThread.currentApplication(), in PermissionControllerManager()
/frameworks/base/core/java/android/text/
DHtml.java559 Application application = ActivityThread.currentApplication(); in withinParagraph()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java371 Application app = ActivityThread.currentApplication(); in shouldIgnoreInvalidAnimation()
/frameworks/base/keystore/java/android/security/
DKeyStore.java174 Application application = ActivityThread.currentApplication(); in getApplicationContext()
/frameworks/base/core/java/android/animation/
DAnimatorSet.java203 Application app = ActivityThread.currentApplication(); in AnimatorSet()

12