Searched refs:hasModeFlag (Results 1 – 4 of 4) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/os/ |
D | FileUtils.java | 80 return hasModeFlag(mode, S_IFDIR); in isDirectory() 84 return hasModeFlag(mode, S_IFLNK); in isSymbolicLink() 88 return hasModeFlag(mode, S_ISUID); in isSetUid() 92 return hasModeFlag(mode, S_ISGID); in isSetGid() 119 if (hasModeFlag(mode, typeMasks[i])) { in getFormattedPermissions() 128 if (!hasModeFlag(mode, masks[i])) { in getFormattedPermissions() 134 if (hasModeFlag(mode, S_ISUID)) { in getFormattedPermissions() 135 permissions.setCharAt(3, hasModeFlag(mode, S_IXUSR) ? 's' : 'S'); in getFormattedPermissions() 138 if (hasModeFlag(mode, S_ISGID)) { in getFormattedPermissions() 139 permissions.setCharAt(6, hasModeFlag(mode, S_IXGRP) ? 's' : 'S'); in getFormattedPermissions() [all …]
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | FileUtils.java | 77 public boolean hasModeFlag(int flag) { in hasModeFlag() method in FileUtils.FileStatus
|
D | FileSystemPermissionTest.java | 998 assertTrue(status.hasModeFlag(FileUtils.S_IRUSR | FileUtils.S_IXUSR)); in testRunAsHasCorrectCapabilities() 999 assertTrue(status.hasModeFlag(FileUtils.S_IRGRP | FileUtils.S_IXGRP)); in testRunAsHasCorrectCapabilities() 1066 if (status.hasModeFlag(FileUtils.S_IRGRP) in getAllInsecureDevicesInDirAndSubdir() 1067 || status.hasModeFlag(FileUtils.S_IWGRP) in getAllInsecureDevicesInDirAndSubdir() 1068 || status.hasModeFlag(FileUtils.S_IXGRP)) in getAllInsecureDevicesInDirAndSubdir()
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | FileUtils.java | 76 public boolean hasModeFlag(int flag) { in hasModeFlag() method in FileUtils.FileStatus
|