OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:cookieManager
(Results
1 - 11
of
11
) sorted by null
/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
...]
/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
...]
/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/
CookieManager.cpp
46
WKCookieManagerRef
cookieManager
= WKContextGetCookieManager(wkContext.get());
47
WKCookieManagerSetHTTPCookieAcceptPolicy(
cookieManager
, userPolicy);
60
WKCookieManagerRef
cookieManager
= WKContextGetCookieManager(wkContext.get());
61
WKCookieManagerSetHTTPCookieAcceptPolicy(
cookieManager
, testPolicy);
62
WKCookieManagerGetHTTPCookieAcceptPolicy(
cookieManager
, reinterpret_cast<void*>(0x1234578), didGetTestHTTPCookieAcceptPolicy);
67
WKCookieManagerRef
cookieManager
= WKContextGetCookieManager(wkContext.get());
68
WKCookieManagerGetHTTPCookieAcceptPolicy(
cookieManager
, reinterpret_cast<void*>(0x1234578), didGetUserHTTPCookieAcceptPolicy);
71
TEST(WebKit2,
CookieManager
)
/external/webkit/Source/WebKit/android/jni/
CookieManager.cpp
153
jclass
cookieManager
= env->FindClass(javaCookieManagerClass);
154
ALOG_ASSERT(
cookieManager
, "Unable to find class");
155
env->DeleteLocalRef(
cookieManager
);
/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;
/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/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
HttpOverSpdyTest.java
32
import java.net.
CookieManager
;
215
CookieManager
cookieManager
= new
CookieManager
();
216
client.setCookieHandler(
cookieManager
);
227
cookieManager
.get(url.toURI(), requestHeaders));
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
HttpResponseCacheTest.java
35
import java.net.
CookieManager
;
91
private final
CookieManager
cookieManager
= new
CookieManager
();
109
CookieHandler.setDefault(
cookieManager
);
[
all
...]
/external/webkit/Tools/DumpRenderTree/win/
DumpRenderTree.cpp
119
COMPtr<IWebCookieManager>
cookieManager
;
120
if (FAILED(WebKitCreateInstance(CLSID_WebCookieManager, 0, IID_IWebCookieManager, reinterpret_cast<void**>(&
cookieManager
))))
123
if (FAILED(
cookieManager
->cookieStorage(&cookieStorage)) || !cookieStorage)
[
all
...]
/libcore/luni/src/test/java/libcore/net/http/
HttpResponseCacheTest.java
35
import java.net.
CookieManager
;
72
private final
CookieManager
cookieManager
= new
CookieManager
();
82
CookieHandler.setDefault(
cookieManager
);
[
all
...]
Completed in 344 milliseconds