Home
last modified time | relevance | path

Searched refs:ALooper (Results 1 – 25 of 119) 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.h33 struct ALooper;
47 typedef struct ALooper ALooper; typedef
53 ALooper* ALooper_forThread();
74 ALooper* ALooper_prepare(int opts);
108 void ALooper_acquire(ALooper* looper);
113 void ALooper_release(ALooper* looper);
213 void ALooper_wake(ALooper* looper);
241 int ALooper_addFd(ALooper* looper, int fd, int ident, int events,
261 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()
184 friend struct ALooper; // deliver()
189 ALooper::handler_id mTarget;
192 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.h29 struct ALooper;
44 const sp<ALooper> &looper,
86 const sp<ALooper> &looper,
103 sp<ALooper> mLooper;
104 sp<ALooper> mCodecLooper;
DSimpleDecodingSource.h31 struct ALooper;
73 const sp<MediaCodec> &codec, const sp<IMediaSource> &source, const sp<ALooper> &looper,
78 sp<ALooper> mLooper;
DMediaCodec.h68 const sp<ALooper> &looper, const AString &mime, bool encoder, status_t *err = NULL,
72 const sp<ALooper> &looper, const AString &name, status_t *err = NULL,
292 sp<ALooper> mLooper;
293 sp<ALooper> mCodecLooper;
349 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/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/media/libstagefright/
DMediaClock.cpp64 int64_t nowUs = ALooper::GetNowUs(); in updateAnchor()
100 int64_t nowUs = ALooper::GetNowUs(); in setPlaybackRate()
157 int64_t nowUs = ALooper::GetNowUs(); in getRealTimeFor()
/frameworks/av/cmds/stagefright/
Dmuxer.cpp155 int64_t muxerStartTimeUs = ALooper::GetNowUs(); in muxing()
222 int64_t elapsedTimeUs = ALooper::GetNowUs() - muxerStartTimeUs; in muxing()
325 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;
Dsf2.cpp83 int64_t delayUs = ALooper::GetNowUs() - mStartTimeUs; in printStatistics()
112 mDecodeLooper = new ALooper; in onMessageReceived()
163 mStartTimeUs = ALooper::GetNowUs(); in onMessageReceived()
260 sp<ALooper> mDecodeLooper;
625 sp<ALooper> looper = new ALooper; in main()
/frameworks/native/include/gui/
DSensorEventQueue.h32 struct ALooper;
37 ALooper* looper;
/frameworks/av/media/libstagefright/include/
DNuCachedSource2.h27 struct ALooper;
105 sp<ALooper> mLooper;
/frameworks/av/media/libstagefright/rtsp/
DARTPSource.cpp96 mLastNTPTimeUpdateUs = ALooper::GetNowUs(); in timeUpdate()
178 int64_t nowUs = ALooper::GetNowUs(); in addFIR()
267 ((ALooper::GetNowUs() - mLastNTPTimeUpdateUs) * 65536.0 / 1E6); in addReceiverReport()

12345