/frameworks/native/include/android/ |
D | looper.h | 38 struct ALooper; 39 typedef struct ALooper ALooper; typedef 45 ALooper* ALooper_forThread(); 65 ALooper* ALooper_prepare(int opts); 99 void ALooper_acquire(ALooper* looper); 104 void ALooper_release(ALooper* looper); 202 void ALooper_wake(ALooper* looper); 230 int ALooper_addFd(ALooper* looper, int fd, int ident, int events, 250 int ALooper_removeFd(ALooper* looper, int fd);
|
/frameworks/av/media/libstagefright/foundation/ |
D | ALooper.cpp | 33 struct ALooper::LooperThread : public Thread { 34 LooperThread(ALooper *looper, bool canCallJava) in LooperThread() 58 ALooper *mLooper; 65 int64_t ALooper::GetNowUs() { in GetNowUs() 69 ALooper::ALooper() in ALooper() function in android::ALooper 76 ALooper::~ALooper() { in ~ALooper() 81 void ALooper::setName(const char *name) { in setName() 85 ALooper::handler_id ALooper::registerHandler(const sp<AHandler> &handler) { in registerHandler() 89 void ALooper::unregisterHandler(handler_id handlerID) { in unregisterHandler() 93 status_t ALooper::start( in start() [all …]
|
D | ALooperRoster.cpp | 34 ALooper::handler_id ALooperRoster::registerHandler( in registerHandler() 35 const sp<ALooper> looper, const sp<AHandler> &handler) { in registerHandler() 46 ALooper::handler_id handlerID = mNextHandlerID++; in registerHandler() 54 void ALooperRoster::unregisterHandler(ALooper::handler_id handlerID) { in unregisterHandler() 76 Vector<sp<ALooper> > activeLoopers; in unregisterStaleHandlers() 83 sp<ALooper> looper = info.mLooper.promote(); in unregisterStaleHandlers() 103 sp<ALooper> looper = findLooper(msg->target()); in postMessage() 141 sp<ALooper> ALooperRoster::findLooper(ALooper::handler_id handlerID) { in findLooper() 150 sp<ALooper> looper = mHandlers.valueAt(index).mLooper.promote(); in findLooper() 162 sp<ALooper> looper = findLooper(msg->target()); in postAndAwaitResponse()
|
/frameworks/base/native/android/ |
D | looper.cpp | 28 static inline Looper* ALooper_to_Looper(ALooper* alooper) { in ALooper_to_Looper() 32 static inline ALooper* Looper_to_ALooper(Looper* looper) { in Looper_to_ALooper() 33 return reinterpret_cast<ALooper*>(looper); in Looper_to_ALooper() 36 ALooper* ALooper_forThread() { in ALooper_forThread() 40 ALooper* ALooper_prepare(int opts) { in ALooper_prepare() 44 void ALooper_acquire(ALooper* looper) { in ALooper_acquire() 48 void ALooper_release(ALooper* looper) { in ALooper_release() 74 void ALooper_wake(ALooper* looper) { in ALooper_wake() 78 int ALooper_addFd(ALooper* looper, int fd, int ident, int events, in ALooper_addFd() 83 int ALooper_removeFd(ALooper* looper, int fd) { in ALooper_removeFd()
|
/frameworks/av/include/media/stagefright/foundation/ |
D | ALooperRoster.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;
|
D | AHandler.h | 33 ALooper::handler_id id() const { in id() 37 sp<ALooper> looper(); 45 ALooper::handler_id mID; 47 void setID(ALooper::handler_id id) { in setID()
|
D | ALooper.h | 34 struct ALooper : public RefBase { struct 38 ALooper(); argument 57 virtual ~ALooper(); 81 DISALLOW_EVIL_CONSTRUCTORS(ALooper); argument
|
D | AMessage.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/av/include/media/stagefright/ |
D | MediaCodecSource.h | 26 class ALooper; variable 40 const sp<ALooper> &looper, 78 const sp<ALooper> &looper, 94 sp<ALooper> mLooper; 95 sp<ALooper> mCodecLooper;
|
D | MediaCodec.h | 58 const sp<ALooper> &looper, const char *mime, bool encoder, status_t *err = NULL); 61 const sp<ALooper> &looper, const char *name, status_t *err = NULL); 221 sp<ALooper> mLooper; 222 sp<ALooper> mCodecLooper; 265 MediaCodec(const sp<ALooper> &looper);
|
/frameworks/av/media/libmediaplayerservice/ |
D | RemoteDisplay.h | 29 struct ALooper; 47 sp<ALooper> mNetLooper; 48 sp<ALooper> mLooper;
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | RepeaterSource.cpp | 63 mLooper = new ALooper; in start() 126 mStartTimeUs = ALooper::GetNowUs(); in read() 131 int64_t nowUs = ALooper::GetNowUs(); in read() 149 int64_t nowUs = ALooper::GetNowUs(); in read() 195 mLastBufferUpdateUs = ALooper::GetNowUs(); in onMessageReceived() 214 mLastBufferUpdateUs = ALooper::GetNowUs(); in wakeUp()
|
D | PlaybackSession.cpp | 58 const sp<ALooper> &pullLooper, 59 const sp<ALooper> &codecLooper, 109 sp<ALooper> mPullLooper; 110 sp<ALooper> mCodecLooper; 129 const sp<ALooper> &pullLooper, in Track() 130 const sp<ALooper> &codecLooper, in Track() 315 mLastOutputBufferQueuedTimeUs = ALooper::GetNowUs(); in queueOutputBuffer() 341 return (ALooper::GetNowUs() - mLastOutputBufferQueuedTimeUs) > 60000ll; in isSuspended() 437 mLastLifesignUs = ALooper::GetNowUs(); in updateLiveness() 827 int64_t nowUs = ALooper::GetNowUs(); in schedulePullExtractor() [all …]
|
D | Converter.h | 47 const sp<ALooper> &codecLooper, 96 sp<ALooper> mCodecLooper;
|
/frameworks/av/media/libstagefright/ |
D | TimeSource.cpp | 26 : mStartTimeUs(ALooper::GetNowUs()) { in SystemTimeSource() 30 return ALooper::GetNowUs() - mStartTimeUs; in getRealTimeUs()
|
D | TimedEventQueue.cpp | 114 return postTimedEvent(event, ALooper::GetNowUs() + delay_us); in postEventWithDelay() 137 if (realtime_us > ALooper::GetNowUs() + kWakelockMinDelay) { in postTimedEvent() 245 now_us = ALooper::GetNowUs(); in threadEntry() 278 now_us = ALooper::GetNowUs(); in threadEntry()
|
D | AudioPlayer.cpp | 49 mNumFramesPlayedSysTimeUs(ALooper::GetNowUs()), in AudioPlayer() 275 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in pause() 283 mPinnedTimeUs = ALooper::GetNowUs(); in pause() 372 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in reset() 681 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in fillBuffer() 726 diffUs = ALooper::GetNowUs(); in getRealTimeUsLocked() 823 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in seekTo()
|
/frameworks/av/cmds/stagefright/ |
D | muxer.cpp | 53 const android::sp<android::ALooper> &looper, in muxing() 140 int64_t muxerStartTimeUs = ALooper::GetNowUs(); in muxing() 202 int64_t elapsedTimeUs = ALooper::GetNowUs() - muxerStartTimeUs; in muxing() 298 sp<ALooper> looper = new ALooper; in main()
|
D | SimplePlayer.h | 24 struct ALooper; 90 sp<ALooper> mCodecLooper;
|
D | codec.cpp | 70 const android::sp<android::ALooper> &looper, in decode() 138 int64_t startTimeUs = ALooper::GetNowUs(); in decode() 288 int64_t elapsedTimeUs = ALooper::GetNowUs() - startTimeUs; in decode() 375 sp<ALooper> looper = new ALooper; in main()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerStreamListener.h | 32 ALooper::handler_id targetID); 62 ALooper::handler_id mTargetID;
|
D | RTSPSource.h | 27 struct ALooper; 103 sp<ALooper> mLooper;
|
/frameworks/native/include/gui/ |
D | SensorEventQueue.h | 31 struct ALooper; 36 ALooper* looper;
|
/frameworks/av/include/media/stagefright/timedtext/ |
D | TimedTextDriver.h | 27 class ALooper; variable 80 sp<ALooper> mLooper;
|
/frameworks/av/media/libstagefright/include/ |
D | NuCachedSource2.h | 27 struct ALooper; 101 sp<ALooper> mLooper;
|