| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Change replyID-s from uint32_t to an object
Move reply handling into the loopers (to reuse a common mutex)
Bug: 19607784
Change-Id: Iaa035b846c424c5687ed17ce1079b325e86c54be
|
|
|
|
|
| |
Bug: 19607784
Change-Id: I4b2ca396fb50cde5e7dc9801add69037febe698d
|
|
|
|
|
|
|
| |
This avoids locking gLooperRoster mutex on post() and deliver().
Bug: 19607784
Change-Id: If6d9d7884dbb08fc390983bda896d223803476ba
|
|\
| |
| |
| |
| | |
* commit 'a963dacc1b44ec80742c86ce75611eb9cfa936ea':
Add dumpsys info
|
| |
| |
| |
| |
| |
| |
| |
| | |
Print a list of looper-handler pairs and the number of messages
they've processed, and optionally break those stats out by
message type.
Change-Id: I68ce4a7003152d5c9b5cb3f42e6f3949b471aa6e
|
| |
| |
| |
| | |
Change-Id: Iee262d4223ec3c61dab5ca8d9d7e4a14795da1c3
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
pause timeout" into lmp-mr1-dev
* commit '4fc5d758d6722bedf341e5d93a0ba5698c658c29':
nuplayer: acquire wakelock during offload pause timeout
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Hold a wakelock while paused in audio offload mode, until audio
teardown event is received, or pause is canceled.
Since ARM cores are sleeping, the delayed AMessage will not be
received, and the audio output driver will not be closed.
This blocks XO shutdown.
Bug: 19297092
Change-Id: I3d11fef633e3f2783f4aa31e71285e2fa09d234c
|
|\ \ \
| |/ /
|/| /
| |/
| | |
* commit '6a025acb630a3ac4a84715d188aeb48f1946bc3f':
Move AString's StringPrintf out of the way.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
| |
Bug: 18285408
Change-Id: I56346f4652b2c5f7ef5fa3003fd8676051339384
|
|
|
|
|
|
|
|
|
|
| |
Upon error, release MediaCodec after flushing data.
Report errors when they occur with ALOGE.
Fix onInputBufferFilled mInputBufferIsDequeued check.
Bug: 17423087
Bug: 17622642
Change-Id: I316601a19d5ec95cf8e14f5bc0418a05ec423041
|
|
|
|
|
| |
Bug: 17454455
Change-Id: Ia423bcc2e1fa39137f114eac44912ed15357bb99
|
|
|
|
|
| |
Bug: 15094301
Change-Id: Ib82fb6d8fb6b48402d81f411123b3d924368eb93
|
|
|
|
|
|
|
|
| |
This avoids the potential side effect of deleting more ALoopers
inside the cleanup loop.
Bug: 17059501
Change-Id: I41efaf490449b95fedfe01175f3b19067d50da24
|
|
|
|
|
| |
Bug: 17059501
Change-Id: I242f2859527bed2d6e275c27de94fb19f4dcdc28
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The scenario is that a call to unregisterStaleHandlers() is in progress,
and is holding a temporary sp<ALooper> reference to an active ALooper inside
of the loop. At this point the only other remaining external reference to
the ALooper goes away, so the temporary sp<ALooper> in the loop is now
the only reference keeping that object alive. When the loop iterates and
the sp<> goes out of scope, the ALooper destructor is called, which in turn
calls unregisterStaleHandlers again, resulting in a recursive lock.
Bug: 17300093
Change-Id: I116f2ffab4ae7c43b6bcf54a367ae6f9d77c9626
|
|
|
| |
Change-Id: I0b6b3ae440addd4891c26b0639bd6e647a7b031e
|
|
|
|
| |
Change-Id: If61766efa8834df175bd5758c760344364458d4a
|
|
|
|
|
| |
Bug: 11990470
Change-Id: If43ada5d2e768931f4409e499eaa268edade0500
|
|
|
|
|
| |
Bug: 10706245
Change-Id: I8c4e96a2581a039e9e8237c3e09e2c22226da055
|
|
|
|
|
| |
Bug: 12065651
Change-Id: Icfb73c0009621cd747e113d8a0cd84c966bf055d
|
|\ |
|
| |
| |
| |
| |
| | |
bug: 15917805
Change-Id: I824fe7eea807f8faba6b149c31890b7a5df87825
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: I340159aa14d4d3d28ea675c6c5b8a82f7e731069
|
|/
|
|
|
|
|
| |
This abstracts out the ACodec dependency in MediaCodec.
Bug: 11784825
Change-Id: I0aa8b56c6414865fd4b0646e2c5bd1b62d030682
|
|\
| |
| |
| |
| |
| |
| | |
uninitialized varibale warning"
* commit '6b787cb8ddde9d411cab0964062d5d942a710ff8':
libstagefright foundation: fix uninitialized varibale warning
|
| |
| |
| |
| |
| |
| |
| |
| | |
gcc-4.9 reports warning for this uninitialized variable
and -Werror make this warning fatal.
Change-Id: I6901362246d53deeded78fa38ad656b167705346
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
|
|\ \
| |/
| |
| |
| |
| |
| | |
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
|