Searched defs:policy (Results 1 - 6 of 6) sorted by last modified time

/libcore/dalvik/src/main/java/dalvik/system/
H A DBlockGuard.java70 * Returns the policy bitmask, for shipping over Binder calls
71 * to remote threads/processes and reinstantiating the policy
110 return "policy=" + mPolicyState + " violation=" + mPolicyViolated +
116 * The default, permissive policy that doesn't prevent any operations.
134 * Get the current thread's policy.
136 * @return the current thread's policy. Never returns null.
144 * Sets the current thread's block guard policy.
146 * @param policy policy to set. May not be null. Use the public LAX_POLICY
147 * if you want to unset the active policy
149 setThreadPolicy(Policy policy) argument
[all...]
/libcore/luni/src/main/java/java/net/
H A DCookieManager.java27 * the storage of cookies from the policy which decides to accept or deny
38 * the policy by implementing CookiePolicy. Any accepted HTTP cookie is stored
58 private CookiePolicy policy; field in class:CookieManager
77 * cookie policy.
88 policy = cookiePolicy == null ? CookiePolicy.ACCEPT_ORIGINAL_SERVER
167 // if the cookie doesn't have a domain, set one. The policy will do validation.
186 // if the cookie conforms to the policy, add it into the store
187 if (policy.shouldAccept(uri, cookie)) {
229 * Sets the cookie policy of this cookie manager.
231 * ACCEPT_ORIGINAL_SERVER is the default policy fo
[all...]
/libcore/luni/src/main/java/java/security/
H A DPolicy.java57 public static void setPolicy(Policy policy) { } argument
/libcore/luni/src/main/java/libcore/net/http/
H A DHttpEngine.java110 protected final HttpURLConnectionImpl policy; field in class:HttpEngine
187 public HttpEngine(HttpURLConnectionImpl policy, String method, RawHeaders requestHeaders, argument
189 this.policy = policy;
195 uri = policy.getURL().toURILenient();
253 if (!policy.getUseCaches() || responseCache == null) {
317 policy.getProxy(), requiresTunnel(), policy.getConnectTimeout());
320 policy.setProxy(proxy);
322 result.setSoTimeout(policy
[all...]
H A DHttpsURLConnectionImpl.java415 * @param policy the HttpURLConnectionImpl with connection configuration
418 private HttpsEngine(HttpURLConnectionImpl policy, String method, RawHeaders requestHeaders, argument
421 super(policy, method, requestHeaders, connection, requestBody);
463 makeTunnel(policy, connection, getRequestHeaders());
487 private void makeTunnel(HttpURLConnectionImpl policy, HttpConnection connection, argument
491 HttpEngine connect = new ProxyConnectEngine(policy, rawRequestHeaders, connection);
501 boolean credentialsFound = policy.processAuthHeader(HTTP_PROXY_AUTH,
533 public ProxyConnectEngine(HttpURLConnectionImpl policy, RawHeaders requestHeaders, argument
535 super(policy, HttpEngine.CONNECT, requestHeaders, connection, null);
545 URL url = policy
[all...]
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/
H A DTSTInfo.java43 * policy TSAPolicyId,
68 private final String policy; field in class:TSTInfo
86 public TSTInfo(int version, String policy, MessageImprint messageImprint, argument
91 this.policy = policy;
108 res.append(policy);
175 * @return Returns the policy.
178 return policy;
248 ASN1Oid.getInstance(), // policy
288 values[1] = ObjectIdentifier.toIntArray(info.policy);
[all...]

Completed in 1626 milliseconds