Lines Matching refs:AppOpsManager
20 import android.app.AppOpsManager;
82 final protected AppOpsManager mAppOps;
131 mAppOps = (AppOpsManager) mContext.getSystemService(Context.APP_OPS_SERVICE);
200 if (mAppOps.noteOp(AppOpsManager.OP_WRITE_ICC_SMS, Binder.getCallingUid(),
201 callingPackage) != AppOpsManager.MODE_ALLOWED) {
254 if (mAppOps.noteOp(AppOpsManager.OP_WRITE_ICC_SMS, Binder.getCallingUid(),
255 callingPackage) != AppOpsManager.MODE_ALLOWED) {
292 if (mAppOps.noteOp(AppOpsManager.OP_READ_ICC_SMS, Binder.getCallingUid(),
293 callingPackage) != AppOpsManager.MODE_ALLOWED) {
378 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(),
379 callingPackage) != AppOpsManager.MODE_ALLOWED) {
446 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(),
447 callingPackage) != AppOpsManager.MODE_ALLOWED) {
522 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(),
523 callingPackage) != AppOpsManager.MODE_ALLOWED) {
942 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), callingPkg)
943 != AppOpsManager.MODE_ALLOWED) {
968 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(), callingPkg)
969 != AppOpsManager.MODE_ALLOWED) {