Searched refs:setAppOpByName (Results 1 – 1 of 1) sorted by relevance
122 setAppOpByName(packageName, permissionToOp(permission), mode); in setAppOp()132 public static void setAppOpByName(@NonNull String packageName, @NonNull String op, int mode) { in setAppOpByName() method in PermissionUtils214 setAppOpByName(packageName, OPSTR_GET_USAGE_STATS, MODE_ALLOWED); in grantPermission()241 setAppOpByName(packageName, OPSTR_GET_USAGE_STATS, MODE_IGNORED); in revokePermission()