Home
last modified time | relevance | path

Searched refs:ProtectionDomain (Results 1 – 25 of 29) sorted by relevance

12

/libcore/ojluni/src/main/java/javax/security/auth/
DSubjectDomainCombiner.java28 import java.security.ProtectionDomain;
41 public ProtectionDomain[] combine(ProtectionDomain[] currentDomains, in combine()
42 ProtectionDomain[] assignedDomains) { return null; } in combine()
DSubject.java41 import java.security.ProtectionDomain;
134 private static final ProtectionDomain[] NULL_PD_ARRAY
135 = new ProtectionDomain[0];
/libcore/ojluni/src/main/java/java/security/
DDomainCombiner.java35 ProtectionDomain[] combine(ProtectionDomain[] currentDomains, in combine()
36 ProtectionDomain[] assignedDomains); in combine()
DProtectionDomain.java35 public class ProtectionDomain { class
37 public ProtectionDomain(CodeSource codesource, in ProtectionDomain() method in ProtectionDomain
40 public ProtectionDomain(CodeSource codesource, in ProtectionDomain() method in ProtectionDomain
DSecureClassLoader.java52 private final HashMap<CodeSource, ProtectionDomain> pdcache =
198 private ProtectionDomain getProtectionDomain(CodeSource cs) { in getProtectionDomain()
202 ProtectionDomain pd = null; in getProtectionDomain()
207 pd = new ProtectionDomain(cs, perms, this, null); in getProtectionDomain()
DPolicySpi.java58 (ProtectionDomain domain, Permission permission); in engineImplies()
115 (ProtectionDomain domain) { in engineGetPermissions()
DPolicy.java87 public PermissionCollection getPermissions(ProtectionDomain domain) { in getPermissions()
91 public boolean implies(ProtectionDomain domain, Permission permission) { in implies()
DAccessControlContext.java39 public AccessControlContext(ProtectionDomain context[]) { in AccessControlContext()
/libcore/luni/src/test/java/libcore/java/security/
DAccessControllerTest.java29 import java.security.ProtectionDomain;
51 public ProtectionDomain[] combine(ProtectionDomain[] a, ProtectionDomain[] b) { in testDoPrivilegedWithCombiner()
56 ProtectionDomain protectionDomain = new ProtectionDomain(null, new Permissions()); in testDoPrivilegedWithCombiner()
58 new AccessControlContext(new ProtectionDomain[] { protectionDomain }), union); in testDoPrivilegedWithCombiner()
DPolicySpiTest.java30 import java.security.ProtectionDomain;
38 protected boolean engineImplies(ProtectionDomain domain, Permission permission) { in engineImplies()
53 public PermissionCollection engineGetPermissions(ProtectionDomain domain) { in engineGetPermissions()
70 spi.engineGetPermissions((ProtectionDomain) null)); in testEngineGetPermissions()
DProtectionDomainTest.java36 import java.security.ProtectionDomain;
49 private ProtectionDomain domain;
56 domain = new ProtectionDomain(codeSource , new TestPermissionCollection(), in setUp()
DPolicyTest.java29 import java.security.ProtectionDomain;
65 assertNull(p.getPermissions((ProtectionDomain) null)); in testGetPermissions()
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinWorkerThread.java39 import java.security.ProtectionDomain;
218 new ProtectionDomain[] {
219 new ProtectionDomain(null, null)
/libcore/ojluni/src/test/javax/xml/jaxp/transform/
DXSLTExFuncTest.java41 import java.security.ProtectionDomain;
251 public PermissionCollection getPermissions(ProtectionDomain pd) { in getPermissions()
256 public boolean implies(ProtectionDomain pd, Permission p) { in implies()
DXPathExFuncTest.java41 import java.security.ProtectionDomain;
286 public PermissionCollection getPermissions(ProtectionDomain pd) { in getPermissions()
291 public boolean implies(ProtectionDomain pd, Permission p) { in implies()
/libcore/luni/src/test/java/tests/java/security/
DSecureClassLoaderTest.java32 import java.security.ProtectionDomain;
232 (ProtectionDomain) null); in define()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassTest.java35 import java.security.ProtectionDomain;
190 public ProtectionDomain[] combine(ProtectionDomain[] executionDomains, in test_getClasses_subtest0()
191 ProtectionDomain[] parentDomains) { in test_getClasses_subtest0()
193 return new ProtectionDomain[0]; in test_getClasses_subtest0()
/libcore/ojluni/src/main/java/java/lang/
DClassLoader.java42 import java.security.ProtectionDomain;
588 ProtectionDomain protectionDomain) in defineClass()
657 ProtectionDomain protectionDomain) in defineClass()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClassLoader.java85 java.security.ProtectionDomain protectionDomain) in defineClass()
93 java.security.ProtectionDomain protectionDomain) in defineClass()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/
DSubjectTest.java30 import java.security.ProtectionDomain;
223 AccessControlContext acc = new AccessControlContext(new ProtectionDomain[0]); in test_getSubject()
/libcore/ojluni/src/main/java/javax/crypto/
DJceSecurity.java240 ProtectionDomain pd = clazz.getProtectionDomain(); in getCodeBase()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DProxyTest.java30 import java.security.ProtectionDomain;
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java156 public java.security.ProtectionDomain getProtectionDomain() { throw new RuntimeException("Stub!"); } in getProtectionDomain()
/libcore/jsr166-tests/src/test/java/jsr166/
DJSR166TestCase.java28 import java.security.ProtectionDomain;
1159 public PermissionCollection getPermissions(ProtectionDomain pd) {
1162 public boolean implies(ProtectionDomain pd, Permission p) {
/libcore/ojluni/src/main/java/java/util/
DCalendar.java48 import java.security.ProtectionDomain;
3528 INSTANCE = new AccessControlContext(new ProtectionDomain[] {
3529 new ProtectionDomain(null, perms)

12