Home
last modified time | relevance | path

Searched refs:ALooper (Results 1 – 25 of 113) sorted by relevance

12345

/frameworks/av/media/libstagefright/foundation/
DALooper.cpp36 struct ALooper::LooperThread : public Thread {
37 LooperThread(ALooper *looper, bool canCallJava) in LooperThread()
61 ALooper *mLooper;
68 int64_t ALooper::GetNowUs() { in GetNowUs()
72 ALooper::ALooper() in ALooper() function in android::ALooper
79 ALooper::~ALooper() { in ~ALooper()
84 void ALooper::setName(const char *name) { in setName()
88 ALooper::handler_id ALooper::registerHandler(const sp<AHandler> &handler) { in registerHandler()
92 void ALooper::unregisterHandler(handler_id handlerID) { in unregisterHandler()
96 status_t ALooper::start( in start()
[all …]
DALooperRoster.cpp36 ALooper::handler_id ALooperRoster::registerHandler( in registerHandler()
37 const sp<ALooper> looper, const sp<AHandler> &handler) { in registerHandler()
48 ALooper::handler_id handlerID = mNextHandlerID++; in registerHandler()
56 void ALooperRoster::unregisterHandler(ALooper::handler_id handlerID) { in unregisterHandler()
78 Vector<sp<ALooper> > activeLoopers; in unregisterStaleHandlers()
86 sp<ALooper> looper = info.mLooper.promote(); in unregisterStaleHandlers()
139 sp<ALooper> looper = info.mLooper.promote(); in dump()
/frameworks/native/include/android/
Dlooper.h38 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/base/native/android/
Dlooper.cpp28 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/
DAHandler.h36 ALooper::handler_id id() const { in id()
40 sp<ALooper> looper() const { in looper()
44 wp<ALooper> getLooper() const { in getLooper()
60 ALooper::handler_id mID;
61 wp<ALooper> mLooper;
63 inline void setID(ALooper::handler_id id, wp<ALooper> looper) { in setID()
DALooperRoster.h30 ALooper::handler_id registerHandler(
31 const sp<ALooper> looper, const sp<AHandler> &handler);
33 void unregisterHandler(ALooper::handler_id handlerID);
40 wp<ALooper> mLooper;
45 KeyedVector<ALooper::handler_id, HandlerInfo> mHandlers;
46 ALooper::handler_id mNextHandlerID;
DAMessage.h34 AReplyToken(const sp<ALooper> &looper) in AReplyToken()
41 friend struct ALooper;
42 wp<ALooper> mLooper;
46 sp<ALooper> getLooper() const { in getLooper()
153 friend struct ALooper; // deliver()
158 ALooper::handler_id mTarget;
161 wp<ALooper> mLooper;
DALooper.h35 struct ALooper : public RefBase { struct
39 ALooper(); argument
62 virtual ~ALooper(); argument
106 DISALLOW_EVIL_CONSTRUCTORS(ALooper); argument
/frameworks/av/media/libstagefright/wifi-display/source/
DRepeaterSource.cpp63 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()
DPlaybackSession.cpp58 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()
439 mLastLifesignUs = ALooper::GetNowUs(); in updateLiveness()
831 int64_t nowUs = ALooper::GetNowUs(); in schedulePullExtractor()
[all …]
DConverter.h47 const sp<ALooper> &codecLooper,
96 sp<ALooper> mCodecLooper;
/frameworks/av/include/media/stagefright/
DMediaCodecSource.h26 struct ALooper;
42 const sp<ALooper> &looper,
81 const sp<ALooper> &looper,
98 sp<ALooper> mLooper;
99 sp<ALooper> mCodecLooper;
DMediaCodec.h67 const sp<ALooper> &looper, const char *mime, bool encoder, status_t *err = NULL,
71 const sp<ALooper> &looper, const char *name, status_t *err = NULL,
283 sp<ALooper> mLooper;
284 sp<ALooper> mCodecLooper;
340 MediaCodec(const sp<ALooper> &looper, pid_t pid);
/frameworks/av/media/libmediaplayerservice/
DRemoteDisplay.h29 struct ALooper;
48 sp<ALooper> mNetLooper;
49 sp<ALooper> mLooper;
/frameworks/av/media/libstagefright/
DTimeSource.cpp26 : mStartTimeUs(ALooper::GetNowUs()) { in SystemTimeSource()
30 return ALooper::GetNowUs() - mStartTimeUs; in getRealTimeUs()
DMediaClock.cpp60 int64_t nowUs = ALooper::GetNowUs(); in updateAnchor()
85 int64_t nowUs = ALooper::GetNowUs(); in setPlaybackRate()
142 int64_t nowUs = ALooper::GetNowUs(); in getRealTimeFor()
DTimedEventQueue.cpp114 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()
DAudioPlayer.cpp49 mNumFramesPlayedSysTimeUs(ALooper::GetNowUs()), in AudioPlayer()
275 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in pause()
283 mPinnedTimeUs = ALooper::GetNowUs(); in pause()
372 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in reset()
692 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in fillBuffer()
737 diffUs = ALooper::GetNowUs(); in getRealTimeUsLocked()
834 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in seekTo()
/frameworks/base/docs/html/ndk/reference/
Dlooper_8h.jd22 …5">ALooper</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___loop…
51 …class="el" href="group___looper.html#gadb10521a80138b777ba1bc2ca74d4af5">ALooper</a> *&#160;</td><…
53 …class="el" href="group___looper.html#gadb10521a80138b777ba1bc2ca74d4af5">ALooper</a> *&#160;</td><…
55 …class="el" href="group___looper.html#gadb10521a80138b777ba1bc2ca74d4af5">ALooper</a> *looper)</td>…
57 …class="el" href="group___looper.html#gadb10521a80138b777ba1bc2ca74d4af5">ALooper</a> *looper)</td>…
63 …class="el" href="group___looper.html#gadb10521a80138b777ba1bc2ca74d4af5">ALooper</a> *looper)</td>…
65 …class="el" href="group___looper.html#gadb10521a80138b777ba1bc2ca74d4af5">ALooper</a> *looper, int …
67 …class="el" href="group___looper.html#gadb10521a80138b777ba1bc2ca74d4af5">ALooper</a> *looper, int …
Dgroup___looper.jd24 …5">ALooper</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___loop…
53 …class="el" href="group___looper.html#gadb10521a80138b777ba1bc2ca74d4af5">ALooper</a> *&#160;</td><…
55 …class="el" href="group___looper.html#gadb10521a80138b777ba1bc2ca74d4af5">ALooper</a> *&#160;</td><…
57 …class="el" href="group___looper.html#gadb10521a80138b777ba1bc2ca74d4af5">ALooper</a> *looper)</td>…
59 …class="el" href="group___looper.html#gadb10521a80138b777ba1bc2ca74d4af5">ALooper</a> *looper)</td>…
65 …class="el" href="group___looper.html#gadb10521a80138b777ba1bc2ca74d4af5">ALooper</a> *looper)</td>…
67 …class="el" href="group___looper.html#gadb10521a80138b777ba1bc2ca74d4af5">ALooper</a> *looper, int …
69 …class="el" href="group___looper.html#gadb10521a80138b777ba1bc2ca74d4af5">ALooper</a> *looper, int …
79 …21a80138b777ba1bc2ca74d4af5">ALooper</a> <a class="el" href="group___looper.html#gadb10521a80138b7…
83 <p>ALooper</p>
[all …]
/frameworks/av/cmds/stagefright/
Dmuxer.cpp154 int64_t muxerStartTimeUs = ALooper::GetNowUs(); in muxing()
221 int64_t elapsedTimeUs = ALooper::GetNowUs() - muxerStartTimeUs; in muxing()
317 sp<ALooper> looper = new ALooper; in main()
Dcodec.cpp71 const android::sp<android::ALooper> &looper, in decode()
141 int64_t startTimeUs = ALooper::GetNowUs(); in decode()
308 int64_t elapsedTimeUs = ALooper::GetNowUs() - startTimeUs; in decode()
403 sp<ALooper> looper = new ALooper; in main()
DSimplePlayer.h24 struct ALooper;
90 sp<ALooper> mCodecLooper;
/frameworks/native/include/gui/
DSensorEventQueue.h32 struct ALooper;
37 ALooper* looper;
/frameworks/av/include/media/stagefright/timedtext/
DTimedTextDriver.h27 struct ALooper;
80 sp<ALooper> mLooper;

12345