Lines Matching refs:AppOpsManager
28 import android.app.AppOpsManager;
480 final int opCode = AppOpsManager.permissionToOpCode(filter.requiredPermission);
481 if (opCode != AppOpsManager.OP_NONE
483 r.callerPackage) != AppOpsManager.MODE_ALLOWED) {
488 + " requires appop " + AppOpsManager.permissionToOp(
512 int appOp = AppOpsManager.permissionToOpCode(requiredPermission);
513 if (appOp != AppOpsManager.OP_NONE && appOp != r.appOp
516 != AppOpsManager.MODE_ALLOWED) {
522 + " requires appop " + AppOpsManager.permissionToOp(
545 if (!skip && r.appOp != AppOpsManager.OP_NONE
548 != AppOpsManager.MODE_ALLOWED) {
554 + " requires appop " + AppOpsManager.opToName(r.appOp)
873 final int opCode = AppOpsManager.permissionToOpCode(info.activityInfo.permission);
874 if (opCode != AppOpsManager.OP_NONE
876 r.callerPackage) != AppOpsManager.MODE_ALLOWED) {
881 + " requires appop " + AppOpsManager.permissionToOp(
911 int appOp = AppOpsManager.permissionToOpCode(requiredPermission);
912 if (appOp != AppOpsManager.OP_NONE && appOp != r.appOp
915 != AppOpsManager.MODE_ALLOWED) {
919 + " requires appop " + AppOpsManager.permissionToOp(
928 if (!skip && r.appOp != AppOpsManager.OP_NONE
931 != AppOpsManager.MODE_ALLOWED) {
935 + " requires appop " + AppOpsManager.opToName(r.appOp)