Home
last modified time | relevance | path

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

/test/vts/utils/python/file/
Dtarget_file_utils.py150 def _HasPermission(permission_bits, groupIndex, permission): argument
169 if len(permission_bits) != _PERMISSION_GROUPS:
170 raise ValueError("Invalid permission bits: %s" % str(permission_bits))
180 perm = int(permission_bits[i]) # throws ValueError if not an integer
190 def IsReadable(permission_bits): argument
203 _HasPermission(permission_bits, i, _READ_PERMISSION)
208 def IsWritable(permission_bits): argument
221 _HasPermission(permission_bits, i, _WRITE_PERMISSION)
226 def IsExecutable(permission_bits): argument
239 _HasPermission(permission_bits, i, _EXECUTE_PERMISSION)
[all …]