/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
PermissionsTest.groovy | 13 * See the License for the specific language governing permissions and
21 * Tests for the Permissions class
55 assert new Permissions('rwxrwxrwx').hashCode() == Permissions.DEFAULT.hashCode()
56 assert new Permissions('---------').hashCode() == Permissions.NONE.hashCode()
60 assert new Permissions('rwxrwxrwx').equals(Permissions.DEFAULT)
61 assert new Permissions('---------').equals(Permissions.NONE) [all...] |
AbstractFileSystemEntryTestCase.groovy | 13 * See the License for the specific language governing permissions and
34 protected static final PERMISSIONS = new Permissions('rwxrwx---')
73 assert entry.permissions == new Permissions(PERM)
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/ |
Permissions.java | 13 * See the License for the specific language governing permissions and
21 * Represents and encapsulates the read/write/execute permissions for a file or directory.
22 * This is conceptually (and somewhat loosely) based on the permissions flags within the Unix
28 public class Permissions {
29 public static final Permissions ALL = new Permissions("rwxrwxrwx");
30 public static final Permissions NONE = new Permissions("---------");
31 public static final Permissions DEFAULT = ALL;
45 public Permissions(String rwxString) { [all...] |
AbstractFileSystemEntry.java | 13 * See the License for the specific language governing permissions and
61 public Permissions getPermissions() {
62 return permissions;
65 public void setPermissions(Permissions permissions) {
66 this.permissions = permissions;
69 private Permissions permissions;
field in class:AbstractFileSystemEntry 119 this.permissions = new Permissions(permissionsString); [all...] |
FileSystemEntry.java | 13 * See the License for the specific language governing permissions and
82 * @return the Permissions for this file system entry
84 public Permissions getPermissions();
|
UnixDirectoryListingFormatter.java | 13 * See the License for the specific language governing permissions and
58 Permissions permissions = fileSystemEntry.getPermissions() != null ? fileSystemEntry.getPermissions() : Permissions.DEFAULT;
local 59 String permissionsStr = StringUtil.padRight(permissions.asRwxString(), 9);
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/ |
UserAccount.java | 13 * See the License for the specific language governing permissions and
20 import org.mockftpserver.fake.filesystem.Permissions;
26 * directory, list of groups to which this user belongs, and default permissions applied to
37 * The default value for <code>defaultPermissionsForNewFile</code> is read and write permissions for
39 * write and execute permissions for all (user/group/world).
60 public static final Permissions DEFAULT_PERMISSIONS_FOR_NEW_FILE = new Permissions("rw-rw-rw-");
61 public static final Permissions DEFAULT_PERMISSIONS_FOR_NEW_DIRECTORY = Permissions.ALL;
70 private Permissions defaultPermissionsForNewFile = DEFAULT_PERMISSIONS_FOR_NEW_FILE; 214 Permissions permissions = entry.getPermissions(); local 235 Permissions permissions = entry.getPermissions(); local 256 Permissions permissions = entry.getPermissions(); local [all...] |
/libcore/ojluni/src/main/java/java/security/ |
Permission.java | 44 public PermissionCollection newPermissionCollection() { return new Permissions(); }
|
Permissions.java | 36 public final class Permissions extends PermissionCollection
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
ANTLRFileStream.cs | 47 [System.Security.Permissions.FileIOPermission(System.Security.Permissions.SecurityAction.Demand, Unrestricted = true)]
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/ |
AbstractStoreFileCommandHandlerTestCase.groovy | 13 * See the License for the specific language governing permissions and 24 import org.mockftpserver.fake.filesystem.Permissions 46 fileSystem.getEntry(FILE).permissions = Permissions.NONE 52 fileSystem.getEntry(DIR).permissions = new Permissions('r-xr-xr-x') 59 fileSystem.getEntry(DIR).permissions = new Permissions('rw-rw-rw-') 97 assert fileEntry.permissions == userAccount.defaultPermissionsForNewFile
|
AppeCommandHandlerTest.groovy | 13 * See the License for the specific language governing permissions and 23 import org.mockftpserver.fake.filesystem.Permissions 39 userAccount.defaultPermissionsForNewFile = Permissions.NONE
|
CdupCommandHandlerTest.groovy | 13 * See the License for the specific language governing permissions and 23 import org.mockftpserver.fake.filesystem.Permissions 54 dir.permissions = new Permissions('rw-rw-rw-')
|
MkdCommandHandlerTest.groovy | 13 * See the License for the specific language governing permissions and 25 import org.mockftpserver.fake.filesystem.Permissions 39 static final PERMISSIONS = new Permissions('rwx------') 42 userAccount.defaultPermissionsForNewDirectory = PERMISSIONS 47 assert dirEntry.permissions == PERMISSIONS 56 assert dirEntry.permissions == UserAccount.DEFAULT_PERMISSIONS_FOR_NEW_DIRECTORY 76 fileSystem.getEntry(PARENT).permissions = new Permissions('r-xr-xr-x' [all...] |
CwdCommandHandlerTest.groovy | 13 * See the License for the specific language governing permissions and 23 import org.mockftpserver.fake.filesystem.Permissions 67 dir.permissions = new Permissions('rw-rw-rw-')
|
DeleCommandHandlerTest.groovy | 13 * See the License for the specific language governing permissions and 23 import org.mockftpserver.fake.filesystem.Permissions 79 fileSystem.getEntry(DIR).permissions = new Permissions('r-xr-xr-x')
|
NlstCommandHandlerTest.groovy | 13 * See the License for the specific language governing permissions and 24 import org.mockftpserver.fake.filesystem.Permissions 81 fileSystem.getEntry(DIR).permissions = new Permissions('-wx-wx-wx')
|
RnfrCommandHandlerTest.groovy | 13 * See the License for the specific language governing permissions and 23 import org.mockftpserver.fake.filesystem.Permissions 67 fileSystem.getEntry(FILE).permissions = new Permissions('-wx-wx-wx')
|
RetrCommandHandlerTest.groovy | 13 * See the License for the specific language governing permissions and 25 import org.mockftpserver.fake.filesystem.Permissions 75 fileSystem.getEntry(FILE).permissions = Permissions.NONE 81 fileSystem.getEntry(DIR).permissions = Permissions.NONE
|
/external/apache-harmony/security/src/test/api/java/tests/api/java/security/ |
DomainCombinerTest.java | 14 * See the License for the specific language governing permissions and 28 import java.security.Permissions; 54 PermissionCollection pc = new Permissions(); 71 new CodeSource(null, (Certificate[]) null), new Permissions()) };
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
IdentityScopeTest.java | 14 * See the License for the specific language governing permissions and 27 import java.security.Permissions; 43 public Permissions denied = new Permissions(); 106 // all permissions are granted - sm is not installed
|
SignerTest.java | 14 * See the License for the specific language governing permissions and 30 import java.security.Permissions; 50 public Permissions denied = new Permissions();
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/fake/example/ |
WindowsFakeFileSystemPermissionsTest.java | 13 * See the License for the specific language governing permissions and
24 import org.mockftpserver.fake.filesystem.Permissions;
31 * filesystem, and including file/directory permissions.
46 directoryEntry1.setPermissions(new Permissions("rwxrwx---"));
51 directoryEntry2.setPermissions(Permissions.ALL);
|
/libcore/luni/src/test/java/libcore/java/security/ |
AccessControllerTest.java | 13 * See the License for the specific language governing permissions and 23 import java.security.Permissions; 44 ProtectionDomain protectionDomain = new ProtectionDomain(null, new Permissions());
|
/external/llvm/include/llvm/ExecutionEngine/ |
SectionMemoryManager.h | 33 /// page permissions have been applied before attempting to execute functions 34 /// in the JITed object. Permissions can be applied either by calling 63 /// \brief Update section-specific memory permissions and other attributes. 66 /// permissions can be applied. It is up to the memory manager implementation 69 /// permissions when this method is called. Code sections cannot be executed 98 // which have not yet had their permissions applied, but have been given 100 // neither had their permissions applied, nor been given out to the user. 114 unsigned Permissions);
|