/libcore/luni/src/main/java/libcore/net/ |
D | NetworkSecurityPolicy.java | 37 public static void setInstance(NetworkSecurityPolicy policy) { in setInstance() argument 38 if (policy == null) { in setInstance() 41 instance = policy; in setInstance()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | BlockGuard.java | 148 public static void setThreadPolicy(Policy policy) { in setThreadPolicy() argument 149 if (policy == null) { in setThreadPolicy() 152 threadPolicy.set(policy); in setThreadPolicy()
|
/libcore/ojluni/src/main/java/sun/security/timestamp/ |
D | TimestampToken.java | 76 private ObjectIdentifier policy; field in TimestampToken 140 policy = tstInfo.data.getOID(); in parse()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | ProgressMonitor.java | 57 public static synchronized void setMeteringPolicy(ProgressMeteringPolicy policy) { in setMeteringPolicy() argument 58 if (policy != null) in setMeteringPolicy() 59 meteringPolicy = policy; in setMeteringPolicy()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | CryptoPolicyParser.java | 40 void read(Reader policy) in read() argument
|
/libcore/luni/src/test/java/libcore/net/ |
D | NetworkSecurityPolicyTest.java | 82 TestNetworkSecurityPolicy policy = new TestNetworkSecurityPolicy(false); in testHostnameAwareCleartextTrafficPolicySetterAndGetter() local 83 policy.addHostMapping("localhost", true); in testHostnameAwareCleartextTrafficPolicySetterAndGetter() 84 policy.addHostMapping("example.com", false); in testHostnameAwareCleartextTrafficPolicySetterAndGetter() 85 NetworkSecurityPolicy.setInstance(policy); in testHostnameAwareCleartextTrafficPolicySetterAndGetter()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | CertificatePoliciesExtension.java | 151 PolicyInformation policy = new PolicyInformation(seq); in CertificatePoliciesExtension() local 152 certPolicies.add(policy); in CertificatePoliciesExtension()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | X509CertSelector.java | 113 private CertificatePolicySet policy; field in X509CertSelector 1096 policy = null; in setPolicy() 1114 policy = new CertificatePolicySet(polIdVector); in setPolicy() 1877 if (policy != null) { in toString() 1878 sb.append(" Policy: " + policy.toString() + "\n"); in toString() 2389 if (policy == null) { in matchPolicy() 2411 if (policy != null) { in matchPolicy() 2418 if (policy.getCertPolicyIds().isEmpty()) { in matchPolicy() 2427 for (CertificatePolicyId id : policy.getCertPolicyIds()) { in matchPolicy()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | PolicyNodeImpl.java | 414 for (String policy : getExpectedPolicies()) { in asString() 415 sb.append(policyToString(policy)); in asString()
|
D | PolicyChecker.java | 620 for (String policy : initial) { in rewriteLeafNodes() 621 Set<String> expectedPolicies = Collections.singleton(policy); in rewriteLeafNodes() 622 PolicyNodeImpl node = new PolicyNodeImpl(parentNode, policy, in rewriteLeafNodes()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ScheduledExecutorTest.java | 744 for (Boolean policy : allBooleans) in testShutdown_cancellation() 749 final boolean effectiveDelayedPolicy = (policy != Boolean.FALSE); in testShutdown_cancellation() 750 final boolean effectivePeriodicPolicy = (policy == Boolean.TRUE); in testShutdown_cancellation() 751 final boolean effectiveRemovePolicy = (policy == Boolean.TRUE); in testShutdown_cancellation() 752 if (policy != null) { in testShutdown_cancellation() 753 p.setExecuteExistingDelayedTasksAfterShutdownPolicy(policy); in testShutdown_cancellation() 754 p.setContinueExistingPeriodicTasksAfterShutdownPolicy(policy); in testShutdown_cancellation() 755 p.setRemoveOnCancelPolicy(policy); in testShutdown_cancellation()
|
D | ScheduledExecutorSubclassTest.java | 796 for (Boolean policy : allBooleans) in testShutdown_cancellation() 800 final boolean effectiveDelayedPolicy = (policy != Boolean.FALSE); in testShutdown_cancellation() 801 final boolean effectivePeriodicPolicy = (policy == Boolean.TRUE); in testShutdown_cancellation() 802 final boolean effectiveRemovePolicy = (policy == Boolean.TRUE); in testShutdown_cancellation() 803 if (policy != null) { in testShutdown_cancellation() 804 p.setExecuteExistingDelayedTasksAfterShutdownPolicy(policy); in testShutdown_cancellation() 805 p.setContinueExistingPeriodicTasksAfterShutdownPolicy(policy); in testShutdown_cancellation() 806 p.setRemoveOnCancelPolicy(policy); in testShutdown_cancellation()
|
/libcore/support/src/test/java/tests/resources/x509/ |
D | default.cnf | 116 policy = policy_anything
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | AbstractCookiesTest.java | 1270 … Map<String, List<String>> responseHeaders, CookiePolicy policy) in store() argument 1272 CookieManager manager = new CookieManager(createCookieStore(), policy); in store()
|