Lines Matching defs:op
55 public int noteOp(Context context, String op, int uid, String packageName) {
59 public int noteProxyOp(Context context, String op, String proxiedPackageName) {
71 public int noteOp(Context context, String op, int uid, String packageName) {
72 return AppOpsManagerCompat23.noteOp(context, op, uid, packageName);
76 public int noteProxyOp(Context context, String op, String proxiedPackageName) {
77 return AppOpsManagerCompat23.noteProxyOp(context, op, proxiedPackageName);
93 * Gets the app op name associated with a given permission.
96 * @return The app op associated with the permission or null.
109 * @param op The operation to note. One of the OPSTR_* constants.
115 * @throws SecurityException If the app has been configured to crash on this op.
117 public static int noteOp(@NonNull Context context, @NonNull String op, int uid,
119 return IMPL.noteOp(context, op, uid, packageName);
131 * @param op The operation to note. One of the OPSTR_* constants.
136 * @throws SecurityException If the app has been configured to crash on this op.
138 public static int noteProxyOp(@NonNull Context context, @NonNull String op,
140 return IMPL.noteProxyOp(context, op, proxiedPackageName);