/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 73 ALooper::~ALooper() { in ~ALooper() 77 void ALooper::setName(const char *name) { in setName() 81 ALooper::handler_id ALooper::registerHandler(const sp<AHandler> &handler) { in registerHandler() 85 void ALooper::unregisterHandler(handler_id handlerID) { in unregisterHandler() 89 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() 91 sp<ALooper> looper = info.mLooper.promote(); in postMessage_l() 136 sp<ALooper> ALooperRoster::findLooper(ALooper::handler_id handlerID) { in findLooper() 145 sp<ALooper> looper = mHandlers.valueAt(index).mLooper.promote(); in findLooper()
|
/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); 42 sp<ALooper> findLooper(ALooper::handler_id handlerID); 46 wp<ALooper> mLooper; 51 KeyedVector<ALooper::handler_id, HandlerInfo> mHandlers; 52 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; 118 ALooper::handler_id mTarget;
|
/frameworks/base/native/android/ |
D | looper.cpp | 28 ALooper* ALooper_forThread() { in ALooper_forThread() 32 ALooper* ALooper_prepare(int opts) { in ALooper_prepare() 36 void ALooper_acquire(ALooper* looper) { in ALooper_acquire() 40 void ALooper_release(ALooper* looper) { in ALooper_release() 66 void ALooper_wake(ALooper* looper) { in ALooper_wake() 70 int ALooper_addFd(ALooper* looper, int fd, int ident, int events, in ALooper_addFd() 75 int ALooper_removeFd(ALooper* looper, int fd) { in ALooper_removeFd()
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | RepeaterSource.cpp | 44 mLooper = new ALooper; in start() 106 mStartTimeUs = ALooper::GetNowUs(); in read() 111 int64_t nowUs = ALooper::GetNowUs(); in read() 129 int64_t nowUs = ALooper::GetNowUs(); in read() 175 mLastBufferUpdateUs = ALooper::GetNowUs(); in onMessageReceived() 194 mLastBufferUpdateUs = ALooper::GetNowUs(); in wakeUp()
|
D | PlaybackSession.cpp | 61 const sp<ALooper> &pullLooper, 62 const sp<ALooper> &codecLooper, 109 sp<ALooper> mPullLooper; 110 sp<ALooper> mCodecLooper; 128 const sp<ALooper> &pullLooper, in Track() 129 const sp<ALooper> &codecLooper, in Track() 297 mLastOutputBufferQueuedTimeUs = ALooper::GetNowUs(); in queueOutputBuffer() 323 return (ALooper::GetNowUs() - mLastOutputBufferQueuedTimeUs) > 60000ll; in isSuspended() 359 mSenderLooper = new ALooper; in init() 392 mLastLifesignUs = ALooper::GetNowUs(); in updateLiveness() [all …]
|
D | Converter.h | 38 const sp<ALooper> &codecLooper, 77 sp<ALooper> mCodecLooper;
|
/frameworks/av/media/libmediaplayerservice/ |
D | RemoteDisplay.h | 28 struct ALooper; 44 sp<ALooper> mNetLooper; 45 sp<ALooper> mLooper;
|
/frameworks/av/include/media/stagefright/ |
D | MediaCodec.h | 48 const sp<ALooper> &looper, const char *mime, bool encoder); 51 const sp<ALooper> &looper, const char *name); 178 sp<ALooper> mLooper; 179 sp<ALooper> mCodecLooper; 202 MediaCodec(const sp<ALooper> &looper);
|
/frameworks/av/media/libstagefright/ |
D | TimeSource.cpp | 26 : mStartTimeUs(ALooper::GetNowUs()) { in SystemTimeSource() 30 return ALooper::GetNowUs() - mStartTimeUs; in getRealTimeUs()
|
D | AudioPlayer.cpp | 45 mNumFramesPlayedSysTimeUs(ALooper::GetNowUs()), in AudioPlayer() 207 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in pause() 215 mPinnedTimeUs = ALooper::GetNowUs(); in pause() 270 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in reset() 496 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in fillBuffer() 533 diffUs = ALooper::GetNowUs(); in getRealTimeUsLocked() 580 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in seekTo()
|
D | TimedEventQueue.cpp | 98 return postTimedEvent(event, ALooper::GetNowUs() + delay_us); in postEventWithDelay() 221 now_us = ALooper::GetNowUs(); in threadEntry() 254 now_us = ALooper::GetNowUs(); in threadEntry()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerStreamListener.h | 32 ALooper::handler_id targetID); 62 ALooper::handler_id mTargetID;
|
D | RTSPSource.h | 29 struct ALooper; 97 sp<ALooper> mLooper;
|
/frameworks/av/media/libstagefright/wifi-display/sink/ |
D | TunnelRenderer.cpp | 136 extra->setInt64("timeUs", ALooper::GetNowUs()); in doSomeWork() 237 mFirstFailedAttemptUs = ALooper::GetNowUs(); in dequeueBuffer() 241 (ALooper::GetNowUs() - mFirstFailedAttemptUs) / 1E6); in dequeueBuffer() 265 mFirstFailedAttemptUs = ALooper::GetNowUs(); in dequeueBuffer() 271 if (mFirstFailedAttemptUs + 50000ll > ALooper::GetNowUs()) { in dequeueBuffer()
|
/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 77 sp<ALooper> mLooper;
|
/frameworks/av/cmds/stagefright/ |
D | codec.cpp | 67 const android::sp<android::ALooper> &looper, in decode() 135 int64_t startTimeUs = ALooper::GetNowUs(); in decode() 285 int64_t elapsedTimeUs = ALooper::GetNowUs() - startTimeUs; in decode() 372 sp<ALooper> looper = new ALooper; in main()
|
D | SimplePlayer.h | 24 struct ALooper; 90 sp<ALooper> mCodecLooper;
|
/frameworks/av/media/libstagefright/wifi-display/ |
D | udptest.cpp | 143 int64_t nowUs = ALooper::GetNowUs(); in onMessageReceived() 211 int64_t nowUs = ALooper::GetNowUs(); in onMessageReceived() 340 sp<ALooper> looper = new ALooper; in main()
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodec.h | 29 struct ALooper; 94 sp<ALooper> mLooper;
|