Home
last modified time | relevance | path

Searched refs:mAppOpsManager (Results 1 – 7 of 7) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java741 mAppOpsManager.checkPackage(
776 mAppOpsManager.checkPackage(
821 final boolean hasCallAppOp = mAppOpsManager.noteOp(AppOpsManager.OP_CALL_PHONE,
918 private AppOpsManager mAppOpsManager; field in TelecomServiceImpl
931 mAppOpsManager = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE); in TelecomServiceImpl()
1108 mAppOpsManager.checkPackage(Binder.getCallingUid(), packageName); in enforceCallingPackage()
1164 return mAppOpsManager.noteOp(AppOpsManager.OP_READ_PHONE_STATE, in canReadPhoneState()
1180 return mAppOpsManager.noteOp(AppOpsManager.OP_CALL_PHONE, in canCallPhone()
1195 mAppOpsManager.checkPackage( in isCallerSimCallManager()
1205 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage); in isPrivilegedDialerCalling()
/packages/apps/Settings/src/com/android/settings/applications/
DDrawOverlayDetails.java61 private AppOpsManager mAppOpsManager; field in DrawOverlayDetails
74 mAppOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in onCreate()
124 mAppOpsManager.setMode(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in setCanDrawOverlay()
130 int result = mAppOpsManager.noteOpNoThrow(AppOpsManager.OP_SYSTEM_ALERT_WINDOW, in canDrawOverlay()
DWriteSettingsDetails.java61 private AppOpsManager mAppOpsManager; field in WriteSettingsDetails
74 mAppOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in onCreate()
123 mAppOpsManager.setMode(AppOpsManager.OP_WRITE_SETTINGS, in setCanWriteSettings()
129 int result = mAppOpsManager.noteOpNoThrow(AppOpsManager.OP_WRITE_SETTINGS, in canWriteSettings()
DAppStateAppOpsBridge.java54 private final AppOpsManager mAppOpsManager; field in AppStateAppOpsBridge
66 mAppOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in AppStateAppOpsBridge()
113 List<PackageOps> ops = mAppOpsManager.getOpsForPackage(uid, pkg, mAppOpsOpCodes); in getPermissionInfo()
225 final List<AppOpsManager.PackageOps> packageOps = mAppOpsManager.getPackagesForOps( in loadAppOpsStates()
DUsageAccessDetails.java51 private AppOpsManager mAppOpsManager; field in UsageAccessDetails
65 mAppOpsManager = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in onCreate()
122 mAppOpsManager.setMode(AppOpsManager.OP_GET_USAGE_STATS, mPackageInfo.applicationInfo.uid, in setHasAccess()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DComponentContextFixture.java147 return mAppOpsManager; in getSystemService()
315 private final AppOpsManager mAppOpsManager = mock(AppOpsManager.class);
355 }).when(mAppOpsManager).checkPackage(anyInt(), anyString());
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java154 private AppOpsManager mAppOpsManager; field in MediaProvider
586 mAppOpsManager = context.getSystemService(AppOpsManager.class); in onCreate()
5739 if (mAppOpsManager.noteProxyOp(opName, callingPackage) != AppOpsManager.MODE_ALLOWED) { in enforceCallingOrSelfPermissionAndAppOps()