Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DAppOpsManager.java868 public static final int _NUM_OP = 92; field in AppOpsManager
2022 if (sOpToSwitch.length != _NUM_OP) {
2024 + " should be " + _NUM_OP);
2026 if (sOpToString.length != _NUM_OP) {
2028 + " should be " + _NUM_OP);
2030 if (sOpNames.length != _NUM_OP) {
2032 + " should be " + _NUM_OP);
2034 if (sOpPerms.length != _NUM_OP) {
2036 + " should be " + _NUM_OP);
2038 if (sOpDefaultMode.length != _NUM_OP) {
[all …]
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java1723 AppOpsManager._NUM_OP - 1, "Invalid op code: " + op); in startWatchingModeWithFlags()
2134 AppOpsManager._NUM_OP - 1, "Invalid op code in: " + Arrays.toString(ops)); in startWatchingActive()
2181 Preconditions.checkArrayElementsInRange(ops, 0, AppOpsManager._NUM_OP - 1, in startWatchingNoted()
2497 if (op >= 0 && op < AppOpsManager._NUM_OP) { in verifyIncomingOp()
3544 if (shell.op > AppOpsManager.OP_NONE && shell.op < AppOpsManager._NUM_OP) { in onShellCommand()
4364 for (int i = 0; i < AppOpsManager._NUM_OP; i++) { in setUserRestrictions()
4621 userRestrictions = new boolean[AppOpsManager._NUM_OP]; in setRestriction()