summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/foundation/ALooper.cpp
Commit message (Collapse)AuthorAgeFilesLines
* ALooper::awaitResponse gets reply and returns immediately if the looper is ↵Ronghua Wu2015-11-021-16/+4
| | | | | | | stopped. Bug: 25088488 Change-Id: Id33d5d75f1173db52d00f4ff71d4c2c4f27f72f5
* Allow ALooper::awaitResponse to return immediately if the looper is stopped.Ronghua Wu2015-10-221-2/+24
| | | | | Bug: 25088488 Change-Id: I63e69886a8e9cffcaad675ca1a5642c0abf3b466
* stagefright: don't use ALooperRoster mutex for reply handlingLajos Molnar2015-03-101-0/+28
| | | | | | | | 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
* stagefright: use handler instead of handler-id in AMessageLajos Molnar2015-03-051-1/+1
| | | | | | | This avoids locking gLooperRoster mutex on post() and deliver(). Bug: 19607784 Change-Id: If6d9d7884dbb08fc390983bda896d223803476ba
* Move stale handler cleanup to constructorMarco Nelissen2014-08-281-4/+4
| | | | | | | | This avoids the potential side effect of deleting more ALoopers inside the cleanup loop. Bug: 17059501 Change-Id: I41efaf490449b95fedfe01175f3b19067d50da24
* Unregister any handlers still registered on now "dead" ALoopersAndreas Huber2013-07-311-0/+4
| | | | | | | upon the death of an ALooper. Change-Id: I64c0835b8db04486204f3d0fa7173ee53708a116 related-to-bug: 10106648
* ALooper::GetNowUs() now relies on systemTime instead of gettimeofday.Andreas Huber2012-10-011-4/+1
| | | | | Change-Id: Ia31eb0940b02581327a8bf51af6df135f9ab6de3 related-to-bug: 7266324
* Make sure we don't trigger a log warning if calling ALooper::stop() from the ↵Andreas Huber2011-03-291-2/+21
| | | | | | | looper thread. Change-Id: I669d589ab4521fe44a3e8f638c7ce8e79174d625 related-to-bug: 4179898
* ALoopers can now be named (useful to distinguish threads).Andreas Huber2010-08-271-1/+6
| | | | Change-Id: Ieabaddb2e3a9e3a7a5bc36e55cd0721b60dbd50e
* Various changes to improve rtsp networking, reduce packet loss and adapt to ↵Andreas Huber2010-07-221-2/+3
| | | | | | ALooper API changes. Change-Id: I110e19d5ce33e597add3ffbd3e3ff3815862396d
* Add an option to ALooper::start that allows it to call back into java or not.Andreas Huber2010-07-021-4/+5
| | | | Change-Id: Iec172901a04a575d8d350bd162565f04677c3f26
* Initial checkin of "foundation" library for future stagefright development.Andreas Huber2010-06-071-0/+196
Change-Id: I11714dcaa647d0437a13e4c5b953b35e712da8f3