Home
last modified time | relevance | path

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

1234

/frameworks/base/telephony/java/com/android/internal/telephony/
DTelephonyPermissions.java180 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkReadPhoneState()
228 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkReadPhoneStateOnAnyActiveSub()
331 Context.APP_OPS_SERVICE); in checkReadDeviceIdentifiers()
450 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkReadCallLog()
473 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkReadPhoneNumber()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DRcsPermissions.java52 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkOp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipAppOpsListener.java69 mAppOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in PipAppOpsListener()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DAppSmsManager.java92 AppOpsManager appOps = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in createAppSpecificSmsToken()
129 AppOpsManager appOps = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in createAppSpecificSmsTokenWithPackageInfo()
/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/net/
DNetworkStatsAccess.java175 Context.APP_OPS_SERVICE); in hasAppOpsPermission()
/frameworks/base/services/core/java/com/android/server/
DHardwarePropertiesManagerService.java63 mAppOps = (AppOpsManager)mContext.getSystemService(Context.APP_OPS_SERVICE); in HardwarePropertiesManagerService()
DNetworkScorerAppManager.java215 (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in canAccessLocation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DLocationControllerImpl.java78 mAppOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in LocationControllerImpl()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsAccessTest.java66 when(mContext.getSystemService(Context.APP_OPS_SERVICE)).thenReturn(mAppOps); in setUp()
/frameworks/base/services/core/java/com/android/server/location/
DRemoteListenerHelper.java68 mAppOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in RemoteListenerHelper()
DGeofenceManager.java123 mAppOps = (AppOpsManager)mContext.getSystemService(Context.APP_OPS_SERVICE); in GeofenceManager()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareClientState.java83 mAppOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in WifiAwareClientState()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationAccesses.java87 (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in getAppList()
DRecentLocationApps.java80 (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in getAppList()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/
DRecentLocationAccessesTest.java65 when(mContext.getSystemService(Context.APP_OPS_SERVICE)).thenReturn(mAppOpsManager); in setUp()
DRecentLocationAppsTest.java64 when(mContext.getSystemService(Context.APP_OPS_SERVICE)).thenReturn(mAppOpsManager); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DBackgroundRestrictionsTest.java108 mAppOpsManager = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in setUp()
/frameworks/base/services/core/java/com/android/server/os/
DBugreportManagerServiceImpl.java60 mAppOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in BugreportManagerServiceImpl()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSystemServicesTestRule.java134 .getSystemService(eq(Context.APP_OPS_SERVICE));
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java59 mAppOps = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in WifiPermissionsUtil()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiInjector.java291 (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE), in WifiInjector()
629 (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE), in makeWifiNetworkFactory()
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java81 mAppOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in AppOpsControllerImpl()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java224 case Context.APP_OPS_SERVICE: in getSystemService()
265 return Context.APP_OPS_SERVICE; in getSystemServiceName()
/frameworks/base/media/java/android/media/
DPlayerBase.java112 IBinder b = ServiceManager.getService(Context.APP_OPS_SERVICE); in baseRegisterPlayer()

1234