Lines Matching refs:pkgOps
284 private ArrayList<AppOpsManager.OpEntry> collectOps(Ops pkgOps, int[] ops) {
288 for (int j=0; j<pkgOps.size(); j++) {
289 Op curOp = pkgOps.valueAt(j);
295 Op curOp = pkgOps.get(ops[j]);
316 for (Ops pkgOps : packages.values()) {
317 ArrayList<AppOpsManager.OpEntry> resOps = collectOps(pkgOps, ops);
323 pkgOps.packageName, pkgOps.uid, resOps);
338 Ops pkgOps = getOpsLocked(uid, packageName, false);
339 if (pkgOps == null) {
342 ArrayList<AppOpsManager.OpEntry> resOps = collectOps(pkgOps, ops);
348 pkgOps.packageName, pkgOps.uid, resOps);
360 HashMap<String, Ops> pkgOps = mUidOps.get(uid);
361 if (pkgOps != null) {
362 pkgOps.remove(ops.packageName);
363 if (pkgOps.size() <= 0) {
466 Ops pkgOps = ent.getValue();
467 for (int j=pkgOps.size()-1; j>=0; j--) {
468 Op curOp = pkgOps.valueAt(j);
478 pkgOps.removeAt(j);
482 if (pkgOps.size() == 0) {
791 HashMap<String, Ops> pkgOps = mUidOps.get(uid);
792 if (pkgOps == null) {
796 pkgOps = new HashMap<String, Ops>();
797 mUidOps.put(uid, pkgOps);
799 Ops ops = pkgOps.get(packageName);
838 pkgOps.put(packageName, ops);
1038 HashMap<String, Ops> pkgOps = mUidOps.get(uid);
1039 if (pkgOps == null) {
1040 pkgOps = new HashMap<String, Ops>();
1041 mUidOps.put(uid, pkgOps);
1043 Ops ops = pkgOps.get(pkgName);
1046 pkgOps.put(pkgName, ops);
1234 HashMap<String, Ops> pkgOps = mUidOps.valueAt(i);
1235 for (Ops ops : pkgOps.values()) {