HomeSort by relevance Sort by last modified time
    Searched refs:cookies (Results 1 - 25 of 163) sorted by null

1 2 3 4 5 6 7

  /external/apache-http/src/org/apache/http/impl/client/
BasicCookieStore.java 65 private final ArrayList<Cookie> cookies; field in class:BasicCookieStore
76 this.cookies = new ArrayList<Cookie>();
81 * Adds an {@link Cookie HTTP cookie}, replacing any existing equivalent cookies.
93 for (Iterator<Cookie> it = cookies.iterator(); it.hasNext();) {
100 cookies.add(cookie);
106 * Adds an array of {@link Cookie HTTP cookies}. Cookies are added individually and
107 * in the given array order. If any of the given cookies has already expired it will
110 * @param cookies the {@link Cookie cookies} to be adde
    [all...]
  /external/curl/docs/cmdline-opts/
junk-session-cookies.d 1 Long: junk-session-cookies
3 Help: Ignore session cookies read from file
7 When curl is told to read cookies from a given file, this option will make it
8 discard all "session cookies". This will basically have the same effect as if
9 a new session is started. Typical browsers always discard session cookies when
cookie-jar.d 5 Help: Write cookies to <filename> after operation
7 Specify to which file you want curl to write all cookies after a completed
8 operation. Curl writes all cookies from its in-memory cookie storage to the
9 given file at the end of operations. If no cookies are known, no data will be
11 you set the file name to a single dash, "-", the cookies will be written to
15 record and use cookies. Another way to activate it is to use the --cookie
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowCookieManager.java 18 private Map<String,String> cookies = new HashMap<String, String>(); field in class:ShadowCookieManager
31 cookies.put(url, value);
36 return cookies.get(url);
51 cookies.clear();
  /external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
CookieIntegrationTest.java 69 CookieHandler cookies = session.getCookies(); local
70 for (String cookieName : cookies) {
71 this.cookiesReceived.add(new Cookie(cookieName, cookies.read(cookieName)));
74 cookies.set(c);
76 return newFixedLengthResponse("Cookies!");
92 CookieStore cookies = this.httpclient.getCookieStore(); local
93 assertEquals(1, cookies.getCookies().size());
94 assertEquals("name", cookies.getCookies().get(0).getName());
95 assertEquals("value", cookies.getCookies().get(0).getValue());
104 CookieStore cookies = this.httpclient.getCookieStore() local
    [all...]
  /hardware/interfaces/automotive/vehicle/2.0/default/tests/
RecurrentTimer_test.cpp 36 RecurrentTimer timer([&counterRef](const std::vector<int32_t>& cookies) {
37 ASSERT_EQ(1u, cookies.size());
38 ASSERT_EQ(0xdead, cookies.front());
53 [&counter1msRef, &counter5msRef](const std::vector<int32_t>& cookies) {
54 for (int32_t cookie : cookies) {
  /libcore/ojluni/src/main/java/java/net/
InMemoryCookieStore.java 47 // the in-memory representation of cookies
79 // Android-changed: http://b/33034917, android supports clearing cookies
91 * Get all cookies, which:
103 List<HttpCookie> cookies = new ArrayList<HttpCookie>(); local
107 getInternal1(cookies, uriIndex, uri.getHost());
109 getInternal2(cookies, uriIndex, getEffectiveURI(uri));
114 return cookies;
118 * Get all cookies in cookie store, except those have expired
178 List<HttpCookie> cookies = uriIndex.get(uri); local
179 if (cookies != null)
342 List<HttpCookie> cookies = indexStore.get(index); local
    [all...]
CookieManager.java 38 * which separates the storage of cookies from the policy surrounding accepting
39 * and rejecting cookies. A CookieManager is initialized with a {@link CookieStore}
212 List<HttpCookie> cookies = new java.util.ArrayList<HttpCookie>(); local
216 // 'secure' cookies over unsecure links)
228 cookies.add(cookie);
231 cookies.add(cookie);
235 if (cookies.isEmpty()) {
240 List<String> cookieHeader = sortByPath(cookies);
275 List<HttpCookie> cookies; local
277 cookies = HttpCookie.parse(headerValue)
    [all...]
  /external/autotest/tko/
unique_cookie.py 15 cookies = os.environ['HTTP_COOKIE'].split(';')
17 uid_cookies = [c for c in cookies if c.strip().startswith(key)]
  /external/apache-http/src/org/apache/http/impl/cookie/
RFC2109Spec.java 136 public List<Header> formatCookies(List<Cookie> cookies) {
137 if (cookies == null) {
138 throw new IllegalArgumentException("List of cookies may not be null");
140 if (cookies.isEmpty()) {
141 throw new IllegalArgumentException("List of cookies may not be empty");
143 if (cookies.size() > 1) {
145 cookies = new ArrayList<Cookie>(cookies);
146 Collections.sort(cookies, PATH_COMPARATOR);
149 return doFormatOneHeader(cookies);
    [all...]
BestMatchSpec.java 166 public List<Header> formatCookies(final List<Cookie> cookies) {
167 if (cookies == null) {
171 for (Cookie cookie: cookies) {
177 return getStrict().formatCookies(cookies);
179 return getCompat().formatCookies(cookies);
  /external/curl/lib/
cookie.h 49 /* linked list of cookies we know of */
50 struct Cookie *cookies; member in struct:CookieInfo
54 long numcookies; /* number of cookies in the "jar" */
55 bool newsession; /* new session, discard session cookies on load */
75 * Add a cookie to the internal list of cookies. The domain and path arguments
85 void Curl_cookie_freelist(struct Cookie *cookies);
86 void Curl_cookie_clearall(struct CookieInfo *cookies);
87 void Curl_cookie_clearsess(struct CookieInfo *cookies);
share.h 49 struct CookieInfo *cookies; member in struct:Curl_share
share.c 79 if(!share->cookies) {
80 share->cookies = Curl_cookie_init(NULL, NULL, NULL, TRUE);
81 if(!share->cookies)
122 if(share->cookies) {
123 Curl_cookie_cleanup(share->cookies);
124 share->cookies = NULL;
192 Curl_cookie_cleanup(share->cookies);
cookie.c 33 called before any cookies are set.
53 struct Cookies *Curl_cookie_getlist(struct CookieInfo *cookie,
56 For a given host and path, return a linked list of cookies that
61 It shall only return cookies that haven't expired.
64 Example set of cookies:
257 * Load cookies from all given cookie files (CURLOPT_COOKIEFILE).
269 data->cookies,
277 data->cookies = newcookies;
299 * remove_expired() removes expired cookies.
301 static void remove_expired(struct CookieInfo *cookies)
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
CookiesMCompatibilityTest.java 44 Map<String, List<String>> cookies = cm.get( local
48 assertEquals(0, cookies.size());
58 Map<String, List<String>> cookies = cm.get( local
62 List<String> cookieList = cookies.values().iterator().next();
CookiesTest.java 44 Map<String, List<String>> cookies = cm.get( local
48 List<String> cookieList = cookies.values().iterator().next();
  /external/guice/extensions/servlet/test/com/google/inject/servlet/
ContinuingHttpServletRequestTest.java 47 Cookie[] cookies = new Cookie[]{ local
52 expect(delegate.getCookies()).andStubReturn(cookies);
59 assertCookieArraysEqual(cookies, continuingRequest.getCookies());
61 // Now mutate the original cookies, this shouldnt be reflected in the continued request.
62 cookies[0].setValue("INVALID");
63 cookies[1].setValue("INVALID");
64 cookies[1].setMaxAge(123);
67 assertCookieArraysEqual(cookies, continuingRequest.getCookies());
82 // The cookies should be fixed.
  /prebuilts/go/darwin-x86/src/net/http/
jar.go 11 // A CookieJar manages storage and use of cookies in HTTP requests.
18 // SetCookies handles the receipt of the cookies in a reply for the
19 // given URL. It may or may not choose to save the cookies, depending
21 SetCookies(u *url.URL, cookies []*Cookie)
23 // Cookies returns the cookies to send in a request for the given URL.
26 Cookies(u *url.URL) []*Cookie
  /prebuilts/go/linux-x86/src/net/http/
jar.go 11 // A CookieJar manages storage and use of cookies in HTTP requests.
18 // SetCookies handles the receipt of the cookies in a reply for the
19 // given URL. It may or may not choose to save the cookies, depending
21 SetCookies(u *url.URL, cookies []*Cookie)
23 // Cookies returns the cookies to send in a request for the given URL.
26 Cookies(u *url.URL) []*Cookie
  /frameworks/base/media/java/android/media/
MediaHTTPService.java 34 public MediaHTTPService(List<HttpCookie> cookies) {
35 mCookies = cookies;
36 Log.v(TAG, "MediaHTTPService(" + this + "): Cookies: " + cookies);
53 // Applying the bootstrapping cookies
70 + "CookieManager. Can?t add the provided cookies to the cookie "
78 " Cookies: " + mCookies);
90 // when cookies are provided
92 String path, List<HttpCookie> cookies) {
94 return (new MediaHTTPService(cookies)).asBinder()
    [all...]
  /external/guice/extensions/servlet/src/com/google/inject/servlet/
ContinuingHttpServletRequest.java 41 private final Cookie[] cookies; field in class:ContinuingHttpServletRequest
49 cookies = new Cookie[numberOfCookies];
56 cookies[i] = originalCookie;
58 cookies[i] = new ImmutableCookie(originalCookie);
62 cookies = null;
91 // NOTE(dhanji): Cookies themselves are mutable. However a ContinuingHttpServletRequest
92 // snapshots the original set of cookies it received and imprisons them in immutable
96 return cookies;
116 throw new UnsupportedOperationException("Cannot modify cookies on a continued request");
120 throw new UnsupportedOperationException("Cannot modify cookies on a continued request")
    [all...]
  /hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
RecurrentTimer.h 41 using Action = std::function<void(const std::vector<int32_t>& cookies)>;
53 * cookies thus calling this method multiple times with the same cookie will override the
97 std::vector<int32_t> cookies; local
102 cookies.clear();
111 cookies.push_back(event.cookie);
120 if (cookies.size() != 0) {
121 action(cookies);
  /external/apache-http/src/org/apache/http/cookie/
CookieSpec.java 43 * <li> rules of validation of parsed cookies
69 * Parse the <tt>"Set-Cookie"</tt> Header into an array of Cookies.
105 * Create <tt>"Cookie"</tt> headers for an array of Cookies.
107 * @param cookies the Cookies format into a Cookie header
108 * @return a Header for the given Cookies.
111 List<Header> formatCookies(List<Cookie> cookies);
  /external/curl/docs/examples/
cookie_interface.c 23 * Import and export cookies with COOKIELIST.
39 struct curl_slist *cookies; local
43 printf("Cookies, curl knows:\n");
44 res = curl_easy_getinfo(curl, CURLINFO_COOKIELIST, &cookies);
50 nc = cookies, i = 1;
59 curl_slist_free_all(cookies);
84 printf("Erasing curl's knowledge of cookies!\n");
109 cookies will not be exported either. For more information refer to the

Completed in 1684 milliseconds

1 2 3 4 5 6 7