Searched refs:permissionBits (Results 1 – 1 of 1) sorted by relevance
55 public static boolean hasPermission(FilePermission permission, String permissionBits) { in hasPermission() argument57 if (hasPermission(permissionBits, i, permission)) { in hasPermission()95 String permissionBits, int groupIndex, FilePermission permission) { in hasPermission() argument99 if (permissionBits.length() != PERMISSION_GROUPS) { in hasPermission()101 String.format("Invalid permission bits: %s", permissionBits.length() + "")); in hasPermission()114 int perm = Integer.valueOf(permissionBits.charAt(i) + ""); in hasPermission()127 permissionBits)); in hasPermission()176 String permissionBits = getPermission(filepath, device); in isReadOnly() local177 return (hasPermission(FilePermission.READ, permissionBits) in isReadOnly()178 && !hasPermission(FilePermission.WRITE, permissionBits) in isReadOnly()[all …]