HomeSort by relevance Sort by last modified time
    Searched refs:Permissions (Results 1 - 25 of 138) sorted by null

1 2 3 4 5 6

  /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...]
  /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();
  /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...]
  /compatibility/cdd/9_security-model/
9_3_filesystem-permissions.md 1 ## 9.3\. Filesystem Permissions
6 permissions model as defined in the [Security and Permissions reference](
7 http://developer.android.com/guide/topics/security/permissions.html).
9_2_uid-and-process-isolation.md 10 and constructed, as defined in the [Security and Permissions reference](http://developer.android.com/guide/topics/security/permissions.html).
  /libcore/ojluni/src/main/java/java/security/
Permission.java 52 public PermissionCollection newPermissionCollection() { return new Permissions(); }
Permissions.java 38 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')
  /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();
  /system/core/init/
devices.h 13 * See the License for the specific language governing permissions and
36 class Permissions {
38 Permissions(const std::string& name, mode_t perm, uid_t uid, gid_t gid);
58 class SysfsPermissions : public Permissions {
62 : Permissions(name, perm, uid, gid), attribute_(attribute) {}
106 DeviceHandler(std::vector<Permissions> dev_permissions,
126 std::vector<Permissions> dev_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);
  /external/pdfium/xfa/fxfa/parser/
cxfa_encryption.cpp 14 {XFA_Element::Permissions, 1, 0},
  /external/mdnsresponder/mDNSWindows/DLL.NET/
AssemblyInfo.cpp 14 * See the License for the specific language governing permissions and
25 using namespace System::Security::Permissions;
  /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;
45 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);

Completed in 308 milliseconds

1 2 3 4 5 6