Home
last modified time | relevance | path

Searched refs:shouldAccept (Results 1 – 4 of 4) 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.java375 return policyCallback.shouldAccept(uri, cookie); in shouldAcceptInternal()
/libcore/api/
Dcurrent.txt5100 method public boolean shouldAccept(java.net.URI, java.net.HttpCookie);