Home
last modified time | relevance | path

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

/cts/tests/tests/webkit/src/android/webkit/cts/
DCookieTest.java70 String cookie = mCookieManager.getCookie(url); in testDomain() local
71 assertEquals("a=b", cookie); in testDomain()
74 cookie = mCookieManager.getCookie("http://bar.com"); in testDomain()
75 assertNull(cookie); 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 assertEquals("c=d", cookie); in testDomain()
90 cookie = mCookieManager.getCookie(url); in testDomain()
[all …]
DCookieManagerTest.java125 String cookie = mCookieManager.getCookie(url); in testAcceptCookie() local
126 assertNotNull(cookie); in testAcceptCookie()
129 Matcher m = pat.matcher(cookie); in testAcceptCookie()
137 cookie = mCookieManager.getCookie(url); in testAcceptCookie()
138 assertNotNull(cookie); in testAcceptCookie()
139 m = pat.matcher(cookie); in testAcceptCookie()
148 cookie = mCookieManager.getCookie(url); in testAcceptCookie()
149 assertNotNull(cookie); in testAcceptCookie()
150 m = pat.matcher(cookie); in testAcceptCookie()
161 String cookie = "name=test"; in testSetCookie() local
[all …]
DWebViewDataDirTest.java131 String cookie = cm.getCookie(COOKIE_URL); in run() local
132 assertNull("cookie leaked to alternate cookie jar", cookie); in run()
144 String cookie = cm.getCookie(COOKIE_URL); in testCookieJarsSeparate() local
145 assertEquals("wrong cookie in default cookie jar", COOKIE_VALUE, cookie); in testCookieJarsSeparate()
/cts/hostsidetests/appsecurity/test-apps/InstantCookieApp/src/test/instant/cookie/
DCookieTest.java17 package test.instant.cookie;
45 byte[] cookie = pm.getInstantAppCookie(); in testCookieUpdateAndRetrieval()
46 assertTrue(cookie != null && cookie.length == 0); in testCookieUpdateAndRetrieval()
115 byte[] cookie = pm.getInstantAppCookie(); in testCookieResetOnNonInstantReinstall2()
116 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/inputmethod/mockspellchecker/src/com/android/cts/mockspellchecker/
DMockSpellChecker.kt81 arrayOf(suggestionsInfo(it, textInfo.cookie, textInfo.sequence)), in matchSentenceSuggestion()
108 cookie: Int, in suggestionsInfo()
120 return SuggestionsInfo(attrs, suggestions, cookie, sequence) in suggestionsInfo()
/cts/tests/tests/media/src/android/media/cts/
DStreamingMediaPlayerTest.java207 HttpCookie cookie = new HttpCookie(cookieName, cookieValue); in testHlsWithHeadersCookies() local
208 cookie.setHttpOnly(true); in testHlsWithHeadersCookies()
209 cookie.setDomain("www.youtube.com"); in testHlsWithHeadersCookies()
210 cookie.setPath("/"); // all paths in testHlsWithHeadersCookies()
211 cookie.setSecure(false); in testHlsWithHeadersCookies()
212 cookie.setDiscard(false); in testHlsWithHeadersCookies()
213 cookie.setMaxAge(24 * 3600); // 24hrs in testHlsWithHeadersCookies()
216 cookies.add(cookie); in testHlsWithHeadersCookies()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/
DIPCThreadState.h94 void* cookie);
98 void* cookie);
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewDeviceSideStartupTest.java112 String cookie = cookieManager.getCookie(url); in testCookieManagerBlockingUiThread() local
113 assertNotNull(cookie); in testCookieManagerBlockingUiThread()
115 Matcher m = pat.matcher(cookie); in testCookieManagerBlockingUiThread()
/cts/hostsidetests/appsecurity/test-apps/InstantCookieApp2/src/test/instant/cookie/
DCookieTest.java17 package test.instant.cookie;
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleService4.java160 byte[] cookie = intent.getByteArrayExtra(EXTRA_COOKIE); in setCookieIfNeeded()
162 am.setProcessStateSummary(cookie); in setCookieIfNeeded()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java44 import org.apache.http.impl.cookie.DateUtils;
737 for (Header cookie : cookies) { in getResponse()
739 String value = cookie.getValue(); in getResponse()
755 String cookie = key + "=" + value; in getResponse() local
757 cookie = cookie + "; " + attributes; in getResponse()
759 response.addHeader("Set-Cookie", cookie); in getResponse()
760 response.setEntity(createPage(cookie, cookie)); in getResponse()
DTestWebServer.java23 import org.apache.http.impl.cookie.DateUtils;
/cts/tests/app/AppExitTest/src/android/app/cts/
DActivityManagerAppExitInfoTest.java313 boolean waitForIdle, boolean other, boolean includeCookie, byte[] cookie) { in startService() argument
319 intent.putExtra(EXTRA_COOKIE, cookie); in startService()
1225 byte[] cookie) { in verify() argument
1242 assertTrue(ArrayUtils.equals(info.getProcessStateSummary(), cookie, in verify() local
1243 cookie == null ? 0 : cookie.length)); in verify()
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c261 fp->cookie = 0; in buf_binder()
436 buf_uintptr(buf, pc->cookie); in handle_cmd()