Home
last modified time | relevance | path

Searched refs:APP_OPS_SERVICE (Results 1 – 25 of 68) sorted by relevance

123

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipAppOpsListener.kt29 mContext.getSystemService(Context.APP_OPS_SERVICE) as AppOpsManager) in <lambda>()
/frameworks/base/telephony/common/com/android/internal/telephony/
DTelephonyPermissions.java195 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkReadPhoneState()
248 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkReadPhoneStateOnAnyActiveSub()
483 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkCallingOrSelfUseIccAuthWithDeviceIdentifier()
520 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkReadCallLog()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DAppSmsManager.java86 AppOpsManager appOps = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in createAppSpecificSmsToken()
124 AppOpsManager appOps = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in createAppSpecificSmsTokenWithPackageInfo()
DSmsPermissions.java206 ((AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE)) in packageNameMatchesCallingUid()
DIccSmsInterfaceManager.java162 (AppOpsManager) phone.getContext().getSystemService(Context.APP_OPS_SERVICE), in IccSmsInterfaceManager()
167 Context.APP_OPS_SERVICE))); in IccSmsInterfaceManager()
/frameworks/base/core/tests/coretests/src/android/provider/
DTestDocumentsProvider.java118 if (Context.APP_OPS_SERVICE.equals(name)) { in getSystemService()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DLegacyPermissionManagerService.java114 Context.APP_OPS_SERVICE); in checkDeviceIdentifierAccess()
246 Context.APP_OPS_SERVICE); in checkPermissionAndAppop()
/frameworks/base/startop/apps/test/src/
DSystemServerBenchmarks.java166 AppOpsManager appOps = (AppOpsManager) parent.getSystemService(Context.APP_OPS_SERVICE); in initializeBenchmarks()
/frameworks/base/services/core/java/com/android/server/
DHardwarePropertiesManagerService.java66 mAppOps = (AppOpsManager)mContext.getSystemService(Context.APP_OPS_SERVICE); in HardwarePropertiesManagerService()
DMmsServiceBroker.java303 mAppOpsManager = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in getAppOpsManager()
/frameworks/base/services/companion/java/com/android/server/companion/utils/
DPermissionsUtils.java231 ServiceManager.getService(Context.APP_OPS_SERVICE)); in getAppOpsService()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java80 (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in getAppList()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/
DRecentLocationAppsTest.java65 when(mContext.getSystemService(Context.APP_OPS_SERVICE)).thenReturn(mAppOpsManager); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsPermissionsTest.java260 Mockito.when(mMockContext.getSystemService(Context.APP_OPS_SERVICE)).thenReturn( in testPackageNameMatchesCallingUid()
DContextFixture.java265 case Context.APP_OPS_SERVICE: in getSystemService()
329 return Context.APP_OPS_SERVICE; in getSystemServiceName()
DTelephonyPermissionsTest.java109 when(mMockContext.getSystemService(Context.APP_OPS_SERVICE)).thenReturn(mMockAppOps); in setUp()
/frameworks/base/services/core/java/com/android/server/am/
DBaseAppStateTracker.java319 ServiceManager.getService(Context.APP_OPS_SERVICE)); in onSystemReady()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DRecentAppOpsAccessesTest.java94 when(mContext.getSystemService(Context.APP_OPS_SERVICE)).thenReturn(mAppOpsManager); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java272 ServiceManager.getService(Context.APP_OPS_SERVICE)); in assertOpBlockedOnSuspend()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/permission/
DLegacyPermissionManagerServiceTest.java442 when(mInjector.getSystemService(eq(Context.APP_OPS_SERVICE))).thenReturn(mAppOpsManager); in setupAccessTest()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java240 case Context.APP_OPS_SERVICE: in getSystemService()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilitySecurityPolicy.java130 mAppOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in AccessibilitySecurityPolicy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java166 mAppOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in AppOpsControllerImpl()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilitySecurityPolicyTest.java158 mContext.addMockSystemService(Context.APP_OPS_SERVICE, mMockAppOpsManager); in setUp()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/
DWallpaperManagerServiceTests.java154 sContext.addMockSystemService(Context.APP_OPS_SERVICE, mock(AppOpsManager.class)); in setUpClass()

123