Searched refs:opModes (Results 1 – 2 of 2) sorted by relevance
156 SparseIntArray opModes = mUidModes.get(uid, null); in getNonDefaultUidModes() local157 if (opModes == null) { in getNonDefaultUidModes()160 return opModes.clone(); in getNonDefaultUidModes()171 SparseIntArray opModes = packageModes.get(packageName); in getNonDefaultPackageModes() local172 if (opModes == null) { in getNonDefaultPackageModes()175 return opModes.clone(); in getNonDefaultPackageModes()182 SparseIntArray opModes = mUidModes.get(uid, null); in getUidMode() local183 if (opModes == null) { in getUidMode()186 return opModes.get(op, AppOpsManager.opToDefaultMode(op)); in getUidMode()195 SparseIntArray opModes = mUidModes.get(uid, null); in setUidMode() local[all …]
1694 final SparseIntArray opModes = in collectUidOps() local1697 if (opModes == null) { in collectUidOps()1701 int opModeCount = opModes.size(); in collectUidOps()1709 int code = opModes.keyAt(i); in collectUidOps()1710 resOps.add(new OpEntry(code, opModes.get(code), Collections.emptyMap())); in collectUidOps()1715 if (opModes.indexOfKey(code) >= 0) { in collectUidOps()1719 resOps.add(new OpEntry(code, opModes.get(code), Collections.emptyMap())); in collectUidOps()2510 SparseIntArray opModes = in resetAllModes() local2513 if (opModes != null && (uidState.uid == reqUid || reqUid == -1)) { in resetAllModes()2514 final int uidOpCount = opModes.size(); in resetAllModes()[all …]