Lines Matching refs:OpEntry
217 private final SparseArray<AppOpsManager.OpEntry> mOps
218 = new SparseArray<AppOpsManager.OpEntry>();
231 public void addOp(AppOpEntry entry, AppOpsManager.OpEntry op) {
299 private final ArrayList<AppOpsManager.OpEntry> mOps
300 = new ArrayList<AppOpsManager.OpEntry>();
301 private final ArrayList<AppOpsManager.OpEntry> mSwitchOps
302 = new ArrayList<AppOpsManager.OpEntry>();
306 public AppOpEntry(AppOpsManager.PackageOps pkg, AppOpsManager.OpEntry op, AppEntry app,
316 private static void addOp(ArrayList<AppOpsManager.OpEntry> list, AppOpsManager.OpEntry op) {
318 AppOpsManager.OpEntry pos = list.get(i);
334 public void addOp(AppOpsManager.OpEntry op) {
358 public AppOpsManager.OpEntry getOpEntry(int pos) {
362 private CharSequence getCombinedText(ArrayList<AppOpsManager.OpEntry> ops,
440 AppEntry appEntry, AppOpsManager.OpEntry opEntry, boolean allowMerge, int switchOrder) {
445 boolean entryExe = opEntry.getTime() != 0;
447 if (DEBUG) Log.d(TAG, "Add op " + opEntry.getOp() + " to package "
449 last.addOp(opEntry);
454 AppOpEntry entry = appEntry.getOpSwitch(opEntry.getOp());
456 entry.addOp(opEntry);
459 entry = new AppOpEntry(pkgOps, opEntry, appEntry, switchOrder);
460 if (DEBUG) Log.d(TAG, "Add op " + opEntry.getOp() + " to package "
525 AppOpsManager.OpEntry opEntry = pkgOps.getOps().get(j);
526 addOp(entries, pkgOps, appEntry, opEntry, packageName == null,
527 packageName == null ? 0 : opToOrder[opEntry.getOp()]);
552 List<AppOpsManager.OpEntry> dummyOps = null;
576 dummyOps = new ArrayList<AppOpsManager.OpEntry>();
581 AppOpsManager.OpEntry opEntry = new AppOpsManager.OpEntry(
583 dummyOps.add(opEntry);
584 addOp(entries, pkgOps, appEntry, opEntry, packageName == null,
585 packageName == null ? 0 : opToOrder[opEntry.getOp()]);