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.java256 public static final int _NUM_OP = 70; field in AppOpsManager
1051 if (sOpToSwitch.length != _NUM_OP) {
1053 + " should be " + _NUM_OP);
1055 if (sOpToString.length != _NUM_OP) {
1057 + " should be " + _NUM_OP);
1059 if (sOpNames.length != _NUM_OP) {
1061 + " should be " + _NUM_OP);
1063 if (sOpPerms.length != _NUM_OP) {
1065 + " should be " + _NUM_OP);
1067 if (sOpDefaultMode.length != _NUM_OP) {
[all …]
/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java1248 if (op >= 0 && op < AppOpsManager._NUM_OP) { in verifyIncomingOp()
2345 for (int i = 0; i < AppOpsManager._NUM_OP; i++) { in setUserRestrictions()
2510 userRestrictions = new boolean[AppOpsManager._NUM_OP]; in setRestriction()