Searched refs:Policy (Results 1 – 13 of 13) sorted by relevance
37 public abstract class Policy { class42 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()
92 return Policy.UNSUPPORTED_EMPTY_COLLECTION; in engineGetPermissions()116 return Policy.UNSUPPORTED_EMPTY_COLLECTION; in engineGetPermissions()
51 public interface Policy { interface in BlockGuard172 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()
130 BlockGuard.Policy policy = BlockGuard.getThreadPolicy(); in test_classLoader_exceptionDuringLoading()131 BlockGuard.setThreadPolicy(new BlockGuard.Policy() { in test_classLoader_exceptionDuringLoading()
37 private BlockGuard.Policy oldPolicy;308 private static class RecordingPolicy implements BlockGuard.Policy {
13 …tformApi @libcore.api.IntraCoreApi public static dalvik.system.BlockGuard.Policy getThreadPolicy();16 @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public static interface BlockGuard.Policy {
53 …tformApi @libcore.api.IntraCoreApi public static dalvik.system.BlockGuard.Policy getThreadPolicy();56 @libcore.api.CorePlatformApi @libcore.api.IntraCoreApi public static interface BlockGuard.Policy {
73 @Mock private BlockGuard.Policy mockThreadPolicy;76 private BlockGuard.Policy savedThreadPolicy;
27 import java.security.Policy;1148 public static class AdjustablePolicy extends java.security.Policy {1177 public static Policy permissivePolicy() {
38 import java.security.Policy;
913 final BlockGuard.Policy oldPolicy = BlockGuard.getThreadPolicy(); in testHashCodeAndEqualsDoesNotPerformNetworkIo()914 BlockGuard.setThreadPolicy(new BlockGuard.Policy() { in testHashCodeAndEqualsDoesNotPerformNetworkIo()
539 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 {
641 "ojluni/src/main/java/java/security/Policy.java",