Home
last modified time | relevance | path

Searched refs:Policy (Results 1 – 13 of 13) 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.java51 public interface Policy { interface in BlockGuard
172 public static final Policy LAX_POLICY = new Policy() {
196 private static ThreadLocal<Policy> threadPolicy = new ThreadLocal<Policy>() {
197 @Override protected Policy initialValue() {
213 public static @NonNull Policy getThreadPolicy() { in getThreadPolicy()
228 public static void setThreadPolicy(@NonNull Policy policy) { in setThreadPolicy()
/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;
308 private static class RecordingPolicy implements BlockGuard.Policy {
/libcore/mmodules/intracoreapi/api/intra/
Dlast-api.txt13 …tformApi @libcore.api.IntraCoreApi public static dalvik.system.BlockGuard.Policy getThreadPolicy();
16 @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public static interface BlockGuard.Policy {
Dcurrent-api.txt53 …tformApi @libcore.api.IntraCoreApi public static dalvik.system.BlockGuard.Policy getThreadPolicy();
56 @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public static interface BlockGuard.Policy {
/libcore/luni/src/test/java/libcore/libcore/io/
DBlockGuardOsTest.java73 @Mock private BlockGuard.Policy mockThreadPolicy;
76 private BlockGuard.Policy savedThreadPolicy;
/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.java913 final BlockGuard.Policy oldPolicy = BlockGuard.getThreadPolicy(); in testHashCodeAndEqualsDoesNotPerformNetworkIo()
914 BlockGuard.setThreadPolicy(new BlockGuard.Policy() { in testHashCodeAndEqualsDoesNotPerformNetworkIo()
/libcore/mmodules/core_platform_api/api/legacy_platform/
Dcurrent-api.txt539 method @NonNull public static dalvik.system.BlockGuard.Policy getThreadPolicy();
541 method public static void setThreadPolicy(@NonNull dalvik.system.BlockGuard.Policy);
543 field public static final dalvik.system.BlockGuard.Policy LAX_POLICY;
547 public static interface BlockGuard.Policy {
/libcore/
Dopenjdk_java_files.bp641 "ojluni/src/main/java/java/security/Policy.java",