Home
last modified time | relevance | path

Searched refs:cookie (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/webkit/src/android/webkit/cts/
DCookieTest.java70 String cookie = mCookieManager.getCookie(url); in testDomain() local
71 assertTrue(cookie.equals("a=b")); in testDomain()
74 cookie = mCookieManager.getCookie("http://bar.com"); in testDomain()
75 assertTrue(cookie == null); in testDomain()
79 cookie = mCookieManager.getCookie(url); in testDomain()
80 assertTrue(cookie.contains("a=b;")); in testDomain()
81 assertTrue(cookie.contains("c=d")); in testDomain()
84 cookie = mCookieManager.getCookie("http://bar.www.foo.com"); in testDomain()
85 assertTrue(cookie.equals("c=d")); in testDomain()
90 cookie = mCookieManager.getCookie(url); in testDomain()
[all …]
DCookieManagerTest.java115 String cookie = mCookieManager.getCookie(url); in testAcceptCookie() local
116 assertNotNull(cookie); in testAcceptCookie()
119 Matcher m = pat.matcher(cookie); in testAcceptCookie()
127 cookie = mCookieManager.getCookie(url); in testAcceptCookie()
128 assertNotNull(cookie); in testAcceptCookie()
129 m = pat.matcher(cookie); in testAcceptCookie()
138 cookie = mCookieManager.getCookie(url); in testAcceptCookie()
139 assertNotNull(cookie); in testAcceptCookie()
140 m = pat.matcher(cookie); in testAcceptCookie()
151 String cookie = "name=test"; in testSetCookie() local
[all …]
/cts/hostsidetests/appsecurity/test-apps/InstantCookieApp/src/test/instant/cookie/
DCookieTest.java17 package test.instant.cookie;
43 byte[] cookie = pm.getInstantAppCookie(); in testCookieUpdateAndRetrieval()
44 assertTrue(cookie != null && cookie.length == 0); in testCookieUpdateAndRetrieval()
113 byte[] cookie = pm.getInstantAppCookie(); in testCookieResetOnNonInstantReinstall2()
114 assertTrue(cookie != null && cookie.length == 0); in testCookieResetOnNonInstantReinstall2()
/cts/tests/tests/content/src/android/content/cts/
DAsyncQueryHandlerTest.java275 private void startQuery(int token, Object cookie, Uri uri, String[] projection, in startQuery() argument
280 mAsyncHandler.startQuery(token, cookie, uri, projection, in startQuery()
284 private void startInsert(int token, Object cookie, Uri uri, in startInsert() argument
289 mAsyncHandler.startInsert(token, cookie, uri, initialValues); in startInsert()
292 private void startUpdate(int token, Object cookie, Uri uri, ContentValues values, in startUpdate() argument
297 mAsyncHandler.startUpdate(token, cookie, uri, values, selection, selectionArgs); in startUpdate()
300 private void startDelete(int token, Object cookie, Uri uri, String selection, in startDelete() argument
305 mAsyncHandler.startDelete(token, cookie, uri, selection, selectionArgs); in startDelete()
338 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument
339 super.onDeleteComplete(token, cookie, result); in onDeleteComplete()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DStreamingMediaPlayerTest.java205 HttpCookie cookie = new HttpCookie(cookieName, cookieValue); in testHlsWithHeadersCookies() local
206 cookie.setHttpOnly(true); in testHlsWithHeadersCookies()
207 cookie.setDomain("www.youtube.com"); in testHlsWithHeadersCookies()
208 cookie.setPath("/"); // all paths in testHlsWithHeadersCookies()
209 cookie.setSecure(false); in testHlsWithHeadersCookies()
210 cookie.setDiscard(false); in testHlsWithHeadersCookies()
211 cookie.setMaxAge(24 * 3600); // 24hrs in testHlsWithHeadersCookies()
214 cookies.add(cookie); in testHlsWithHeadersCookies()
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewDeviceSideStartupTest.java98 String cookie = cookieManager.getCookie(url); in testCookieManagerBlockingUiThread() local
99 assertNotNull(cookie); in testCookieManagerBlockingUiThread()
101 Matcher m = pat.matcher(cookie); in testCookieManagerBlockingUiThread()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java35 import org.apache.http.impl.cookie.DateUtils;
678 for (Header cookie : cookies) { in getResponse()
680 String value = cookie.getValue(); in getResponse()
695 String cookie = key + "=" + value; in getResponse() local
696 response.addHeader("Set-Cookie", cookie); in getResponse()
697 response.setEntity(createPage(cookie, cookie)); in getResponse()
DTestWebServer.java23 import org.apache.http.impl.cookie.DateUtils;
/cts/tools/dex-tools/dex/
Dclasses.out.dex17546 public java.lang.Object cookie
45549 private org.apache.http.cookie.CookieSpecRegistry supportedCookieSpecs
45603 protected abstract org.apache.http.cookie.CookieSpecRegistry createCookieSpecRegistry()
45680 public final org.apache.http.cookie.CookieSpecRegistry getCookieSpecs()
45724 org.apache.http.cookie.CookieSpecRegistry)
45784 protected org.apache.http.cookie.CookieSpecRegistry createCookieSpecRegistry()
58905 public java.lang.Object cookie
121102 public java.lang.Object cookie
145305 org.apache.http.cookie.Cookie)
145311 @dalvik.annotation.Signature (value =()Ljava/util/List<Lorg/apache/http/cookie/Cookie;>; )
[all …]