Home
last modified time | relevance | path

Searched refs:Policy (Results 1 – 10 of 10) sorted by relevance

/libcore/ojluni/src/main/java/java/security/
DPolicy.java37 public abstract class Policy { class
42 public static Policy getPolicy() in getPolicy()
47 public static void setPolicy(Policy p) in setPolicy()
51 public static Policy getInstance(String type, Policy.Parameters params) in getInstance()
56 public static Policy getInstance(String type, in getInstance()
57 Policy.Parameters params, in getInstance()
64 public static Policy getInstance(String type, in getInstance()
65 Policy.Parameters params, in getInstance()
79 public Policy.Parameters getParameters() { in getParameters()
DPolicySpi.java92 return Policy.UNSUPPORTED_EMPTY_COLLECTION; in engineGetPermissions()
116 return Policy.UNSUPPORTED_EMPTY_COLLECTION; in engineGetPermissions()
/libcore/dalvik/src/main/java/dalvik/system/
DBlockGuard.java52 public interface Policy { interface in BlockGuard
122 public static final Policy LAX_POLICY = new Policy() {
132 private static ThreadLocal<Policy> threadPolicy = new ThreadLocal<Policy>() {
133 @Override protected Policy initialValue() {
144 public static Policy getThreadPolicy() { in getThreadPolicy()
154 public static void setThreadPolicy(Policy policy) { in setThreadPolicy()
/libcore/luni/src/test/java/libcore/libcore/io/
DBlockGuardOsTest.java59 @Mock private BlockGuard.Policy mockThreadPolicy;
61 private BlockGuard.Policy savedThreadPolicy;
/libcore/luni/src/test/java/libcore/dalvik/system/
DPathClassLoaderTest.java130 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); in test_classLoader_exceptionDuringLoading()
131 BlockGuard.setThreadPolicy(new BlockGuard.Policy() { in test_classLoader_exceptionDuringLoading()
DBlockGuardTest.java37 private BlockGuard.Policy oldPolicy;
269 public static class RecordingPolicy implements BlockGuard.Policy {
/libcore/jsr166-tests/src/test/java/jsr166/
DJSR166TestCase.java27 import java.security.Policy;
1148 public static class AdjustablePolicy extends java.security.Policy {
1177 public static Policy permissivePolicy() {
/libcore/ojluni/src/main/java/java/lang/
DClassLoader.java38 import java.security.Policy;
/libcore/luni/src/test/java/libcore/java/net/
DURLTest.java893 final BlockGuard.Policy oldPolicy = BlockGuard.getThreadPolicy(); in testHashCodeAndEqualsDoesNotPerformNetworkIo()
894 BlockGuard.setThreadPolicy(new BlockGuard.Policy() { in testHashCodeAndEqualsDoesNotPerformNetworkIo()
/libcore/
Dopenjdk_java_files.bp641 "ojluni/src/main/java/java/security/Policy.java",