/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | CookieTest.java | 70 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 …]
|
D | CookieManagerTest.java | 125 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 …]
|
D | WebViewDataDirTest.java | 131 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/ |
D | CookieTest.java | 17 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/ |
D | AsyncQueryHandlerTest.java | 275 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/ |
D | MockSpellChecker.kt | 81 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/ |
D | StreamingMediaPlayerTest.java | 207 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/appsecurity/test-apps/InstantCookieApp2/src/test/instant/cookie/ |
D | CookieTest.java | 17 package test.instant.cookie;
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/ |
D | IPCThreadState.h | 94 void* cookie); 98 void* cookie);
|
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/ |
D | WebViewDeviceSideStartupTest.java | 112 String cookie = cookieManager.getCookie(url); in testCookieManagerBlockingUiThread() local 113 assertNotNull(cookie); in testCookieManagerBlockingUiThread() 115 Matcher m = pat.matcher(cookie); in testCookieManagerBlockingUiThread()
|
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/ |
D | SimpleService4.java | 160 byte[] cookie = intent.getByteArrayExtra(EXTRA_COOKIE); in setCookieIfNeeded() 162 am.setProcessStateSummary(cookie); in setCookieIfNeeded()
|
/cts/libs/testserver/src/android/webkit/cts/ |
D | CtsTestServer.java | 44 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()
|
D | TestWebServer.java | 23 import org.apache.http.impl.cookie.DateUtils;
|
/cts/tests/app/AppExitTest/src/android/app/cts/ |
D | ActivityManagerAppExitInfoTest.java | 316 boolean waitForIdle, boolean other, boolean includeCookie, byte[] cookie) { in startService() argument 322 intent.putExtra(EXTRA_COOKIE, cookie); in startService() 1222 byte[] cookie) { in verify() argument 1239 assertTrue(ArrayUtils.equals(info.getProcessStateSummary(), cookie, in verify() local 1240 cookie == null ? 0 : cookie.length)); in verify()
|
/cts/tests/tests/security/jni/ |
D | android_security_cts_cve_2019_2213_Test.c | 261 fp->cookie = 0; in buf_binder() 436 buf_uintptr(buf, pc->cookie); in handle_cmd()
|