Home
last modified time | relevance | path

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

1234

/frameworks/base/telephony/common/com/android/internal/telephony/
DTelephonyPermissions.java159 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkReadPhoneState()
212 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkReadPhoneStateOnAnyActiveSub()
335 Context.APP_OPS_SERVICE); in checkPrivilegedReadPermissionOrCarrierPrivilegePermission()
442 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkReadCallLog()
474 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkReadPhoneNumber()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DAppSmsManager.java86 AppOpsManager appOps = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in createAppSpecificSmsToken()
123 AppOpsManager appOps = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in createAppSpecificSmsTokenWithPackageInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipAppOpsListener.java69 mAppOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in PipAppOpsListener()
/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/core/java/com/android/internal/util/
DLocationPermissionChecker.java67 mAppOpsManager = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in LocationPermissionChecker()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DLocationControllerImpl.java78 mAppOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in LocationControllerImpl()
/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/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/base/tests/net/java/com/android/server/net/
DNetworkStatsAccessTest.java66 when(mContext.getSystemService(Context.APP_OPS_SERVICE)).thenReturn(mAppOps); in setUp()
/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/core/tests/utiltests/src/com/android/internal/util/
DLocationPermissionCheckerTest.java114 when(mMockContext.getSystemService(Context.APP_OPS_SERVICE)) in setupMocks()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java59 mAppOps = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in WifiPermissionsUtil()
/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/
DWifiInjector.java299 (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE), in WifiInjector()
650 (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE), in makeWifiNetworkFactory()
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java82 mAppOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in AppOpsControllerImpl()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java231 case Context.APP_OPS_SERVICE: in getSystemService()
274 return Context.APP_OPS_SERVICE; in getSystemServiceName()

1234