Home
last modified time | relevance | path

Searched refs:CookieManager (Results 1 – 13 of 13) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCookieManagerTest.java5 import android.webkit.CookieManager;
15 private final CookieManager cookieManager = CookieManager.getInstance();
19 assertThat(CookieManager.getInstance()).isNotNull(); in shouldGetASingletonInstance()
20 assertThat(CookieManager.getInstance()).isSameInstanceAs(CookieManager.getInstance()); in shouldGetASingletonInstance()
25 CookieManager cookieManager = CookieManager.getInstance(); in shouldSetAndGetACookie()
34 CookieManager cookieManager = CookieManager.getInstance(); in shouldGetCookieForUrl()
49 CookieManager cookieManager = CookieManager.getInstance(); in shouldGetCookieForHostInDomain()
58 CookieManager cookieManager = CookieManager.getInstance(); in shouldNotGetCookieForHostNotInDomain()
67 CookieManager cookieManager = CookieManager.getInstance(); in shouldGetCookieForHostInSubDomain()
76 CookieManager cookieManager = CookieManager.getInstance(); in shouldGetCookieForHostInDomainDefinedWithProtocol()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DCookiesTest.java26 import java.net.CookieManager;
64 CookieManager cookieManager = new CookieManager(null, ACCEPT_ORIGINAL_SERVER); in testNetscapeResponse()
92 CookieManager cookieManager = new CookieManager(null, ACCEPT_ORIGINAL_SERVER); in testRfc2109Response()
122 CookieManager cookieManager = new CookieManager(null, ACCEPT_ORIGINAL_SERVER); in testRfc2965Response()
156 CookieManager cookieManager = new CookieManager(null, ACCEPT_ORIGINAL_SERVER); in testQuotedAttributeValues()
194 CookieManager cookieManager = new CookieManager(null, ACCEPT_ORIGINAL_SERVER); in testSendingCookiesFromStore()
228 CookieManager cookieManager = new CookieManager(null, ACCEPT_ORIGINAL_SERVER); in testRedirectsDoNotIncludeTooManyCookies()
263 CookieHandler.setDefault(new CookieManager() { in testHeadersSentToCookieHandler()
317 CookieHandler.setDefault(new CookieManager() { in testCookiesSentIgnoresCase()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCookieManager.java3 import android.webkit.CookieManager;
9 @Implements(CookieManager.class)
20 protected static CookieManager getInstance() { in getInstance()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DOkHttpClientTest.java27 import java.net.CookieManager;
49 private static final CookieHandler DEFAULT_COOKIE_HANDLER = CookieManager.getDefault();
55 CookieManager.setDefault(DEFAULT_COOKIE_HANDLER); in tearDown()
114 CookieManager cookieManager = new CookieManager(); in copyWithDefaultsWhenDefaultIsGlobal()
120 CookieManager.setDefault(cookieManager); in copyWithDefaultsWhenDefaultIsGlobal()
DCallTest.java36 import java.net.CookieManager;
1408 CookieManager cookieManager = new CookieManager(null, ACCEPT_ORIGINAL_SERVER); in redirectsDoNotIncludeTooManyCookies()
DCacheTest.java29 import java.net.CookieManager;
83 private final CookieManager cookieManager = new CookieManager();
/external/apache-http/android/src/android/net/http/
DRequestHandle.java20 import android.webkit.CookieManager;
184 cookie = CookieManager.getInstance().getCookie(mUri.toString()); in setupRedirect()
/external/libchrome/base/threading/
Dthread_restrictions.h20 class CookieManager; variable
456 friend class android_webview::CookieManager;
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DPlayerActivity.java65 import java.net.CookieManager;
81 private static final CookieManager DEFAULT_COOKIE_MANAGER;
84 DEFAULT_COOKIE_MANAGER = new CookieManager();
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttpOverSpdyTest.java35 import java.net.CookieManager;
374 CookieManager cookieManager = new CookieManager(); in acceptAndTransmitCookies()
/external/robolectric-shadows/shadows/framework/src/main/java/android/webkit/
DRoboCookieManager.java19 public class RoboCookieManager extends CookieManager {
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DResponseCacheTest.java40 import java.net.CookieManager;
101 private CookieManager cookieManager;
111 cookieManager = new CookieManager(); in setUp()
112 CookieManager.setDefault(cookieManager); in setUp()
116 CookieManager.setDefault(null); in tearDown()
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DUrlConnectionCacheTest.java34 import java.net.CookieManager;
88 private final CookieManager cookieManager = new CookieManager();