public static int strToOp(String opStr) {
        return ArrayUtils.indexOf(S_OP_TO_STRING, opStr);
    }
Retrieve the permission associated with an operation, or null if there is not one.
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/secure/ops/AppOpsManager.java