Searched refs:domainMatches (Results 1 – 7 of 7) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | HttpCookieTest.java | 109 boolean match = HttpCookie.domainMatches("hostname", "hostname"); in test_DomainMatches() 112 match = HttpCookie.domainMatches(".com", "test.com"); in test_DomainMatches() 115 match = HttpCookie.domainMatches(".com.", "test.com"); in test_DomainMatches() 120 match = HttpCookie.domainMatches(".local", "hostname"); in test_DomainMatches() 128 match = HttpCookie.domainMatches(".c.d", "a.b.c.d"); in test_DomainMatches() 131 match = HttpCookie.domainMatches("c.d", "a.b.c.d"); in test_DomainMatches() 134 match = HttpCookie.domainMatches(".foo.com", "y.x.foo.com"); in test_DomainMatches() 137 match = HttpCookie.domainMatches(".foo.com", "x.foo.com"); in test_DomainMatches() 140 match = HttpCookie.domainMatches(".local", "hostname.local"); in test_DomainMatches() 143 match = HttpCookie.domainMatches(".ajax.com", "a.ajax.com"); in test_DomainMatches() [all …]
|
/libcore/ojluni/src/main/java/java/net/ |
D | CookiePolicy.java | 64 return HttpCookie.domainMatches(cookie.getDomain(), uri.getHost());
|
D | InMemoryCookieStore.java | 331 (c.getVersion() == 1 && HttpCookie.domainMatches(domain, host))) { in getInternal1()
|
D | HttpCookie.java | 660 public static boolean domainMatches(String domain, String host) { in domainMatches() method in HttpCookie
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | AbstractCookiesTest.java | 480 assertFalse(HttpCookie.domainMatches("localhost", "localhost")); in testDomainMatchesOnLocalAddresses() 481 assertFalse(HttpCookie.domainMatches("b", "b")); in testDomainMatchesOnLocalAddresses() 485 assertTrue(HttpCookie.domainMatches("127.0.0.1", "127.0.0.1")); in testDomainMatchesOnIpAddress() 486 assertFalse(HttpCookie.domainMatches("127.0.0.1", "127.0.0.0")); in testDomainMatchesOnIpAddress() 487 assertFalse(HttpCookie.domainMatches("127.0.0.1", "localhost")); in testDomainMatchesOnIpAddress() 502 assertTrue(HttpCookie.domainMatches(".android.com", "WWW.ANDROID.COM")); in testDomainMatchesCaseMapping() 503 assertFalse(HttpCookie.domainMatches("android.com", "WWW.ANDROID.COM")); in testDomainMatchesCaseMapping()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | HttpCookie.java | 147 public static boolean domainMatches(java.lang.String domain, java.lang.String host) { in domainMatches() method in HttpCookie
|
/libcore/api/ |
D | current.txt | 5034 method public static boolean domainMatches(String, String);
|