summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/foundation/AString.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move AString's StringPrintf out of the way.Elliott Hughes2015-02-041-1/+1
| | | | | | | | | We should come back and replace AString with std::string and switch to the "real" StringPrintf family, but this fixes the ODR violation that was preventing us from booting. Bug: 19265750 Change-Id: I798eb9ca5dd634e44625af5e583439ef9f0cdc35
* libstagefright: foundation: Add syntactic sugar to the cast.Sasha Levitskiy2014-08-081-1/+1
| | | Change-Id: I0b6b3ae440addd4891c26b0639bd6e647a7b031e
* libstagefright_foundation: fix buildColin Cross2014-08-071-1/+1
| | | | Change-Id: If61766efa8834df175bd5758c760344364458d4a
* stagefright: add AString parceling, and equal/compareIgnoreCaseLajos Molnar2014-08-071-0/+24
| | | | | Bug: 11990470 Change-Id: If43ada5d2e768931f4409e499eaa268edade0500
* AString: add startsWithIgnoreCase and endsWithIgnoreCaseLajos Molnar2014-06-181-0/+14
| | | | Change-Id: I340159aa14d4d3d28ea675c6c5b8a82f7e731069
* am 474038ae: am 27158eb5: Merge "AArch64: AString::append for longs and ↵Nick Kralevich2014-04-211-21/+21
|\ | | | | | | | | | | | | pointers" * commit '474038aef32f47d080567e8519d916b069a4f707': AArch64: AString::append for longs and pointers
| * AArch64: AString::append for longs and pointersMarcus Oakland2014-04-151-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The AString::append methods for long, unsigned long and void * pointers were using char arrays of 16 elements, which were not long enough for 64-bit longs and pointers in __LP64__ systems. This resulted in "FORTIFY_SOURCE: vsprintf: prevented write past end of buffer. Calling abort()." when the android.media.cts.DecoderTest#testFlush CTS test was run. The AString::append methods that were using sprintf have been modifed to use snprintf instead, taking the sizeof the "s" array (which has been made 32 char without conditional compilation for __LP64__ where appropriate), and checking the return value to ensure that the string has not been truncated. After this change and changes to the types of OMX_U32 and OMX_S32 in the frameworks/native/include/media/openmax/OMX_Types.h header file, the android.media.cts.DecoderTest#testFlush CTS test passes. Change-Id: I76d897373473c82f52986f43a15b050b844a370a Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
* | stagefright: add AString constructor from String8Lajos Molnar2014-04-041-0/+8
|/ | | | Change-Id: I85b37b6dee4ea9d5f7f1c1a40ff405a01a0c67f1
* Provisional support for secure decryption of media streams.Andreas Huber2012-03-261-0/+10
| | | | Change-Id: Ib3982a9c960bfdb0cb7e1b174440b141b194cfbe
* Initial checkin of "foundation" library for future stagefright development.Andreas Huber2010-06-071-0/+331
Change-Id: I11714dcaa647d0437a13e4c5b953b35e712da8f3