/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 205 Permissions permissions = entry.getPermissions(); in canRead() local 206 if (permissions == null) { in canRead() 211 return permissions.canUserRead(); in canRead() 214 return permissions.canGroupRead(); in canRead() 216 return permissions.canWorldRead(); in canRead() 226 Permissions permissions = entry.getPermissions(); in canWrite() local 227 if (permissions == null) { in canWrite() 232 return permissions.canUserWrite(); in canWrite() 235 return permissions.canGroupWrite(); in canWrite() 237 return permissions.canWorldWrite(); in canWrite() [all …]
|
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 214 Permissions permissions = entry.getPermissions(); in canRead() local 215 if (permissions == null) { in canRead() 220 return permissions.canUserRead(); in canRead() 223 return permissions.canGroupRead(); in canRead() 225 return permissions.canWorldRead(); in canRead() 235 Permissions permissions = entry.getPermissions(); in canWrite() local 236 if (permissions == null) { in canWrite() 241 return permissions.canUserWrite(); in canWrite() 244 return permissions.canGroupWrite(); in canWrite() 246 return permissions.canWorldWrite(); in canWrite() [all …]
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 214 Permissions permissions = entry.getPermissions(); in canRead() local 215 if (permissions == null) { in canRead() 220 return permissions.canUserRead(); in canRead() 223 return permissions.canGroupRead(); in canRead() 225 return permissions.canWorldRead(); in canRead() 235 Permissions permissions = entry.getPermissions(); in canWrite() local 236 if (permissions == null) { in canWrite() 241 return permissions.canUserWrite(); in canWrite() 244 return permissions.canGroupWrite(); in canWrite() 246 return permissions.canWorldWrite(); in canWrite() [all …]
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 214 Permissions permissions = entry.getPermissions(); in canRead() local 215 if (permissions == null) { in canRead() 220 return permissions.canUserRead(); in canRead() 223 return permissions.canGroupRead(); in canRead() 225 return permissions.canWorldRead(); in canRead() 235 Permissions permissions = entry.getPermissions(); in canWrite() local 236 if (permissions == null) { in canWrite() 241 return permissions.canUserWrite(); in canWrite() 244 return permissions.canGroupWrite(); in canWrite() 246 return permissions.canWorldWrite(); in canWrite() [all …]
|
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 214 Permissions permissions = entry.getPermissions(); in canRead() local 215 if (permissions == null) { in canRead() 220 return permissions.canUserRead(); in canRead() 223 return permissions.canGroupRead(); in canRead() 225 return permissions.canWorldRead(); in canRead() 235 Permissions permissions = entry.getPermissions(); in canWrite() local 236 if (permissions == null) { in canWrite() 241 return permissions.canUserWrite(); in canWrite() 244 return permissions.canGroupWrite(); in canWrite() 246 return permissions.canWorldWrite(); in canWrite() [all …]
|
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 214 Permissions permissions = entry.getPermissions(); in canRead() local 215 if (permissions == null) { in canRead() 220 return permissions.canUserRead(); in canRead() 223 return permissions.canGroupRead(); in canRead() 225 return permissions.canWorldRead(); in canRead() 235 Permissions permissions = entry.getPermissions(); in canWrite() local 236 if (permissions == null) { in canWrite() 241 return permissions.canUserWrite(); in canWrite() 244 return permissions.canGroupWrite(); in canWrite() 246 return permissions.canWorldWrite(); in canWrite() [all …]
|
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 214 Permissions permissions = entry.getPermissions(); in canRead() local 215 if (permissions == null) { in canRead() 220 return permissions.canUserRead(); in canRead() 223 return permissions.canGroupRead(); in canRead() 225 return permissions.canWorldRead(); in canRead() 235 Permissions permissions = entry.getPermissions(); in canWrite() local 236 if (permissions == null) { in canWrite() 241 return permissions.canUserWrite(); in canWrite() 244 return permissions.canGroupWrite(); in canWrite() 246 return permissions.canWorldWrite(); in canWrite() [all …]
|
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 214 Permissions permissions = entry.getPermissions(); in canRead() local 215 if (permissions == null) { in canRead() 220 return permissions.canUserRead(); in canRead() 223 return permissions.canGroupRead(); in canRead() 225 return permissions.canWorldRead(); in canRead() 235 Permissions permissions = entry.getPermissions(); in canWrite() local 236 if (permissions == null) { in canWrite() 241 return permissions.canUserWrite(); in canWrite() 244 return permissions.canGroupWrite(); in canWrite() 246 return permissions.canWorldWrite(); in canWrite() [all …]
|
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 214 Permissions permissions = entry.getPermissions(); in canRead() local 215 if (permissions == null) { in canRead() 220 return permissions.canUserRead(); in canRead() 223 return permissions.canGroupRead(); in canRead() 225 return permissions.canWorldRead(); in canRead() 235 Permissions permissions = entry.getPermissions(); in canWrite() local 236 if (permissions == null) { in canWrite() 241 return permissions.canUserWrite(); in canWrite() 244 return permissions.canGroupWrite(); in canWrite() 246 return permissions.canWorldWrite(); in canWrite() [all …]
|
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 214 Permissions permissions = entry.getPermissions(); in canRead() local 215 if (permissions == null) { in canRead() 220 return permissions.canUserRead(); in canRead() 223 return permissions.canGroupRead(); in canRead() 225 return permissions.canWorldRead(); in canRead() 235 Permissions permissions = entry.getPermissions(); in canWrite() local 236 if (permissions == null) { in canWrite() 241 return permissions.canUserWrite(); in canWrite() 244 return permissions.canGroupWrite(); in canWrite() 246 return permissions.canWorldWrite(); in canWrite() [all …]
|
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 214 Permissions permissions = entry.getPermissions(); in canRead() local 215 if (permissions == null) { in canRead() 220 return permissions.canUserRead(); in canRead() 223 return permissions.canGroupRead(); in canRead() 225 return permissions.canWorldRead(); in canRead() 235 Permissions permissions = entry.getPermissions(); in canWrite() local 236 if (permissions == null) { in canWrite() 241 return permissions.canUserWrite(); in canWrite() 244 return permissions.canGroupWrite(); in canWrite() 246 return permissions.canWorldWrite(); in canWrite() [all …]
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 214 Permissions permissions = entry.getPermissions(); in canRead() local 215 if (permissions == null) { in canRead() 220 return permissions.canUserRead(); in canRead() 223 return permissions.canGroupRead(); in canRead() 225 return permissions.canWorldRead(); in canRead() 235 Permissions permissions = entry.getPermissions(); in canWrite() local 236 if (permissions == null) { in canWrite() 241 return permissions.canUserWrite(); in canWrite() 244 return permissions.canGroupWrite(); in canWrite() 246 return permissions.canWorldWrite(); in canWrite() [all …]
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | PermissionsTest.groovy | 13 * See the License for the specific language governing permissions and 78 def permissions = new Permissions(rwxString) 79 LOG.info("Testing can read/write/execute for $permissions") 80 assert permissions.canUserRead() == canUserRead 81 assert permissions.canUserWrite() == canUserWrite 82 assert permissions.canUserExecute() == canUserExecute 83 assert permissions.canGroupRead() == canGroupRead 84 assert permissions.canGroupWrite() == canGroupWrite 85 assert permissions.canGroupExecute() == canGroupExecute 86 assert permissions.canWorldRead() == canWorldRead [all …]
|
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | PermissionsTest.groovy | 13 * See the License for the specific language governing permissions and 78 def permissions = new Permissions(rwxString) 79 LOG.info("Testing can read/write/execute for $permissions") 80 assert permissions.canUserRead() == canUserRead 81 assert permissions.canUserWrite() == canUserWrite 82 assert permissions.canUserExecute() == canUserExecute 83 assert permissions.canGroupRead() == canGroupRead 84 assert permissions.canGroupWrite() == canGroupWrite 85 assert permissions.canGroupExecute() == canGroupExecute 86 assert permissions.canWorldRead() == canWorldRead [all …]
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | PermissionsTest.groovy | 13 * See the License for the specific language governing permissions and 78 def permissions = new Permissions(rwxString) 79 LOG.info("Testing can read/write/execute for $permissions") 80 assert permissions.canUserRead() == canUserRead 81 assert permissions.canUserWrite() == canUserWrite 82 assert permissions.canUserExecute() == canUserExecute 83 assert permissions.canGroupRead() == canGroupRead 84 assert permissions.canGroupWrite() == canGroupWrite 85 assert permissions.canGroupExecute() == canGroupExecute 86 assert permissions.canWorldRead() == canWorldRead [all …]
|
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | PermissionsTest.groovy | 13 * See the License for the specific language governing permissions and 78 def permissions = new Permissions(rwxString) 79 LOG.info("Testing can read/write/execute for $permissions") 80 assert permissions.canUserRead() == canUserRead 81 assert permissions.canUserWrite() == canUserWrite 82 assert permissions.canUserExecute() == canUserExecute 83 assert permissions.canGroupRead() == canGroupRead 84 assert permissions.canGroupWrite() == canGroupWrite 85 assert permissions.canGroupExecute() == canGroupExecute 86 assert permissions.canWorldRead() == canWorldRead [all …]
|
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | PermissionsTest.groovy | 13 * See the License for the specific language governing permissions and 78 def permissions = new Permissions(rwxString) 79 LOG.info("Testing can read/write/execute for $permissions") 80 assert permissions.canUserRead() == canUserRead 81 assert permissions.canUserWrite() == canUserWrite 82 assert permissions.canUserExecute() == canUserExecute 83 assert permissions.canGroupRead() == canGroupRead 84 assert permissions.canGroupWrite() == canGroupWrite 85 assert permissions.canGroupExecute() == canGroupExecute 86 assert permissions.canWorldRead() == canWorldRead [all …]
|
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | PermissionsTest.groovy | 13 * See the License for the specific language governing permissions and 78 def permissions = new Permissions(rwxString) 79 LOG.info("Testing can read/write/execute for $permissions") 80 assert permissions.canUserRead() == canUserRead 81 assert permissions.canUserWrite() == canUserWrite 82 assert permissions.canUserExecute() == canUserExecute 83 assert permissions.canGroupRead() == canGroupRead 84 assert permissions.canGroupWrite() == canGroupWrite 85 assert permissions.canGroupExecute() == canGroupExecute 86 assert permissions.canWorldRead() == canWorldRead [all …]
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | PermissionsTest.groovy | 13 * See the License for the specific language governing permissions and 78 def permissions = new Permissions(rwxString) 79 LOG.info("Testing can read/write/execute for $permissions") 80 assert permissions.canUserRead() == canUserRead 81 assert permissions.canUserWrite() == canUserWrite 82 assert permissions.canUserExecute() == canUserExecute 83 assert permissions.canGroupRead() == canGroupRead 84 assert permissions.canGroupWrite() == canGroupWrite 85 assert permissions.canGroupExecute() == canGroupExecute 86 assert permissions.canWorldRead() == canWorldRead [all …]
|
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | PermissionsTest.groovy | 13 * See the License for the specific language governing permissions and 78 def permissions = new Permissions(rwxString) 79 LOG.info("Testing can read/write/execute for $permissions") 80 assert permissions.canUserRead() == canUserRead 81 assert permissions.canUserWrite() == canUserWrite 82 assert permissions.canUserExecute() == canUserExecute 83 assert permissions.canGroupRead() == canGroupRead 84 assert permissions.canGroupWrite() == canGroupWrite 85 assert permissions.canGroupExecute() == canGroupExecute 86 assert permissions.canWorldRead() == canWorldRead [all …]
|
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | PermissionsTest.groovy | 13 * See the License for the specific language governing permissions and 78 def permissions = new Permissions(rwxString) 79 LOG.info("Testing can read/write/execute for $permissions") 80 assert permissions.canUserRead() == canUserRead 81 assert permissions.canUserWrite() == canUserWrite 82 assert permissions.canUserExecute() == canUserExecute 83 assert permissions.canGroupRead() == canGroupRead 84 assert permissions.canGroupWrite() == canGroupWrite 85 assert permissions.canGroupExecute() == canGroupExecute 86 assert permissions.canWorldRead() == canWorldRead [all …]
|
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | PermissionsTest.groovy | 13 * See the License for the specific language governing permissions and 78 def permissions = new Permissions(rwxString) 79 LOG.info("Testing can read/write/execute for $permissions") 80 assert permissions.canUserRead() == canUserRead 81 assert permissions.canUserWrite() == canUserWrite 82 assert permissions.canUserExecute() == canUserExecute 83 assert permissions.canGroupRead() == canGroupRead 84 assert permissions.canGroupWrite() == canGroupWrite 85 assert permissions.canGroupExecute() == canGroupExecute 86 assert permissions.canWorldRead() == canWorldRead [all …]
|
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | PermissionsTest.groovy | 13 * See the License for the specific language governing permissions and 78 def permissions = new Permissions(rwxString) 79 LOG.info("Testing can read/write/execute for $permissions") 80 assert permissions.canUserRead() == canUserRead 81 assert permissions.canUserWrite() == canUserWrite 82 assert permissions.canUserExecute() == canUserExecute 83 assert permissions.canGroupRead() == canGroupRead 84 assert permissions.canGroupWrite() == canGroupWrite 85 assert permissions.canGroupExecute() == canGroupExecute 86 assert permissions.canWorldRead() == canWorldRead [all …]
|
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | PermissionsTest.groovy | 13 * See the License for the specific language governing permissions and 78 def permissions = new Permissions(rwxString) 79 LOG.info("Testing can read/write/execute for $permissions") 80 assert permissions.canUserRead() == canUserRead 81 assert permissions.canUserWrite() == canUserWrite 82 assert permissions.canUserExecute() == canUserExecute 83 assert permissions.canGroupRead() == canGroupRead 84 assert permissions.canGroupWrite() == canGroupWrite 85 assert permissions.canGroupExecute() == canGroupExecute 86 assert permissions.canWorldRead() == canWorldRead [all …]
|
/external/libchrome/sandbox/linux/syscall_broker/ |
D | broker_process_unittest.cc | 58 std::vector<BrokerFilePermission> permissions; in TEST() local 59 permissions.push_back(BrokerFilePermission::ReadOnly("/proc/cpuinfo")); in TEST() 61 scoped_ptr<BrokerProcess> open_broker(new BrokerProcess(EPERM, permissions)); in TEST() 91 std::vector<BrokerFilePermission> permissions; in TestOpenFilePerms() local 92 permissions.push_back(BrokerFilePermission::ReadOnly(kR_WhiteListed)); in TestOpenFilePerms() 93 permissions.push_back( in TestOpenFilePerms() 95 permissions.push_back(BrokerFilePermission::WriteOnly(kW_WhiteListed)); in TestOpenFilePerms() 96 permissions.push_back(BrokerFilePermission::ReadWrite(kRW_WhiteListed)); in TestOpenFilePerms() 98 BrokerProcess open_broker(denied_errno, permissions, fast_check_in_client); in TestOpenFilePerms() 251 std::vector<BrokerFilePermission> permissions; in TestBadPaths() local [all …]
|