summaryrefslogtreecommitdiffstats
path: root/media/libmedia/IMediaHTTPConnection.cpp
Commit message (Collapse)AuthorAgeFilesLines
* libmedia: add NULL check before accessing source and destination buffers.Shivaprasad Hongal2015-12-071-0/+8
| | | | | | | | IMemory can return a NULL pointer or the destination buffer for readAt can be NULL. Check for NULL and report error. Change-Id: I9608de8ee3817a681c5c51ec7fdbd1bf207d9463 CRs-Fixed: 931744
* readAt can return negative values (error codes).Alex Klyubin2015-06-181-1/+8
| | | | | | | | | | | | | | This fixes the regression introduced in 59cea2616269f34b1f3d046995efd8da42cd5549 due to which MediaPlayer treated all error codes returned by MediaHTTPConnection as ERROR_OUT_OF_RANGE. The regression was caused by accidentally converting negative values (which represent error codes) returned by MediaHTTPConnection to very large positive ones (which represent length of data received). Bug: 21922241 Change-Id: I1b4592b5fec724aac1ba6c1ff8fdabcba56bcd2d
* Return correct error code from IMediaHttpConnectionMarco Nelissen2015-06-111-1/+1
| | | | | | | It returns a boolean, not a status_t Bug: 21654826 Change-Id: Id364a90598c5cf0bb567b5b25bbc9b7c73412760
* am d7446564: am 1e5670ab: am 296dc670: am d8e41553: am bd28ac74: am ↵Marco Nelissen2015-05-071-3/+11
|\ | | | | | | | | | | | | 59cea261: Add some sanity checks * commit 'd7446564c3e469aea1bba5460ff1fb9441f9fc09': Add some sanity checks
| * Add some sanity checksMarco Nelissen2015-04-221-3/+11
| | | | | | | | | | Bug: 19400722 Change-Id: Ib3afdf73fd4647eeea5721c61c8b72dbba0647f6
* | WhitespaceGlenn Kasten2015-03-231-2/+1
|/ | | | Change-Id: I4640be948ad3caff0eb7525991398a1353e4bfe6
* Don't crash on remote read error, just returnMarco Nelissen2014-02-271-1/+4
| | | | Change-Id: I35a2af255f55e008d64142ed0eceb6e83473d630
* Add method to get redirected UriMarco Nelissen2014-02-211-0/+21
| | | | Change-Id: Id8aac1077c3de1bb1f58bfcfcca93d685abe9b79
* FINAL ATTEMPT: HTTP services are now provided from JAVA and made available ↵Andreas Huber2014-02-041-0/+158
to media code Change-Id: I9f74a86e70422187c9cf0ca1318a29019700192d