Lines Matching defs:op
55 * Gets the app op name associated with a given permission.
58 * @return The app op associated with the permission or null.
75 * @param op The operation to note. One of the OPSTR_* constants.
81 * @throws SecurityException If the app has been configured to crash on this op.
83 public static int noteOp(@NonNull Context context, @NonNull String op, int uid,
87 return appOpsManager.noteOp(op, uid, packageName);
102 * @param op The operation to note. One of the OPSTR_* constants.
107 * @throws SecurityException If the app has been configured to crash on this op.
109 public static int noteProxyOp(@NonNull Context context, @NonNull String op,
113 return appOpsManager.noteProxyOp(op, proxiedPackageName);