Home
last modified time | relevance | path

Searched refs:opModes (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsCheckingServiceImpl.java156 SparseIntArray opModes = mUidModes.get(uid, null); in getNonDefaultUidModes() local
157 if (opModes == null) { in getNonDefaultUidModes()
160 return opModes.clone(); in getNonDefaultUidModes()
171 SparseIntArray opModes = packageModes.get(packageName); in getNonDefaultPackageModes() local
172 if (opModes == null) { in getNonDefaultPackageModes()
175 return opModes.clone(); in getNonDefaultPackageModes()
182 SparseIntArray opModes = mUidModes.get(uid, null); in getUidMode() local
183 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 …]
DAppOpsService.java1694 final SparseIntArray opModes = in collectUidOps() local
1697 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() local
2513 if (opModes != null && (uidState.uid == reqUid || reqUid == -1)) { in resetAllModes()
2514 final int uidOpCount = opModes.size(); in resetAllModes()
[all …]