/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; 118 ALooper::handler_id mTarget;
|
/frameworks/base/native/android/ |
H A D | looper.cpp | 17 #define LOG_TAG "ALooper" 28 ALooper* ALooper_forThread() { 32 ALooper* ALooper_prepare(int opts) { 36 void ALooper_acquire(ALooper* looper) { 40 void ALooper_release(ALooper* looper) { 66 void ALooper_wake(ALooper* looper) { 70 int ALooper_addFd(ALooper* looper, int fd, int ident, int events, 75 int ALooper_removeFd(ALooper* looper, int fd) {
|
/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 73 ALooper::~ALooper() { [all...] |
H A D | AHandler.cpp | 27 sp<ALooper> AHandler::looper() {
|
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) { 80 sp<ALooper> looper = info.mLooper.promote(); 106 sp<ALooper> looper = info.mLooper.promote(); 151 sp<ALooper> ALooperRoster::findLooper(ALooper::handler_id handlerID) { 160 sp<ALooper> looper = mHandlers.valueAt(index).mLooper.promote();
|
H A D | Android.mk | 10 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 | NuPlayerDecoder.h | 56 sp<ALooper> mCodecLooper;
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | RepeaterSource.cpp | 8 #include <media/stagefright/foundation/ALooper.h> 63 mLooper = new ALooper; 125 mStartTimeUs = ALooper::GetNowUs(); 130 int64_t nowUs = ALooper::GetNowUs(); 148 int64_t nowUs = ALooper::GetNowUs(); 194 mLastBufferUpdateUs = ALooper::GetNowUs(); 213 mLastBufferUpdateUs = ALooper::GetNowUs();
|
H A D | Converter.h | 47 const sp<ALooper> &codecLooper, 96 sp<ALooper> mCodecLooper;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/mp4/ |
H A D | MP4Source.h | 44 sp<ALooper> mLooper;
|
/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 | 60 sp<ALooper> mNetLooper;
|
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.h | 24 struct ALooper; 90 sp<ALooper> mCodecLooper;
|
H A D | muxer.cpp | 24 #include <media/stagefright/foundation/ALooper.h> 51 const android::sp<android::ALooper> &looper, 138 int64_t muxerStartTimeUs = ALooper::GetNowUs(); 200 int64_t elapsedTimeUs = ALooper::GetNowUs() - muxerStartTimeUs; 296 sp<ALooper> looper = new ALooper;
|
/frameworks/av/include/media/stagefright/ |
H A D | MPEG2TSWriter.h | 23 #include <media/stagefright/foundation/ALooper.h> 62 sp<ALooper> mLooper;
|
/frameworks/av/include/media/stagefright/timedtext/ |
H A D | TimedTextDriver.h | 27 class ALooper; 77 sp<ALooper> mLooper;
|