Home
last modified time | relevance | path

Searched refs:perm (Results 1 – 4 of 4) sorted by relevance

/test/vts/testcases/host/kernel_proc_file_api_test/
Dtarget_file_utils.py52 perm = int(permission_bits[i]) # throws ValueError if not an integer
53 if perm > 7:
54 raise ValueError("Invalid permission bit: %s" % str(perm))
55 if perm & permission == 0:
/test/vts/utils/python/file/
Dtarget_file_utils.py180 perm = int(permission_bits[i]) # throws ValueError if not an integer
181 if perm > 7:
182 raise ValueError("Invalid permission bit: %s" % str(perm))
183 if perm & permission == 0:
/test/vts/tools/vts-core-tradefed/src/com/android/tradefed/util/
DTargetFileUtils.java112 int perm = Integer.valueOf(permissionBits.charAt(i) + ""); in hasPermission() local
113 if (perm > 7) { in hasPermission()
114 throw new RuntimeException(String.format("Invalid permission bit: %d", perm)); in hasPermission()
116 if ((perm & permission.getPermissionNum()) == 0) { in hasPermission()
/test/vts-testcase/security/system_property/
Dvts_treble_sys_prop_test.py64 perm = int(permission_bits[i]) # throws ValueError if not an integer
65 if perm > 7:
66 raise ValueError("Invalid permission bit: %s" % str(perm))
67 if perm & permission == 0: