/frameworks/native/include/android/ |
H A D | looper.h | 26 * ALooper 36 * A thread can have only one ALooper associated with it. 38 struct ALooper; 39 typedef struct ALooper ALooper; typedef in typeref:struct:ALooper 45 ALooper* ALooper_forThread(); 65 ALooper* ALooper_prepare(int opts); 95 * Acquire a reference on the given ALooper object. This prevents the object 97 * to safely hand an ALooper from one thread to another. 99 void ALooper_acquire(ALooper* loope [all...] |
/frameworks/av/media/libstagefright/ |
H A D | TimeSource.cpp | 20 #include <media/stagefright/foundation/ALooper.h> 26 : mStartTimeUs(ALooper::GetNowUs()) { 30 return ALooper::GetNowUs() - mStartTimeUs;
|
H A D | ThrottledSource.cpp | 20 #include <media/stagefright/foundation/ALooper.h> 45 int64_t nowUs = ALooper::GetNowUs();
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | AHandler.h | 21 #include <media/stagefright/foundation/ALooper.h> 33 ALooper::handler_id id() const { 37 sp<ALooper> looper(); 45 ALooper::handler_id mID; 47 void setID(ALooper::handler_id id) {
|
H A D | ALooperRoster.h | 21 #include <media/stagefright/foundation/ALooper.h> 29 ALooper::handler_id registerHandler( 30 const sp<ALooper> looper, const sp<AHandler> &handler); 32 void unregisterHandler(ALooper::handler_id handlerID); 43 sp<ALooper> findLooper(ALooper::handler_id handlerID); 47 wp<ALooper> mLooper; 52 KeyedVector<ALooper::handler_id, HandlerInfo> mHandlers; 53 ALooper::handler_id mNextHandlerID;
|
H A D | ALooper.h | 34 struct ALooper : public RefBase { struct in namespace:android 38 ALooper(); 57 virtual ~ALooper(); 81 DISALLOW_EVIL_CONSTRUCTORS(ALooper);
|
H A D | AMessage.h | 22 #include <media/stagefright/foundation/ALooper.h> 33 AMessage(uint32_t what = 0, ALooper::handler_id target = 0); 41 void setTarget(ALooper::handler_id target); 42 ALooper::handler_id target() const; 121 ALooper::handler_id mTarget;
|
/frameworks/base/native/android/ |
H A D | looper.cpp | 17 #define LOG_TAG "ALooper" 28 static inline Looper* ALooper_to_Looper(ALooper* alooper) { 32 static inline ALooper* Looper_to_ALooper(Looper* looper) { 33 return reinterpret_cast<ALooper*>(looper); 36 ALooper* ALooper_forThread() { 40 ALooper* ALooper_prepare(int opts) { 44 void ALooper_acquire(ALooper* looper) { 48 void ALooper_release(ALooper* looper) { 74 void ALooper_wake(ALooper* looper) { 78 int ALooper_addFd(ALooper* loope [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | ALooper.cpp | 18 #define LOG_TAG "ALooper" 23 #include "ALooper.h" 33 struct ALooper::LooperThread : public Thread { 34 LooperThread(ALooper *looper, bool canCallJava) 58 ALooper *mLooper; 65 int64_t ALooper::GetNowUs() { 69 ALooper::ALooper() function in class:android::ALooper 76 ALooper::~ALooper() { [all...] |
H A D | ALooperRoster.cpp | 34 ALooper::handler_id ALooperRoster::registerHandler( 35 const sp<ALooper> looper, const sp<AHandler> &handler) { 46 ALooper::handler_id handlerID = mNextHandlerID++; 54 void ALooperRoster::unregisterHandler(ALooper::handler_id handlerID) { 76 Vector<sp<ALooper> > activeLoopers; 83 sp<ALooper> looper = info.mLooper.promote(); 90 // and having ~ALooper call this method again recursively 103 sp<ALooper> looper = findLooper(msg->target()); 141 sp<ALooper> ALooperRoster::findLooper(ALooper [all...] |
H A D | AHandler.cpp | 27 sp<ALooper> AHandler::looper() {
|
H A D | Android.mk | 11 ALooper.cpp \
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | RemoteDisplay.h | 29 struct ALooper; 47 sp<ALooper> mNetLooper; 48 sp<ALooper> mLooper;
|
H A D | RemoteDisplay.cpp | 31 : mLooper(new ALooper),
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerStreamListener.h | 32 ALooper::handler_id targetID); 62 ALooper::handler_id mTargetID;
|
H A D | StreamingSource.h | 62 sp<ALooper> mLooper;
|
/frameworks/av/include/media/stagefright/ |
H A D | MediaCodecSource.h | 26 class ALooper; 40 const sp<ALooper> &looper, 78 const sp<ALooper> &looper, 94 sp<ALooper> mLooper; 95 sp<ALooper> mCodecLooper;
|
H A D | MPEG2TSWriter.h | 23 #include <media/stagefright/foundation/ALooper.h> 62 sp<ALooper> mLooper;
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | RepeaterSource.cpp | 8 #include <media/stagefright/foundation/ALooper.h> 63 mLooper = new ALooper; 126 mStartTimeUs = ALooper::GetNowUs(); 131 int64_t nowUs = ALooper::GetNowUs(); 149 int64_t nowUs = ALooper::GetNowUs(); 195 mLastBufferUpdateUs = ALooper::GetNowUs(); 214 mLastBufferUpdateUs = ALooper::GetNowUs();
|
H A D | Converter.h | 47 const sp<ALooper> &codecLooper, 96 sp<ALooper> mCodecLooper;
|
/frameworks/native/include/gui/ |
H A D | SensorEventQueue.h | 31 struct ALooper; 36 ALooper* looper;
|
/frameworks/av/media/libstagefright/include/ |
H A D | SDPLoader.h | 62 sp<ALooper> mNetLooper;
|
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.h | 24 struct ALooper; 90 sp<ALooper> mCodecLooper;
|
H A D | muxer.cpp | 26 #include <media/stagefright/foundation/ALooper.h> 53 const android::sp<android::ALooper> &looper, 140 int64_t muxerStartTimeUs = ALooper::GetNowUs(); 202 int64_t elapsedTimeUs = ALooper::GetNowUs() - muxerStartTimeUs; 298 sp<ALooper> looper = new ALooper;
|
/frameworks/av/include/media/stagefright/timedtext/ |
H A D | TimedTextDriver.h | 27 class ALooper; 80 sp<ALooper> mLooper;
|