Searched defs:permissions (Results 1 - 25 of 33) sorted by relevance

12

/dalvik/libcore/security/src/test/java/tests/security/permissions/
H A DAllTests.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
26 * This class tests the secrity permissions which are documented in
27 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
32 TestSuite suite = new TestSuite("Tests for security permissions");
H A DJavaIoFileInputStreamTest.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
33 * This class tests the security permissions which are documented in
34 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
H A DJavaIoFileOutputStreamTest.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
33 * This class tests the security permissions which are documented in
34 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
H A DJavaIoObjectOutputStreamTest.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
34 * This class tests the security permissions which are documented in
35 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
H A DJavaIoRandomAccessFileTest.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
31 * This class tests the security permissions which are documented in
32 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
H A DJavaLangClassLoaderTest.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
38 * This class tests the security permissions which are documented in
39 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
151 * package tests.security.permissions.resources;
160 * package tests.security.permissions.resources;
179 "tests/security/permissions/resources/TestClass1", pcl);
190 "tests/security/permissions/resources/TestClass2", pcl);
H A DJavaLangClassTest.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
27 * This class tests the security permissions which are documented in
28 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
H A DJavaLangThreadTest.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
32 * This class tests the security permissions which are documented in
33 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
H A DJavaNetDatagramSocketTest.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
36 * This class tests the security permissions which are documented in
37 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
H A DJavaNetMulticastSocketTest.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
35 * This class tests the secrity permissions which are documented in
36 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
59 notes = "Verifies that java.net.MulticastSocket(int) consructor calls checkListen on security permissions.",
65 notes = "Verifies that java.net.MulticastSocket(int) consructor calls checkListen on security permissions.",
71 notes = "Verifies that java.net.MulticastSocket(int) consructor calls checkListen on security permissions.",
103 assertTrue("java.net.MulticastSocket(int) ctor must call checkListen on security permissions", s.called);
108 assertTrue("java.net.MulticastSocket() ctor must call checkListen on security permissions", s.called);
113 assertTrue("java.net.MulticastSocket() ctor must call checkListen on security permissions",
[all...]
H A DJavaNetServerSocketTest.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
32 * This class tests the security permissions which are documented in
33 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
103 assertTrue("java.net.ServerSocket ctor must call checkListen on security permissions", s.called);
109 assertTrue("java.net.ServerSocket ctor must call checkListen on security permissions", s.called);
116 assertTrue("java.net.ServerSocket ctor must call checkListen on security permissions", s.called);
122 assertTrue("java.net.ServerSocket ctor must call checkListen on security permissions", s.called);
H A DJavaNetSocketTest.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
33 * This class tests the security permissions which are documented in
34 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
123 assertTrue("java.net.ServerSocket ctor must call checkConnect on security permissions", s.called);
129 assertTrue("java.net.ServerSocket ctor must call checkConnect on security permissions", s.called);
135 assertTrue("java.net.ServerSocket ctor must call checkConnect on security permissions", s.called);
141 assertTrue("java.net.ServerSocket ctor must call checkConnect on security permissions", s.called);
147 assertTrue("java.net.ServerSocket ctor must call checkConnect on security permissions", s.called);
153 assertTrue("java.net.ServerSocket ctor must call checkConnect on security permissions",
[all...]
H A DJavaSecurityPolicyTest.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
30 * This class tests the secrity permissions which are documented in
31 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
75 assertTrue("java.security.Policy.getPolicy() must call checkPermission on security permissions", s.called);
105 assertTrue("java.security.Policy.setPolicy() must call checkPermission on security permissions", s.called);
H A DJavaSecuritySecurityTest.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
33 * This class tests the secrity permissions which are documented in
34 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
56 notes = "Verifies that getProperty() calls checkPermission on security permissions.",
H A DJavaUtilLocale.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
30 * This class tests the secrity permissions which are documented in
31 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
81 assertTrue("java.util.Locale.setDefault(Locale) must call checkPermission on security permissions", s.called);
H A DJavaUtilZipZipFile.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
30 * This class tests the security permissions which are documented in
31 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
90 assertTrue("java.util.zip.ZipFile() construcor must call checkRead on security permissions", s.called);
H A DJavaxSecurityAuthSubjectDomainCombiner.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
34 * This class tests the security permissions which are documented in
35 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
57 notes = "Verifies that getSubject() calls checkPermission on security permissions.",
H A DJavaIoFileTest.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
33 * This class tests the security permissions which are documented in
34 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
H A DJavaIoObjectInputStreamTest.java13 * See the License for the specific language governing permissions and
17 package tests.security.permissions;
39 * This class tests the security permissions which are documented in
40 * http://java.sun.com/j2se/1.5.0/docs/guide/security/permissions.html#PermsAndMethods
/dalvik/libcore/support/src/test/java/tests/support/
H A DSupport_IOTestSecurityManager.java14 * See the License for the specific language governing permissions and
26 private ArrayList<Permission> permissions; field in class:Support_IOTestSecurityManager
29 permissions = new ArrayList<Permission>(2);
30 permissions.add(new SerializablePermission("enableSubclassImplementation"));
31 permissions.add(new SerializablePermission("enableSubstitution"));
35 for (Iterator<Permission> i = permissions.iterator(); i.hasNext(); ) {
/dalvik/libcore/luni/src/main/java/java/io/
H A DFilePermissionCollection.java14 * See the License for the specific language governing permissions and
34 Vector<Permission> permissions = new Vector<Permission>(); field in class:FilePermissionCollection
61 permissions.addElement(permission);
68 * Returns an enumeration for the collection of permissions.
75 return permissions.elements();
79 * Indicates whether this permissions collection implies a specific
92 while (i < permissions.size()
95 matchedMask |= ((FilePermission) permissions.elementAt(i))
/dalvik/libcore/luni/src/main/java/java/net/
H A DSocketPermissionCollection.java14 * See the License for the specific language governing permissions and
34 private Vector<Permission> permissions = new Vector<Permission>(); field in class:SocketPermissionCollection
50 permissions.addElement(permission);
53 // Returns an enumeration of the permissions
56 return permissions.elements();
72 int i = 0, count = permissions.size();
74 sp = (SocketPermission) permissions.elementAt(i);
/dalvik/libcore/luni/src/main/java/java/util/
H A DPropertyPermissionCollection.java14 * See the License for the specific language governing permissions and
34 Hashtable<String, Permission> permissions = new Hashtable<String, Permission>( field in class:PropertyPermissionCollection
40 Permission prev = permissions.put(perm.getName(), perm);
48 permissions.put(perm.getName(), np);
57 return permissions.elements();
71 * permissions with one representing a parent directory.
79 new ObjectStreamField("permissions", Hashtable.class), //$NON-NLS-1$
84 fields.put("permissions", permissions); //$NON-NLS-1$
93 permissions
[all...]
/dalvik/libcore/security/src/main/java/java/security/acl/
H A DAclEntry.java14 * See the License for the specific language governing permissions and
53 * The permissions in this ACL entry will be denied to the principal
98 * Returns the list of permissions of this ACL entry.
100 * @return the list of permissions of this ACL entry,
102 Enumeration<Permission> permissions(); method in interface:AclEntry
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/
H A DPolicyEntry.java14 * See the License for the specific language governing permissions and
51 private final Collection<Permission> permissions; field in class:PolicyEntry
58 Collection<? extends Permission> permissions) {
62 this.permissions = (permissions == null || permissions.isEmpty()) ? null
63 : Collections.unmodifiableCollection(permissions);
109 * Returns unmodifiable collection of permissions defined by this
113 return permissions;
120 return permissions
57 PolicyEntry(CodeSource cs, Collection<? extends Principal> prs, Collection<? extends Permission> permissions) argument
[all...]

Completed in 825 milliseconds

12