Home
last modified time | relevance | path

Searched refs:cookieManager (Results 1 – 11 of 11) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DCookieManagerTest.java22 CookieManager cookieManager = CookieManager.getInstance(); in shouldSetAndGetACookie() local
25 cookieManager.setCookie(url, value); in shouldSetAndGetACookie()
26 assertThat(cookieManager.getCookie(url), is(value)); in shouldSetAndGetACookie()
31 CookieManager cookieManager = CookieManager.getInstance(); in shouldGetCookieForUrl() local
34 cookieManager.setCookie(url1, value1); in shouldGetCookieForUrl()
38 cookieManager.setCookie(url2, value2); in shouldGetCookieForUrl()
40 assertThat(cookieManager.getCookie("http://www.google.com"), is(value1)); in shouldGetCookieForUrl()
41 assertThat(cookieManager.getCookie(url2), is(value2)); in shouldGetCookieForUrl()
46 CookieManager cookieManager = CookieManager.getInstance(); in shouldRecordAcceptCookie() local
47 cookieManager.setCookie("foo", "bar"); in shouldRecordAcceptCookie()
[all …]
/external/webkit/Source/WebKit2/UIProcess/API/C/
DWKCookieManager.h43 typedef void (*WKCookieManagerCookiesDidChangeCallback)(WKCookieManagerRef cookieManager, const voi…
54 WK_EXPORT void WKCookieManagerSetClient(WKCookieManagerRef cookieManager, const WKCookieManagerClie…
57 WK_EXPORT void WKCookieManagerGetHostnamesWithCookies(WKCookieManagerRef cookieManager, void* conte…
59 WK_EXPORT void WKCookieManagerDeleteCookiesForHostname(WKCookieManagerRef cookieManager, WKStringRe…
60 WK_EXPORT void WKCookieManagerDeleteAllCookies(WKCookieManagerRef cookieManager);
62 WK_EXPORT void WKCookieManagerSetHTTPCookieAcceptPolicy(WKCookieManagerRef cookieManager, WKHTTPCoo…
64 WK_EXPORT void WKCookieManagerGetHTTPCookieAcceptPolicy(WKCookieManagerRef cookieManager, void* con…
66 WK_EXPORT void WKCookieManagerStartObservingCookieChanges(WKCookieManagerRef cookieManager);
67 WK_EXPORT void WKCookieManagerStopObservingCookieChanges(WKCookieManagerRef cookieManager);
DWKCookieManager.cpp61 void WKCookieManagerSetHTTPCookieAcceptPolicy(WKCookieManagerRef cookieManager, WKHTTPCookieAcceptP… in WKCookieManagerSetHTTPCookieAcceptPolicy() argument
63 toImpl(cookieManager)->setHTTPCookieAcceptPolicy(toHTTPCookieAcceptPolicy(policy)); in WKCookieManagerSetHTTPCookieAcceptPolicy()
66 void WKCookieManagerGetHTTPCookieAcceptPolicy(WKCookieManagerRef cookieManager, void* context, WKCo… in WKCookieManagerGetHTTPCookieAcceptPolicy() argument
68 …toImpl(cookieManager)->getHTTPCookieAcceptPolicy(HTTPCookieAcceptPolicyCallback::create(context, c… in WKCookieManagerGetHTTPCookieAcceptPolicy()
71 void WKCookieManagerStartObservingCookieChanges(WKCookieManagerRef cookieManager) in WKCookieManagerStartObservingCookieChanges() argument
73 toImpl(cookieManager)->startObservingCookieChanges(); in WKCookieManagerStartObservingCookieChanges()
76 void WKCookieManagerStopObservingCookieChanges(WKCookieManagerRef cookieManager) in WKCookieManagerStopObservingCookieChanges() argument
78 toImpl(cookieManager)->stopObservingCookieChanges(); in WKCookieManagerStopObservingCookieChanges()
/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/
DCookieManager.cpp46 WKCookieManagerRef cookieManager = WKContextGetCookieManager(wkContext.get()); in didGetTestHTTPCookieAcceptPolicy() local
47 WKCookieManagerSetHTTPCookieAcceptPolicy(cookieManager, userPolicy); in didGetTestHTTPCookieAcceptPolicy()
60 WKCookieManagerRef cookieManager = WKContextGetCookieManager(wkContext.get()); in didGetUserHTTPCookieAcceptPolicy() local
61 WKCookieManagerSetHTTPCookieAcceptPolicy(cookieManager, testPolicy); in didGetUserHTTPCookieAcceptPolicy()
62 …WKCookieManagerGetHTTPCookieAcceptPolicy(cookieManager, reinterpret_cast<void*>(0x1234578), didGet… in didGetUserHTTPCookieAcceptPolicy()
67 WKCookieManagerRef cookieManager = WKContextGetCookieManager(wkContext.get()); in didFinishLoadForFrame() local
68 …WKCookieManagerGetHTTPCookieAcceptPolicy(cookieManager, reinterpret_cast<void*>(0x1234578), didGet… in didFinishLoadForFrame()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DCookieManagerTest.java213 CookieManager cookieManager = new CookieManager(); in test_CookieManager() local
214 assertNotNull(cookieManager); in test_CookieManager()
215 assertNotNull(cookieManager.getCookieStore()); in test_CookieManager()
254 CookieManager cookieManager = new CookieManager(store, in testCookieManager_LCookieStore_LCookiePolicy() local
256 assertEquals("A dummy store", ((DummyStore) cookieManager in testCookieManager_LCookieStore_LCookiePolicy()
258 assertSame(store, cookieManager.getCookieStore()); in testCookieManager_LCookieStore_LCookiePolicy()
301 CookieManager cookieManager = new CookieManager(); in test_GetCookieStore() local
302 CookieStore store = cookieManager.getCookieStore(); in test_GetCookieStore()
DCookieStoreTest.java31 private CookieManager cookieManager; field in CookieStoreTest
399 cookieManager = new CookieManager(); in setUp()
400 cookieStore = cookieManager.getCookieStore(); in setUp()
405 cookieManager = null; in tearDown()
/external/webkit/Source/WebKit2/UIProcess/
DWebCookieManagerProxyClient.cpp33 void WebCookieManagerProxyClient::cookiesDidChange(WebCookieManagerProxy* cookieManager) in cookiesDidChange() argument
38 m_client.cookiesDidChange(toAPI(cookieManager), m_client.clientInfo); in cookiesDidChange()
/external/webkit/Source/WebKit/android/jni/
DCookieManager.cpp153 jclass cookieManager = env->FindClass(javaCookieManagerClass); in registerCookieManager() local
154 ALOG_ASSERT(cookieManager, "Unable to find class"); in registerCookieManager()
155 env->DeleteLocalRef(cookieManager); in registerCookieManager()
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
DHttpOverSpdyTest.java215 CookieManager cookieManager = new CookieManager(); in acceptAndTransmitCookies() local
216 client.setCookieHandler(cookieManager); in acceptAndTransmitCookies()
227 cookieManager.get(url.toURI(), requestHeaders)); in acceptAndTransmitCookies()
/external/webkit/Tools/DumpRenderTree/win/
DDumpRenderTree.cpp119 COMPtr<IWebCookieManager> cookieManager; in setAlwaysAcceptCookies() local
120 …tance(CLSID_WebCookieManager, 0, IID_IWebCookieManager, reinterpret_cast<void**>(&cookieManager)))) in setAlwaysAcceptCookies()
123 if (FAILED(cookieManager->cookieStorage(&cookieStorage)) || !cookieStorage) in setAlwaysAcceptCookies()
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
DHttpResponseCacheTest.java91 private final CookieManager cookieManager = new CookieManager(); field in HttpResponseCacheTest
109 CookieHandler.setDefault(cookieManager); in setUp()
1545 for (HttpCookie cookie : cookieManager.getCookieStore().get(url.toURI())) { in assertCookies()