Searched defs:headers (Results 51 - 71 of 71) sorted by relevance

123

/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduParser.java62 * Store pdu headers
115 /* parse headers */
118 // Parse headers failed.
127 log("check mandatory headers failed!");
231 * Parse pdu headers.
234 * @return headers in PduHeaders structure, null when parse fail
241 PduHeaders headers = new PduHeaders();
283 headers.setOctet(messageType, headerField);
330 headers.setOctet(value, headerField);
353 headers
1798 checkMandatoryHeader(PduHeaders headers) argument
[all...]
H A DPduPersister.java307 PduHeaders headers, int mapColumn) {
314 headers.setEncodedStringValue(value, mapColumn);
320 PduHeaders headers, int mapColumn) {
323 headers.setTextString(getBytes(s), mapColumn);
329 PduHeaders headers, int mapColumn) throws InvalidHeaderValueException {
332 headers.setOctet(b, mapColumn);
338 PduHeaders headers, int mapColumn) {
341 headers.setLongInteger(l, mapColumn);
484 private void loadAddress(long msgId, PduHeaders headers) { argument
498 headers
305 setEncodedStringValueToHeaders( Cursor c, int columnIndex, PduHeaders headers, int mapColumn) argument
318 setTextStringToHeaders( Cursor c, int columnIndex, PduHeaders headers, int mapColumn) argument
327 setOctetToHeaders( Cursor c, int columnIndex, PduHeaders headers, int mapColumn) argument
336 setLongToHeaders( Cursor c, int columnIndex, PduHeaders headers, int mapColumn) argument
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDriver.cpp81 const KeyedVector<String8, String8> *headers) {
91 mPlayer->setDataSourceAsync(httpService, url, headers);
78 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
H A DRTSPSource.cpp39 const KeyedVector<String8, String8> *headers,
57 if (headers) {
58 mExtraHeaders = *headers;
35 RTSPSource( const sp<AMessage> &notify, const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers, bool uidValid, uid_t uid, bool isSDP) argument
H A DGenericSource.cpp99 const KeyedVector<String8, String8> *headers) {
105 if (headers) {
106 mUriHeaders = *headers;
96 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
H A DNuPlayer.cpp230 const KeyedVector<String8, String8> *headers) {
239 source = new HTTPLiveSource(notify, httpService, url, headers);
242 notify, httpService, url, headers, mUIDValid, mUID);
248 notify, httpService, url, headers, mUIDValid, mUID, true);
256 status_t err = genericSource->setDataSource(httpService, url, headers);
227 setDataSourceAsync( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
/frameworks/av/media/libstagefright/
H A DNuMediaExtractor.cpp63 const KeyedVector<String8, String8> *headers) {
71 DataSource::CreateFromURI(httpService, path, headers);
60 setDataSource( const sp<IMediaHTTPService> &httpService, const char *path, const KeyedVector<String8, String8> *headers) argument
H A DStagefrightMetadataRetriever.cpp60 const KeyedVector<String8, String8> *headers) {
68 mSource = DataSource::CreateFromURI(httpService, uri, headers);
57 setDataSource( const sp<IMediaHTTPService> &httpService, const char *uri, const KeyedVector<String8, String8> *headers) argument
H A DNuCachedSource2.cpp730 KeyedVector<String8, String8> *headers,
736 if (headers == NULL) {
741 if ((index = headers->indexOfKey(String8("x-cache-config"))) >= 0) {
742 *cacheConfig = headers->valueAt(index);
744 headers->removeItemsAt(index);
749 if ((index = headers->indexOfKey(
752 headers->removeItemsAt(index);
729 RemoveCacheSpecificHeaders( KeyedVector<String8, String8> *headers, String8 *cacheConfig, bool *disconnectAtHighwatermark) argument
H A DAwesomePlayer.cpp295 const KeyedVector<String8, String8> *headers) {
297 return setDataSource_l(httpService, uri, headers);
303 const KeyedVector<String8, String8> *headers) {
309 if (headers) {
310 mUriHeaders = *headers;
292 setDataSource( const sp<IMediaHTTPService> &httpService, const char *uri, const KeyedVector<String8, String8> *headers) argument
300 setDataSource_l( const sp<IMediaHTTPService> &httpService, const char *uri, const KeyedVector<String8, String8> *headers) argument
/frameworks/base/core/java/android/net/http/
H A DRequestHandle.java63 String method, Map<String, String> headers,
66 if (headers == null) {
67 headers = new HashMap<String, String>();
69 mHeaders = headers;
87 String method, Map<String, String> headers,
90 this(requestQueue, url, uri, method, headers, bodyProvider, bodyLength,
155 // be careful and remove authentication headers, if any
214 // Update the cache headers for this URL
311 // because we do not preemptively send authorization headers, nc is always 1
62 RequestHandle(RequestQueue requestQueue, String url, WebAddress uri, String method, Map<String, String> headers, InputStream bodyProvider, int bodyLength, Request request) argument
86 RequestHandle(RequestQueue requestQueue, String url, WebAddress uri, String method, Map<String, String> headers, InputStream bodyProvider, int bodyLength, Request request, Connection conn) argument
/frameworks/base/tests/CoreTests/android/core/
H A DTestWebServer.java351 /* 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");
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();
691 // Write line between headers an
[all...]
H A DTestEventHandler.java40 /* List of headers received */
217 * Implements the EventHandler headers method called when a server
220 public void headers(Headers headers) { argument
222 Log.v(LOGTAG, "TestEventHandler:headers()");
231 /* Check through headers received for matches with expected
232 * headers */
243 s = Long.toString(headers.getContentLength());
246 s = headers.getContentType();
249 s = headers
[all...]
/frameworks/av/media/libmedia/
H A DIMediaPlayer.cpp82 const KeyedVector<String8, String8>* headers)
91 if (headers == NULL) {
94 // serialize the headers
95 data.writeInt32(headers->size());
96 for (size_t i = 0; i < headers->size(); ++i) {
97 data.writeString8(headers->keyAt(i));
98 data.writeString8(headers->valueAt(i));
373 KeyedVector<String8, String8> headers; local
378 headers.add(key, value);
381 httpService, url, numHeaders > 0 ? &headers
79 setDataSource( const sp<IMediaHTTPService> &httpService, const char* url, const KeyedVector<String8, String8>* headers) argument
[all...]
H A Dmediaplayer.cpp147 const char *url, const KeyedVector<String8, String8> *headers)
156 (NO_ERROR != player->setDataSource(httpService, url, headers))) {
145 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
/frameworks/base/core/java/android/widget/
H A DVideoView.java252 * Sets video URI using specific headers.
255 * @param headers the headers for the URI request.
257 * changed with key/value pairs through the headers parameter with
261 public void setVideoURI(Uri uri, Map<String, String> headers) { argument
263 mHeaders = headers;
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
H A DLocalRenderer.java101 public final Map<String, String> headers; field in class:LocalRenderer.PlayerContent
103 public PlayerContent(String source, Map<String, String> headers) { argument
105 this.headers = headers;
151 Header[] headers = response.getAllHeaders();
152 if (headers != null && headers.length > 0) {
153 for (Header header : headers) {
328 if (mContent.headers != null) {
329 for (String key : mContent.headers
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp145 const KeyedVector<String8, String8> *headers) {
146 return mImpl->setDataSource(httpService, path, headers);
705 KeyedVector<String8, String8> headers; local
707 env, keysArray, valuesArray, &headers)) {
723 status_t err = extractor->setDataSource(httpService, path, &headers);
142 setDataSource( const sp<IMediaHTTPService> &httpService, const char *path, const KeyedVector<String8, String8> *headers) argument
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp706 const KeyedVector<String8, String8> *headers)
741 setDataSource_post(p, p->setDataSource(httpService, url, headers));
703 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp351 const char *url, const KeyedVector<String8, String8> *headers) {
355 if (headers != NULL) {
357 "headers",
358 new KeyedVector<String8, String8>(*headers));
669 KeyedVector<String8, String8> *headers = NULL; local
670 if (!msg->findPointer("headers", (void **)&headers)) {
673 mExtraHeaders = *headers;
675 delete headers;
676 headers
350 connectAsync( const char *url, const KeyedVector<String8, String8> *headers) argument
845 KeyedVector<String8, String8> headers = mExtraHeaders; local
[all...]
/frameworks/base/media/java/android/media/
H A DMediaPlayer.java965 * @param headers the headers to be sent together with the request for the data
967 * changed with key/value pairs through the headers parameter with
972 public void setDataSource(Context context, Uri uri, Map<String, String> headers) argument
1014 setDataSource(uri.toString(), headers);
1039 * @param headers the headers associated with the http request for the stream you want to play
1043 public void setDataSource(String path, Map<String, String> headers) argument
1049 if (headers != null) {
1050 keys = new String[headers
[all...]

Completed in 382 milliseconds

123