047dd13ca42ff7cea10821ef64eb09229fa3e751 |
|
28-Aug-2014 |
Marco Nelissen <marcone@google.com> |
Fix more potential deadlocks in ALooperRoster Bug: 17059501 Change-Id: I242f2859527bed2d6e275c27de94fb19f4dcdc28
/frameworks/av/media/libstagefright/foundation/ALooperRoster.cpp
|
75c672fc376ef9b3ceff61a96513242b0e5ebd60 |
|
28-Aug-2014 |
Marco Nelissen <marcone@google.com> |
Fix potential deadlock in unregisterStaleHandlers() 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
/frameworks/av/media/libstagefright/foundation/ALooperRoster.cpp
|
30873bfd08255e2c4e98ff5732ffff2838772617 |
|
31-Jul-2013 |
Andreas Huber <andih@google.com> |
Unregister any handlers still registered on now "dead" ALoopers upon the death of an ALooper. Change-Id: I64c0835b8db04486204f3d0fa7173ee53708a116 related-to-bug: 10106648
/frameworks/av/media/libstagefright/foundation/ALooperRoster.cpp
|
0df36ec3303c2c6bf9b42c07945ac8bd234153f3 |
|
06-Feb-2013 |
Andreas Huber <andih@google.com> |
HLS now properly publishes its "seekable" flags after connection has successfully completed and a sufficient amount of data fetched, and only then signals that preparation is completed. Change-Id: I7684a14238b826909f518f2af506966e522dfcfc
/frameworks/av/media/libstagefright/foundation/ALooperRoster.cpp
|
5ff1dd576bb93c45b44088a51544a18fc43ebf58 |
|
06-Jan-2012 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
/frameworks/av/media/libstagefright/foundation/ALooperRoster.cpp
|
5df775d2f509c76e76a46615fca83dba95299f6e |
|
26-Aug-2011 |
Andreas Huber <andih@google.com> |
Support for posting messages and synchronously waiting for a response. Change-Id: Id6c7a08c34fd5cb6c4632f78ece9e7898b29e52c
/frameworks/av/media/libstagefright/foundation/ALooperRoster.cpp
|
f200777290d2e3e8b580c512cc0808eae9790705 |
|
19-Oct-2010 |
Andreas Huber <andih@google.com> |
An attempt to unregister a handler that's no longer registered should not 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
/frameworks/av/media/libstagefright/foundation/ALooperRoster.cpp
|
6e4c5c499999c04c2477b987f9e64f3ff2bf1a06 |
|
21-Sep-2010 |
Andreas Huber <andih@google.com> |
Remove stagefright foundation's incompatible logging interface and update callsites. Change-Id: I45fba7d60530ea0f233ac3695a97306b6dc1795c
/frameworks/av/media/libstagefright/foundation/ALooperRoster.cpp
|
11cc270ac5fd522c9e6491a7933516a96da4f62e |
|
07-Jul-2010 |
Andreas Huber <andih@google.com> |
ALooperRoster no longer holds strong references to handlers and loopers. Change-Id: I038d69b0a34eda1bfc5216d92c837a5ddf4fb802
/frameworks/av/media/libstagefright/foundation/ALooperRoster.cpp
|
e2b20987c2652a984d10520ef3542d50d91119c5 |
|
03-Jul-2010 |
Andreas Huber <andih@google.com> |
An AHandler can now find its associated ALooper. Change-Id: Ic7087b8dcbc0d9abda272df0cb01b04b006f82ad
/frameworks/av/media/libstagefright/foundation/ALooperRoster.cpp
|
72961230a5890071bcca436eb5630172ce84ec41 |
|
07-Jun-2010 |
Andreas Huber <andih@google.com> |
Initial checkin of "foundation" library for future stagefright development. Change-Id: I11714dcaa647d0437a13e4c5b953b35e712da8f3
/frameworks/av/media/libstagefright/foundation/ALooperRoster.cpp
|