/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsApplication.java | 431 AppOpsManager appOps = (AppOpsManager)context.getSystemService(Context.APP_OPS_SERVICE); in getApplication() local 439 int mode = appOps.checkOp(AppOpsManager.OP_WRITE_SMS, applicationData.mUid, in getApplication() 445 appOps.setMode(AppOpsManager.OP_WRITE_SMS, applicationData.mUid, in getApplication() 465 assignWriteSmsPermissionToSystemApp(context, packageManager, appOps, in getApplication() 467 assignWriteSmsPermissionToSystemApp(context, packageManager, appOps, in getApplication() 469 assignWriteSmsPermissionToSystemApp(context, packageManager, appOps, in getApplication() 471 assignWriteSmsPermissionToSystemApp(context, packageManager, appOps, in getApplication() 477 assignWriteSmsPermissionToSystemUid(appOps, Process.PHONE_UID); in getApplication() 530 AppOpsManager appOps = (AppOpsManager)context.getSystemService(Context.APP_OPS_SERVICE); in setDefaultApplicationInternal() local 535 appOps.setMode(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid, in setDefaultApplicationInternal() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationApps.java | 64 List<AppOpsManager.PackageOps> appOps = aoManager.getPackagesForOps(LOCATION_OPS); in getAppList() local 66 final int appOpsCount = appOps != null ? appOps.size() : 0; in getAppList() 75 AppOpsManager.PackageOps ops = appOps.get(i); in getAppList()
|
/frameworks/support/v4/kitkat/android/support/v4/app/ |
D | NotificationManagerCompatKitKat.java | 31 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in areNotificationsEnabled() local 41 return ((int) checkOpNoThrowMethod.invoke(appOps, value, uid, pkg) in areNotificationsEnabled()
|
/frameworks/av/services/audioflinger/ |
D | ServiceUtilities.cpp | 98 AppOpsManager appOps; in recordingAllowed() local 99 if (appOps.noteOp(AppOpsManager::OP_RECORD_AUDIO, uid, checkedOpPackageName) in recordingAllowed()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 174 AppOpsManager appOps = (AppOpsManager) context.getSystemService( in hasAppOpsPermission() local 177 final int mode = appOps.checkOp(AppOpsManager.OP_GET_USAGE_STATS, in hasAppOpsPermission()
|
/frameworks/native/libs/gui/ |
D | Sensor.cpp | 124 AppOpsManager appOps; in Sensor() local 125 mRequiredAppOp = appOps.permissionToOpCode(String16(SENSOR_PERMISSION_BODY_SENSORS)); in Sensor() 255 AppOpsManager appOps; in Sensor() local 256 … mRequiredAppOp = appOps.permissionToOpCode(String16(SENSOR_PERMISSION_BODY_SENSORS)); in Sensor()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | Notifier.java | 129 IAppOpsService appOps, SuspendBlocker suspendBlocker, in Notifier() argument 133 mAppOps = appOps; in Notifier()
|
D | PowerManagerService.java | 559 public void systemReady(IAppOpsService appOps) { in systemReady() argument 562 mAppOps = appOps; in systemReady()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 542 AppOpsManager appOps = in setPackageAuthorization() local 544 appOps.setMode(AppOpsManager.OP_ACTIVATE_VPN, uid, packageName, in setPackageAuthorization() 556 AppOpsManager appOps = in isVpnUserPreConsented() local 560 return appOps.noteOpNoThrow(AppOpsManager.OP_ACTIVATE_VPN, Binder.getCallingUid(), in isVpnUserPreConsented()
|
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 1258 AppOpsManager appOps; in canAccessSensor() local 1259 if (appOps.noteOp(opCode, IPCThreadState::self()->getCallingUid(), opPackageName) in canAccessSensor()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MountService.java | 2970 final AppOpsManager appOps = (AppOpsManager) mContext.getSystemService( 2972 appOps.checkPackage(Binder.getCallingUid(), callingPkg);
|