/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | PolicyTest.java | 218 TestProvider policy = new TestProvider(); in testGetPermissions() local 219 policy.pc = sp.newPermissionCollection(); in testGetPermissions() 222 PermissionCollection pc4pd = policy.getPermissions(pd); in testGetPermissions() 228 pc4pd = policy.getPermissions(pd2); in testGetPermissions() 233 policy.pc.add(sp); in testGetPermissions() 234 pc4pd = policy.getPermissions(pd); in testGetPermissions() 244 pc4pd = policy.getPermissions(pd2); in testGetPermissions() 304 Policy policy = Policy.getPolicy(); in test_implies() local 333 assertTrue(policy.implies(pd, perm[0])); in test_implies() 334 assertTrue(policy.implies(pd, perm[1])); in test_implies() [all …]
|
D | ProtectionDomainTest.java | 254 TestPolicy policy = new TestPolicy(); in testImplies_02() local 258 policy.setTrackPD(pd); in testImplies_02() 260 Policy.setPolicy(policy); in testImplies_02() 265 assertFalse(policy.getPdTracked()); in testImplies_02() 279 TestPolicy policy = new TestPolicy(); in testImplies_03() local 282 policy.setTrackPD(pd); in testImplies_03() 284 Policy.setPolicy(policy); in testImplies_03() 289 assertTrue(policy.getPdTracked()); in testImplies_03()
|
/dalvik/libcore/security/src/main/java/java/security/ |
D | security.properties | 50 policy.provider=org.apache.harmony.security.fortress.DefaultPolicy 53 # The default is to have a single system-wide policy file, 54 # and an optional policy file in the user's home directory. 55 # It is possible to specify any number of policy files, via policy.url.n keys. 57 policy.url.1=file:/${java.home}/lib/security/java.policy 58 policy.url.2=file:/${user.home}/.java.policy 61 # Flag to enable/disable properties expansion (${...}) in policy files. 64 policy.expandProperties=true 67 # Flag to enable/disable an extra policy to be passed on the command line 68 # with -Djava.security.policy=<file|url>. Possible values: true/false. [all …]
|
D | Policy.java | 247 public static void setPolicy(Policy policy) { 253 activePolicy = policy;
|
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/ |
D | ExecutorsTest.java | 381 AdjustablePolicy policy = new AdjustablePolicy(); 382 policy.addPermission(new RuntimePermission("getContextClassLoader")); 383 policy.addPermission(new RuntimePermission("setContextClassLoader")); 384 Policy.setPolicy(policy); 450 AdjustablePolicy policy = new AdjustablePolicy(); 451 Policy.setPolicy(policy); 485 AdjustablePolicy policy = new AdjustablePolicy(); 486 policy.addPermission(new RuntimePermission("getContextClassLoader")); 487 policy.addPermission(new RuntimePermission("setContextClassLoader")); 488 Policy.setPolicy(policy); [all …]
|
D | AbstractExecutorServiceTest.java | 122 AdjustablePolicy policy = new AdjustablePolicy(); in testSubmitPrivilegedAction() local 123 policy.addPermission(new RuntimePermission("getContextClassLoader")); in testSubmitPrivilegedAction() 124 policy.addPermission(new RuntimePermission("setContextClassLoader")); in testSubmitPrivilegedAction() 125 Policy.setPolicy(policy); in testSubmitPrivilegedAction() 161 AdjustablePolicy policy = new AdjustablePolicy(); in testSubmitPrivilegedExceptionAction() local 162 policy.addPermission(new RuntimePermission("getContextClassLoader")); in testSubmitPrivilegedExceptionAction() 163 policy.addPermission(new RuntimePermission("setContextClassLoader")); in testSubmitPrivilegedExceptionAction() 164 Policy.setPolicy(policy); in testSubmitPrivilegedExceptionAction() 197 AdjustablePolicy policy = new AdjustablePolicy(); in testSubmitFailedPrivilegedExceptionAction() local 198 policy.addPermission(new RuntimePermission("getContextClassLoader")); in testSubmitFailedPrivilegedExceptionAction() [all …]
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/tsp/ |
D | TSTInfo.java | 70 private final String policy; field in TSTInfo 88 public TSTInfo(int version, String policy, MessageImprint messageImprint, in TSTInfo() argument 93 this.policy = policy; in TSTInfo() 110 res.append(policy); in toString() 180 return policy; in getPolicy() 294 values[1] = ObjectIdentifier.toIntArray(info.policy);
|
/dalvik/vm/jdwp/ |
D | JdwpConstants.c | 204 const char* dvmJdwpSuspendPolicyStr(enum JdwpSuspendPolicy policy) in dvmJdwpSuspendPolicyStr() argument 206 switch (policy) { in dvmJdwpSuspendPolicyStr()
|
D | JdwpConstants.h | 176 const char* dvmJdwpSuspendPolicyStr(enum JdwpSuspendPolicy policy);
|
D | JdwpEvent.c | 563 enum JdwpSuspendPolicy policy = SP_NONE; in scanSuspendPolicy() local 566 if ((*matchList)->suspendPolicy > policy) in scanSuspendPolicy() 567 policy = (*matchList)->suspendPolicy; in scanSuspendPolicy() 571 return policy; in scanSuspendPolicy()
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/ |
D | CertPathReviewerMessages_de.properties | 253 ## check policy errors 255 # error processing certificate policy extension 257 …ror.text = Policy checking failed: there was an error processing the certificate policy extension. 258 CertPathReviewer.policyExtError.summary = Error processing the certificate policy extension. 259 ….details = Policy checking failed: there was an error processing the certificate policy extension. 261 # error processing policy constraints extension 263 …xtError.text = Policy checking failed: there was an error processing the policy constraints extens… 264 CertPathReviewer.policyConstExtError.summary = Error processing the policy constraints extension. 265 …rror.details = Policy checking failed: there was an error processing the policy constraints extens… 267 # error processing policy mapping extension [all …]
|
D | CertPathReviewerMessages.properties | 253 ## check policy errors 255 # error processing certificate policy extension 257 …ror.text = Policy checking failed: there was an error processing the certificate policy extension. 258 CertPathReviewer.policyExtError.summary = Error processing the certificate policy extension. 259 ….details = Policy checking failed: there was an error processing the certificate policy extension. 261 # error processing policy constraints extension 263 …xtError.text = Policy checking failed: there was an error processing the policy constraints extens… 264 CertPathReviewer.policyConstExtError.summary = Error processing the policy constraints extension. 265 …rror.details = Policy checking failed: there was an error processing the policy constraints extens… 267 # error processing policy mapping extension [all …]
|
/dalvik/libcore/security/src/main/files/cacerts/ |
D | cdaebb72.0 | 39 CPS: http://www.pkioverheid.nl/policies/root-policy
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
D | ExternalMessages.properties | 142 K00a2=Parsing policy file\: {0}, expected quoted {1}, found unquoted\: {2} 143 K00a3=Parsing policy file\: {0}, found unexpected\: {1} 146 K00a8=Parsing policy file\: {0}, invalid codesource URL\: {1}
|
/dalvik/libcore/auth/src/main/java/org/apache/harmony/auth/internal/nls/ |
D | messages.properties | 26 auth.08=Failed to load Subject-based policy
|
/dalvik/vm/ |
D | Thread.c | 3234 int policy; // pthread policy in dvmDumpThreadEx() local 3249 if (pthread_getschedparam(pthread_self(), &policy, &sp) != 0) { in dvmDumpThreadEx() 3251 policy = -1; in dvmDumpThreadEx() 3289 policy, sp.sched_priority, schedulerGroupBuf, (int)thread->handle); in dvmDumpThreadEx()
|