OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cookieManager
(Results
1 - 8
of
8
) sorted by null
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
CookieManagerTest.java
3
import android.webkit.
CookieManager
;
16
assertNotNull(
CookieManager
.getInstance());
17
assertThat(
CookieManager
.getInstance(), is(
CookieManager
.getInstance()));
22
CookieManager
cookieManager
=
CookieManager
.getInstance();
25
cookieManager
.setCookie(url, value);
26
assertThat(
cookieManager
.getCookie(url), is(value));
31
CookieManager
cookieManager = CookieManager.getInstance()
[
all
...]
/cts/tests/tests/webkit/src/android/webkit/cts/
CookieSyncManagerTest.java
23
import android.webkit.
CookieManager
;
44
final
CookieManager
cookieManager
=
CookieManager
.getInstance();
47
cookieManager
.removeAllCookie();
51
return !
cookieManager
.hasCookies();
55
cookieManager
.setAcceptCookie(true);
56
assertTrue(
cookieManager
.acceptCookie());
61
cookieManager
.setCookie(url, cookieValue);
62
assertEquals(cookieValue,
cookieManager
.getCookie(url))
[
all
...]
WebViewStartupTest.java
25
import android.webkit.
CookieManager
;
58
CookieManager
cookieManager
=
CookieManager
.getInstance();
60
cookieManager
.removeAllCookie();
61
cookieManager
.setAcceptCookie(true);
62
cookieManager
.setCookie(url, "count=41");
74
CookieManager
cookieManager
=
CookieManager
.getInstance()
[
all
...]
/libcore/luni/src/test/java/libcore/java/net/
CookiesTest.java
24
import java.net.
CookieManager
;
48
CookieManager
cookieManager
= new
CookieManager
(null, ACCEPT_ORIGINAL_SERVER);
49
CookieHandler.setDefault(
cookieManager
);
60
List<HttpCookie> cookies =
cookieManager
.getCookieStore().getCookies();
76
CookieManager
cookieManager
= new
CookieManager
(null, ACCEPT_ORIGINAL_SERVER);
77
CookieHandler.setDefault(
cookieManager
);
[
all
...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
CookieManagerTest.java
19
import java.net.
CookieManager
;
37
CookieManager
manager = new
CookieManager
();
49
CookieManager
manager = new
CookieManager
();
60
* @tests {@link java.net.
CookieManager
#get(java.net.URI, java.util.Map)} &
61
* @tests {@link java.net.
CookieManager
#put(java.net.URI, java.util.Map)}
92
private static
CookieManager
store(String[][] cookies,
95
CookieManager
manager = new
CookieManager
(null, policy)
[
all
...]
CookieStoreTest.java
18
import java.net.
CookieManager
;
31
private
CookieManager
cookieManager
;
399
cookieManager
= new
CookieManager
();
400
cookieStore =
cookieManager
.getCookieStore();
405
cookieManager
= null;
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
HttpOverSpdyTest.java
32
import java.net.
CookieManager
;
234
CookieManager
cookieManager
= new
CookieManager
();
235
client.setCookieHandler(
cookieManager
);
246
cookieManager
.get(url.toURI(), requestHeaders));
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
HttpResponseCacheTest.java
37
import java.net.
CookieManager
;
94
private final
CookieManager
cookieManager
= new
CookieManager
();
112
CookieHandler.setDefault(
cookieManager
);
[
all
...]
Completed in 1259 milliseconds