/frameworks/base/media/libmedia/ |
IMediaPlayer.cpp | 78 const KeyedVector<String8, String8>* headers) 83 if (headers == NULL) { 86 // serialize the headers 87 data.writeInt32(headers->size()); 88 for (size_t i = 0; i < headers->size(); ++i) { 89 data.writeString8(headers->keyAt(i)); 90 data.writeString8(headers->valueAt(i)); 323 KeyedVector<String8, String8> headers; local 328 headers.add(key, value); 330 reply->writeInt32(setDataSource(url, numHeaders > 0 ? &headers : NULL)) [all...] |
mediametadataretriever.cpp | 96 const char *srcUrl, const KeyedVector<String8, String8> *headers) 109 return mRetriever->setDataSource(srcUrl, headers);
|
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/oauth2/ |
__init__.py | 417 def from_request(cls, http_method, http_url, headers=None, parameters=None, 423 # Headers 424 if headers and 'Authorization' in headers: 425 auth_header = headers['Authorization'] 540 def request(self, uri, method="GET", body=None, headers=None, 544 if not isinstance(headers, dict): 545 headers = {} 547 is_multipart = method == 'POST' and headers.get('Content-Type', 562 headers['Content-Type'] = headers.get('Content-Type', [all...] |
/development/scripts/app_engine_server/ |
memcache_zipserve.py | 264 For requests that are found, forms the headers and 317 self.response.headers.add_header('Set-Cookie', 326 self.response.headers.add_header('Vary', 'Cookie') 329 self.response.headers['Content-Type'] = content_type 333 self.response.headers['Content-Type'] = 'image/x-icon' 337 self.response.headers['Content-Type'] = 'application/octet-stream' 499 """Set caching headers for the request.""" 501 #self.response.headers['Expires'] = email.Utils.formatdate( 509 self.response.headers['Cache-Control'] = ', '.join(cache_control)
|
/external/chromium/net/http/ |
http_auth_unittest.cc | 53 scoped_refptr<HttpResponseHeaders> headers( 57 headers.get(), 67 const char* headers; member in struct:net::__anon3607 129 headers_with_status_line += tests[i].headers; 130 scoped_refptr<HttpResponseHeaders> headers( 135 headers.get(),
|
http_response_headers.cc | 32 // These headers are RFC 2616 hop-by-hop headers; 43 // These headers are challenge response headers; 50 // These headers are cookie setting headers; 57 // These response headers are not copied from a 304/206 response to the cached 58 // response headers. This list is based on Mozilla's nsHttpResponseHead.cpp. 138 // right now, there aren't double-constructions of response headers 169 // Construct set of headers to filter out based on options 385 std::vector<std::string> headers; local [all...] |
/external/webkit/Source/WebCore/platform/network/mac/ |
ResourceRequestMac.mm | 77 NSDictionary *headers = [m_nsRequest.get() allHTTPHeaderFields]; 78 NSEnumerator *e = [headers keyEnumerator]; 82 m_httpHeaderFields.set(name, [headers objectForKey:name]); 139 // Cannot just use setAllHTTPHeaderFields here, because it does not remove headers.
|
/external/webkit/Source/WebKit/mac/Plugins/Hosted/ |
HostedNetscapePluginStream.mm | 94 void HostedNetscapePluginStream::startStream(NSURL *responseURL, long long expectedContentLength, NSDate *lastModifiedDate, NSString *mimeType, NSData *headers) 112 const_cast<char*>(reinterpret_cast<const char*>([headers bytes])), [headers length]); 144 // all headers in their original order and including duplicates, 155 // HACK: pass the headers through as UTF-8. 158 // It hopefully shouldn't matter, since RFC2616/RFC822 require ASCII-only headers,
|
/frameworks/base/tests/CoreTests/android/core/ |
TestWebServer.java | 351 /* Request headers are stored here */ 352 private Hashtable<String, String> headers = new Hashtable<String, String>(); field in class:TestWebServer.Worker 596 headers.put(headerName, headerValue); 601 * Read all headers from the input stream 607 log("Read headers"); 608 // Headers should be terminated by empty CRLF line 629 String lengthString = headers.get(requestHeaders[REQ_CONTENT_LENGTH]); 656 // If status line found, read any headers 661 if (headers.get(requestHeaders[REQ_CONTENT_LENGTH]) != null) { 675 headers.clear() [all...] |
/ndk/build/tools/ |
dev-system-import.sh | 50 "This script is used to update the NDK's platform headers and system libraries 70 1/ Import system headers from \$ANDROID/framework/base/ and other 417 # $2+: List of headers 423 dump "Copying system headers from: $srcdir" 441 # Copy all headers found under $1 445 local headers=$(list_regular_files_in "$1") 446 copy_system_headers $1 $headers 451 # $2+: List of headers 476 local headers=$(list_regular_files_in "$1") 477 copy_arch_system_headers $1 $headers [all...] |
/external/chromium/net/url_request/ |
url_request_http_job.cc | 247 response_info_->headers); 265 if (response_info_->headers->EnumerateHeader(&iter, name, &url_text)) { 276 // notified of the headers completion so that we can update the cookie store. 372 // Supply Accept-Encoding headers first so that it is more likely that they 375 // these headers. Some proxies deliberately corrupt Accept-Encoding headers. 481 while (response_info->headers->EnumerateHeader(&iter, name, &value)) { 505 while (response_info_->headers->EnumerateHeader(&iter, name, &value)) { 530 while (response_info_->headers->EnumerateHeader(&iter, name, &value)) { 742 // headers in the 401/407. Since cookies were already appended t [all...] |
/development/tools/emulator/opengl/host/libs/libOpenglRender/ |
Android.mk | 44 # use Translator's egl/gles headers
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
URLConnectionTest.java | 485 Map headers = uc.getRequestProperties(); 488 List header = (List) headers.get("whatever"); 493 assertTrue(headers.size() >= 1); 497 headers.put("hi", "bye"); 578 String[] headers = new String[] { "<html>", "<head>", " <head ", 586 for (int i = 0; i < headers.length; i++) { 589 headers[i], enc)); 591 assertEquals("checking " + headers[i] + " with " + enc,
|
/external/apache-http/src/org/apache/http/client/protocol/ |
RequestAddCookies.java | 62 * corresponding cookierequest headers. 160 // Generate Cookie request headers 162 List<Header> headers = cookieSpec.formatCookies(matchedCookies); local 163 for (Header header : headers) {
|
/external/bison/tests/ |
Makefile.am | 51 synclines.at headers.at actions.at conflicts.at \
|
/external/bluetooth/bluez/audio/ |
Android.mk | 83 system/bluetooth/bluez-clean-headers
|
/external/chromium/chrome/browser/prerender/ |
prerender_resource_handler.cc | 41 if (!rrh.headers) 45 if (rrh.headers->response_code() != 200)
|
/external/chromium/net/spdy/ |
spdy_stream.h | 62 // Called when the SYN_STREAM, SYN_REPLY, or HEADERS frames are received. 63 // Normal streams will receive a SYN_REPLY and optional HEADERS frames. 64 // Pushed streams will receive a SYN_STREAM and optional HEADERS frames. 65 // Because a stream may have a SYN_* frame and multiple HEADERS frames, 166 void set_spdy_headers(const linked_ptr<spdy::SpdyHeaderBlock>& headers); 174 // Called by the SpdySession when late-bound headers are received for a 176 int OnHeaders(const spdy::SpdyHeaderBlock& headers);
|
/external/chromium/webkit/glue/ |
resource_loader_bridge.h | 93 // The time at which receiving HTTP headers started. For non-HTTP requests 97 // The time at which receiving HTTP headers ended. For non-HTTP requests 123 // The time at which the response headers were received. For cached 127 // The response headers or NULL if the URL type does not support headers. 128 scoped_refptr<net::HttpResponseHeaders> headers; member in struct:webkit_glue::ResourceResponseInfo 166 // Actual request and response headers, as obtained from the network stack. 219 // For HTTP(S) requests, the headers parameter can be a \r\n-delimited and 220 // \r\n-terminated list of MIME headers. They should be ASCII-encoded using 221 // the standard MIME header encoding rules. The headers parameter can als 223 std::string headers; member in struct:webkit_glue::ResourceLoaderBridge::RequestInfo [all...] |
/external/llvm/ |
llvm-device-build.mk | 48 # Make sure bionic is first so we can include system headers.
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
MultipartMimeContentImpl.java | 127 String headers = nextPart.substring(0, position); local 130 String[] headerArray = headers.split("\r\n");
|
/external/valgrind/main/coregrind/m_ume/ |
macho.c | 158 If this segment contains the executable's Mach headers, their 199 // Record the segment containing the Mach headers themselves 424 The executable's Mach headers are returned in *out_text. 436 vki_uint8_t *headers; local 450 vki_uint8_t *text = NULL; // start of text segment (i.e. the mach headers) 477 // Map all headers into memory 484 headers = VG_(malloc)("ume.macho.headers", len); 485 res = VG_(pread)(fd, headers, len, offset); 490 headers_end = headers + size [all...] |
/external/webkit/Source/WebKit2/PluginProcess/ |
PluginControllerProxy.h | 111 void streamDidReceiveResponse(uint64_t streamID, const String& responseURLString, uint32_t streamLength, uint32_t lastModifiedTime, const String& mimeType, const String& headers); 115 void manualStreamDidReceiveResponse(const String& responseURLString, uint32_t streamLength, uint32_t lastModifiedTime, const String& mimeType, const String& headers);
|
/external/webkit/Source/WebKit2/WebProcess/Plugins/ |
PluginProxy.h | 76 virtual void streamDidReceiveResponse(uint64_t streamID, const WebCore::KURL& responseURL, uint32_t streamLength, uint32_t lastModifiedTime, const WTF::String& mimeType, const WTF::String& headers); 80 virtual void manualStreamDidReceiveResponse(const WebCore::KURL& responseURL, uint32_t streamLength, uint32_t lastModifiedTime, const WTF::String& mimeType, const WTF::String& headers);
|
/frameworks/base/media/libmediaplayerservice/ |
StagefrightPlayer.cpp | 57 const char *url, const KeyedVector<String8, String8> *headers) { 58 return mPlayer->setDataSource(url, headers);
|