Home
last modified time | relevance | path

Searched refs:shouldAccept (Results 1 – 3 of 3) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DCookiePolicyTest.java39 accept = CookiePolicy.ACCEPT_ALL.shouldAccept(null, cookie); in test_ShouldAccept_LURI_LHttpCookie()
42 accept = CookiePolicy.ACCEPT_ALL.shouldAccept(null, null); in test_ShouldAccept_LURI_LHttpCookie()
45 accept = CookiePolicy.ACCEPT_ALL.shouldAccept(uri, null); in test_ShouldAccept_LURI_LHttpCookie()
49 accept = CookiePolicy.ACCEPT_NONE.shouldAccept(null, cookie); in test_ShouldAccept_LURI_LHttpCookie()
52 accept = CookiePolicy.ACCEPT_NONE.shouldAccept(null, null); in test_ShouldAccept_LURI_LHttpCookie()
55 accept = CookiePolicy.ACCEPT_NONE.shouldAccept(uri, null); in test_ShouldAccept_LURI_LHttpCookie()
59 accept = CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(uri, cookie); in test_ShouldAccept_LURI_LHttpCookie()
63 accept = CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(new URI( in test_ShouldAccept_LURI_LHttpCookie()
68 accept = CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(new URI( in test_ShouldAccept_LURI_LHttpCookie()
73 accept = CookiePolicy.ACCEPT_ORIGINAL_SERVER.shouldAccept(new URI( in test_ShouldAccept_LURI_LHttpCookie()
[all …]
/libcore/ojluni/src/main/java/java/net/
DCookiePolicy.java43 public boolean shouldAccept(URI uri, HttpCookie cookie) {
52 public boolean shouldAccept(URI uri, HttpCookie cookie) {
61 public boolean shouldAccept(URI uri, HttpCookie cookie) {
77 public boolean shouldAccept(URI uri, HttpCookie cookie); in shouldAccept() method
DCookieManager.java378 return policyCallback.shouldAccept(uri, cookie); in shouldAcceptInternal()