Home
last modified time | relevance | path

Searched refs:getDomain (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DCookiePolicy.java64 return HttpCookie.domainMatches(cookie.getDomain(), uri.getHost());
DHttpCookie.java401 public String getDomain() { in getDomain() method in HttpCookie
757 equalsIgnoreCase(getDomain(), other.getDomain()) && in equals()
933 if (cookie.getDomain() == null)
1077 if (getDomain() != null) in toRFC2965HeaderString()
1078 sb.append(";$Domain=\"").append(getDomain()).append('"'); in toRFC2965HeaderString()
DInMemoryCookieStore.java329 String domain = c.getDomain(); in getInternal1()
DCookieManager.java330 if (cookie.getDomain() == null) { in put()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DHttpCookieTest.java287 assertNull(cookie.getDomain()); in test_Get_SetDomain()
290 assertEquals("a.b.d.c.com.", cookie.getDomain()); in test_Get_SetDomain()
293 assertEquals(" a.b.d.c.com. ", cookie.getDomain()); in test_Get_SetDomain()
297 assertEquals("xy.foo.bar.de.edu", cookie.getDomain()); in test_Get_SetDomain()
657 assertNull(cookie.getDomain()); in test_Parse()
691 assertEquals("x.y", cookie.getDomain()); in test_Parse()
722 assertEquals("a_domain", cookie.getDomain()); in test_Parse()
827 assertNotNull(cookie.getDomain()); in test_Parse()
980 assertEquals(".b.c", cookie.getDomain());
/libcore/luni/src/test/java/libcore/java/net/
DAbstractCookiesTest.java112 assertEquals(server.getCookieDomain(), cookie.getDomain()); in testNetscapeResponse()
142 assertEquals(server.getCookieDomain(), cookie.getDomain()); in testRfc2109Response()
175 assertEquals(server.getCookieDomain(), cookie.getDomain()); in testRfc2965Response()
210 assertEquals(server.getCookieDomain(), cookie.getDomain()); in testQuotedAttributeValues()
236 assertEquals("android.com", cookieStore.getCookie("a").getDomain()); in testDomainDefaulting()
252 assertEquals(".android.com", cookieStore.getCookie("a").getDomain()); in testMatchingDomainsAccepted()
516 assertEquals("localhost", cookie.getDomain()); in testDomainNotAutomaticallyPrefixedWithDot()
891 assertNull(list.get(0).getDomain()); in test_add_LURI_LHttpCookie()
892 assertEquals("domain", list.get(1).getDomain()); in test_add_LURI_LHttpCookie()
/libcore/ojluni/annotations/hiddenapi/java/net/
DHttpCookie.java91 public java.lang.String getDomain() { in getDomain() method in HttpCookie
/libcore/ojluni/src/main/java/sun/security/x509/
DX500Name.java526 public String getDomain() throws IOException { in getDomain() method in X500Name