Home
last modified time | relevance | path

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

123

/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/opt/telephony/src/java/com/android/internal/telephony/
DAppSmsManager.java77 AppOpsManager appOps = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in createAppSpecificSmsToken()
DPhoneSubInfoController.java57 mAppOps = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in PhoneSubInfoController()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java56 mAppOps = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in WifiPermissionsUtil()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkStatsAccessTest.java59 when(mContext.getSystemService(Context.APP_OPS_SERVICE)).thenReturn(mAppOps); in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java66 (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in getAppList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DLocationControllerImpl.java70 mAppOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in LocationControllerImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipNotificationController.java88 mAppOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in PipNotificationController()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareClientState.java81 mAppOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in WifiAwareClientState()
/frameworks/base/services/core/java/com/android/server/location/
DGeofenceManager.java122 mAppOps = (AppOpsManager)mContext.getSystemService(Context.APP_OPS_SERVICE); in GeofenceManager()
/frameworks/base/media/java/android/media/
DPlayerBase.java95 IBinder b = ServiceManager.getService(Context.APP_OPS_SERVICE); in baseRegisterPlayer()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsApplication.java478 AppOpsManager appOps = (AppOpsManager)context.getSystemService(Context.APP_OPS_SERVICE); in getApplication()
577 AppOpsManager appOps = (AppOpsManager)context.getSystemService(Context.APP_OPS_SERVICE); in setDefaultApplicationInternal()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java104 when(mContext.getSystemService(eq(Context.APP_OPS_SERVICE))).thenReturn(mAppOps); in setUp()
/frameworks/base/core/java/android/content/
DContext.java2934 APP_OPS_SERVICE,
3769 public static final String APP_OPS_SERVICE = "appops"; field in Context
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java299 mAppOpsManager = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in getAppOpsManager()
/frameworks/base/services/core/java/com/android/server/media/projection/
DMediaProjectionManagerService.java80 mAppOps = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in MediaProjectionManagerService()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java496 when(mMockContext.getSystemService(Context.APP_OPS_SERVICE))
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java166 mAppOps = (AppOpsManager) getContext().getSystemService(Context.APP_OPS_SERVICE); in ClipboardService()
/frameworks/support/compat/java/android/support/v4/app/
DNotificationManagerCompat.java221 (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in areNotificationsEnabled()
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java84 mAppOps = (AppOpsManager)mContext.getSystemService(Context.APP_OPS_SERVICE); in MediaFocusControl()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java609 registerService(Context.APP_OPS_SERVICE, AppOpsManager.class, in registerService() argument
613 IBinder b = ServiceManager.getServiceOrThrow(Context.APP_OPS_SERVICE); in registerService()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java129 ServiceManager.getService(Context.APP_OPS_SERVICE)); in CompanionDeviceManagerService()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSubInfoControllerTest.java61 mAppOsMgr = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in setUp()
DContextFixture.java217 case Context.APP_OPS_SERVICE: in getSystemService()

123