Home
last modified time | relevance | path

Searched refs:setMaxAge (Results 1 – 4 of 4) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DHttpCookieTest.java273 cookie.setMaxAge(Long.MAX_VALUE); in test_Get_SetMaxAge()
276 cookie.setMaxAge(Long.MIN_VALUE); in test_Get_SetMaxAge()
327 cookie.setMaxAge(-1); in test_Get_SetDiscard()
374 cookie.setMaxAge(0); in test_HasExpired()
377 cookie.setMaxAge(Long.MAX_VALUE); in test_HasExpired()
381 cookie.setMaxAge(Long.MIN_VALUE); in test_HasExpired()
386 cookie.setMaxAge(-1); in test_HasExpired()
408 cookie1.setMaxAge(2); in test_HasExpiredBug25682357()
459 cookie.setMaxAge(-1234); in test_Equals()
470 cookie.setMaxAge(33l); in test_Clone()
[all …]
/libcore/luni/src/test/java/libcore/java/net/
DAbstractCookiesTest.java719 valueCookie.setMaxAge(12345L); in testCookieEquality()
906 cookie4.setMaxAge(-2); in test_add_LURI_LHttpCookie()
913 cookie4.setMaxAge(3000); in test_add_LURI_LHttpCookie()
978 cookie5.setMaxAge(-333); in test_get_LURI()
987 cookie4.setMaxAge(-123); in test_get_LURI()
994 cookie6.setMaxAge(-2); in test_get_LURI()
1036 cookie3.setMaxAge(-1357); in test_getCookies()
1132 cookie2.setMaxAge(-34857); in test_remove_LURI_LHttpCookie()
1138 cookie2.setMaxAge(34857); in test_remove_LURI_LHttpCookie()
1164 cookie2.setMaxAge(-34857); in test_remove_LURI_LHttpCookie()
[all …]
/libcore/ojluni/src/main/java/java/net/
DHttpCookie.java424 public void setMaxAge(long expiry) { in setMaxAge() method in HttpCookie
944 cookie.setMaxAge(maxage);
1012 cookie.setMaxAge(maxAgeInSeconds);
/libcore/ojluni/annotations/hiddenapi/java/net/
DHttpCookie.java95 public void setMaxAge(long expiry) { in setMaxAge() method in HttpCookie