Home
last modified time | relevance | path

Searched defs:permission (Results 1 – 25 of 29) sorted by relevance

12

/libcore/ojluni/src/main/java/java/security/acl/
DAclEntry.java111 public boolean addPermission(Permission permission); in addPermission()
121 public boolean removePermission(Permission permission); in removePermission()
132 public boolean checkPermission(Permission permission); in checkPermission()
DAcl.java232 public boolean checkPermission(Principal principal, Permission permission); in checkPermission()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLPermissionTest.java26 SSLPermission permission = new SSLPermission("name"); in testSslPermissions_constructor_LString() local
33 SSLPermission permission = new SSLPermission("name", "actions"); in testSslPermission_constructor_LString_LString() local
/libcore/ojluni/src/main/java/java/security/
DPermissions.java41 public void add(Permission permission) { } in add()
43 public boolean implies(Permission permission) { return true; } in implies()
DPermissionCollection.java38 public abstract void add(Permission permission); in add()
40 public abstract boolean implies(Permission permission); in implies()
DPolicy.java91 public boolean implies(ProtectionDomain domain, Permission permission) { in implies()
105 @Override public void add(Permission permission) { in add()
108 @Override public boolean implies(Permission permission) { in implies()
DUnresolvedPermissionCollection.java74 public void add(Permission permission) in add()
108 public boolean implies(Permission permission) in implies()
DPolicySpi.java58 (ProtectionDomain domain, Permission permission); in engineImplies()
DPermission.java44 public abstract boolean implies(Permission permission); in implies()
DProtectionDomain.java53 public boolean implies(Permission permission) { return true; } in implies()
/libcore/luni/src/test/java/libcore/java/security/
DAllPermissionTest.java33 AllPermission permission = new AllPermission("Test permission", action); in testGetAction() local
40 AllPermission permission = new AllPermission(); in testImplies() local
DBasicPermissionTest.java39 BasicPermission permission = new TestPermission("name"); in testImplies() local
48 BasicPermission permission = new TestPermission("name"); in testCheckGuard_doesntThrow() local
DPermissionCollectionTest.java35 public void add(Permission permission) { in add()
39 public boolean implies(Permission permission) { in implies()
DSecurityPermissionTest.java32 SecurityPermission permission = new SecurityPermission("name", "action"); in testConstructor() local
DProtectionDomainTest.java110 public void add(Permission permission) { in add()
114 public boolean implies(Permission permission) { in implies()
DAccessControlExceptionTest.java36 Permission permission = new AllPermission(); in testConstructor() local
DAccessControllerTest.java97 final Permission permission = new RuntimePermission("do stuff"); in assertActionRun() local
DPolicySpiTest.java38 protected boolean engineImplies(ProtectionDomain domain, Permission permission) { in engineImplies()
/libcore/ojluni/src/main/java/javax/crypto/
DCryptoPermissions.java51 public void add(Permission permission) { } in add()
53 public boolean implies(Permission permission) { return true; } in implies()
/libcore/ojluni/src/main/native/
DFileSystemPreferences.c45 jclass thisclass, jstring java_fname, jint permission) { in Java_java_util_prefs_FileSystemPreferences_chmod()
70 jclass thisclass, jstring java_fname, jint permission, jboolean shared) { in Java_java_util_prefs_FileSystemPreferences_lockFile0()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DIdentityScopeTest.java44 public void checkPermission(Permission permission){ in checkPermission()
DSignerTest.java51 public void checkPermission(Permission permission){ in checkPermission()
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
DFileURLConnection.java216 Permission permission; field in FileURLConnection
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DJarURLConnection.java62 private Permission permission; field in JarURLConnection
/libcore/luni/src/test/java/tests/java/security/
DIdentityTest.java49 public void checkPermission(Permission permission){ in checkPermission()

12