| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
pointers"
* commit '474038aef32f47d080567e8519d916b069a4f707':
AArch64: AString::append for longs and pointers
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
(cherry picked from commit 84333e0475bc911adc16417f4ca327c975cf6c36)
Modified by Mark Salyzyn <salyzyn@google.com> to keep merge conflicts
or errors downstream to a minimum.
Change-Id: Ic3b272f9cbf3155001aabd2f79728f1bc31de613
|
| |
| |
| |
| | |
Change-Id: I85b37b6dee4ea9d5f7f1c1a40ff405a01a0c67f1
|
|\ \
| |/
| |
| |
| |
| |
| | |
format for 64-bit"
* commit 'c7c839dccf58ab6322c1898cbf1b2332792d2e86':
libstagefright_foundation: fix printf format for 64-bit
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes build error:
frameworks/av/media/libstagefright/foundation/ANetworkSession.cpp:582:131: error: format '%d' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Werror=format=]
ALOGI("%d datagrams remain queued.", mOutFragments.size());
^
cc1plus: all warnings being treated as errors
Change-Id: I69d1f086b8f1e450f107671c8f8f3ed696d170b4
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: Ie3bae3f037730e316d7fca12e7a3527973f752ef
|
|/
|
|
|
| |
Change-Id: I6dac35c7e606f738a60f985f6dca977dc92c82a4
related-to-bug: 12957757
|
|
|
|
|
|
|
| |
upon the death of an ALooper.
Change-Id: I64c0835b8db04486204f3d0fa7173ee53708a116
related-to-bug: 10106648
|
|
|
|
|
|
|
|
| |
Also fixes some bugs in ParseMessage and adds "WebSocket" mode to
ANetworkSession, something that's opt-in and should not affect existing clients
of the API.
Change-Id: I86d5748e0d818231d85d3590d86c2b41d4f8b1f1
|
|
|
|
|
|
| |
and more.
Change-Id: Icfc45a0100243b2f7a14a9e65696be45b67d6495
|
|
|
|
|
| |
Bug: 8580410
Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
|
|
|
|
|
|
|
| |
has successfully completed and a sufficient amount of data fetched,
and only then signals that preparation is completed.
Change-Id: I7684a14238b826909f518f2af506966e522dfcfc
|
|
|
|
|
| |
Change-Id: Ia31eb0940b02581327a8bf51af6df135f9ab6de3
related-to-bug: 7266324
|
|
|
|
|
|
| |
cherry picked from change 170999
Change-Id: I407775f0290154ad4961134839a15c9f296424c0
|
|
|
|
|
| |
Change-Id: I0a3af3e2abdedebd5934f3d941d01c32cfc75e26
related-to-bug: 6647465
|
|
|
|
|
|
|
| |
o plus a few file relocation: ActivityManager.cpp/h, SoundPool.h, etc
o remove some runtime dependencies to libandroid, libandroid_runtime, etc
Change-Id: I047a47c5fb361dd5cf85cd98798c39f629a75d10
|
|
|
|
| |
Change-Id: Ib3982a9c960bfdb0cb7e1b174440b141b194cfbe
|
|
|
|
| |
Change-Id: Icb4770ca238d316e6dd2d89159357a8fdb504ea9
|
|
|
|
|
|
| |
ABuffer objects through messages.
Change-Id: I9f8b4e4c4767d0d70a0105e0c0813b754379b49d
|
|
|
|
| |
Change-Id: I13e54062d4de584355c5d82bb027a68aeaf2923b
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/157065
Bug: 5449033
Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/156801
Bug: 5449033
Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
|
|
|
|
|
|
|
| |
if we don't receive npt time mapping from the rtsp server (i.e. live stream)
Change-Id: I5147d665bd90c9a303ad6ffdafbf770f930f917c
related-to-bug: 5660357
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Drastically cut down the number of times we supply the AudioSink with data
by estimating the time until the sink would run out of data and then scheduling
a refill in advance of that.
- Use a dedicated looper for video decoders since they are currently taking
too long to return from OMX_FillThisBuffer (bug 5325201)
- Revise thread priorities for the OMX dispatcher and software codecs, instead
of running them at ANDROID_PRIORITY_AUDIO, they now only run at
ANDROID_PRIORITY_FOREGROUND
- Since threads created by pthread_create inherit all of the parent threads
attributes including thread priority, briefly reset thread priority to
ANDROID_PRIORITY_FOREGROUND before instantiating OMX components and then
restore it.
Change-Id: If9332a3a20dad5485333d68c11de0d2d5d3fffc3
|
|
|
|
| |
Change-Id: Id6c7a08c34fd5cb6c4632f78ece9e7898b29e52c
|
|
|
|
|
|
|
| |
looper thread.
Change-Id: I669d589ab4521fe44a3e8f638c7ce8e79174d625
related-to-bug: 4179898
|
|\
| |
| |
| |
| |
| |
| | |
for a bunch of media framework files
* commit '782ffe91da665c6b1fb9e297faa6e0dc6035f40c':
Fix missing AOSP copyright headers for a bunch of media framework files
|
| |
| |
| |
| |
| |
| | |
bug - 4119349
Change-Id: If5924e16a5f596d5d73d9beb66eaf5ac9a6f0e50
|
|/
|
|
|
| |
Change-Id: I54dd62ebef47e7690afa5a858f3cad941b135481
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
|
|
|
|
|
|
| |
related-to-bug: 3474610
Change-Id: I6dab40e8b465922c62be9ee7f168718822c6caac
Now skipping extra header that the spec claimed shouldn't be present in LATM...
|
|
|
|
|
| |
Change-Id: I99b4223ad6ecfd8839a3c0e737fef3165565d76d
related-to-bug: 3336496
|
|
|
|
| |
Change-Id: Ia77f6b6d5e5c5055583740dfe876b8a3c22be9b6
|
|
|
|
| |
Change-Id: I153eec439d260a5524b21270e16d36940ec3161a
|
|
|
|
|
|
| |
metadata.
Change-Id: Idb90d64cb638942210c5822b3cba2f05b087d601
|
|
|
|
|
|
|
|
|
|
| |
cause an assertion.
There are edge cases in which a handler attempts to unregister itself while on another thread a message fails to be delivered to that very handler and causes automatic unregistration. In this case the handler's good cleanup intentions are thwarted by the CHECK.
Change-Id: I4e41b5e7b619159ecce4856c15cccca031a28b5b
related-to-bug: 3101247
QA-impact: no(!!!) risk
|
|
|
|
|
|
| |
callsites.
Change-Id: I45fba7d60530ea0f233ac3695a97306b6dc1795c
|
|
|
|
| |
Change-Id: Ieabaddb2e3a9e3a7a5bc36e55cd0721b60dbd50e
|
|
|
|
|
|
| |
dimensions from the avc codec specific data.
Change-Id: I98c4194593c7e6e24f6fc339c862245111800293
|
|
|
|
|
|
| |
ALooper API changes.
Change-Id: I110e19d5ce33e597add3ffbd3e3ff3815862396d
|
|
|
|
| |
Change-Id: I038d69b0a34eda1bfc5216d92c837a5ddf4fb802
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ic7087b8dcbc0d9abda272df0cb01b04b006f82ad
|
|\ \
| |/
|/|
| | |
or not." into gingerbread
|
| |
| |
| |
| | |
Change-Id: Iec172901a04a575d8d350bd162565f04677c3f26
|
|/
|
|
| |
Change-Id: Id43ffd2c56d659dc29f37e277f8c7b38f11c1591
|
|
Change-Id: I11714dcaa647d0437a13e4c5b953b35e712da8f3
|