Home
last modified time | relevance | path

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

1234

/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/av/media/libstagefright/foundation/
DALooper.cpp33 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 …]
DALooperRoster.cpp34 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/
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/
DALooperRoster.h29 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;
DAHandler.h33 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()
DALooper.h34 struct ALooper : public RefBase { struct
38 ALooper(); argument
57 virtual ~ALooper();
81 DISALLOW_EVIL_CONSTRUCTORS(ALooper); argument
DAMessage.h33 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/
DMediaCodecSource.h26 class ALooper; variable
40 const sp<ALooper> &looper,
78 const sp<ALooper> &looper,
94 sp<ALooper> mLooper;
95 sp<ALooper> mCodecLooper;
DMediaCodec.h58 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/
DRemoteDisplay.h29 struct ALooper;
47 sp<ALooper> mNetLooper;
48 sp<ALooper> mLooper;
/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()
437 mLastLifesignUs = ALooper::GetNowUs(); in updateLiveness()
827 int64_t nowUs = ALooper::GetNowUs(); in schedulePullExtractor()
[all …]
DConverter.h47 const sp<ALooper> &codecLooper,
96 sp<ALooper> mCodecLooper;
/frameworks/av/media/libstagefright/
DTimeSource.cpp26 : mStartTimeUs(ALooper::GetNowUs()) { in SystemTimeSource()
30 return ALooper::GetNowUs() - mStartTimeUs; in getRealTimeUs()
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()
681 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in fillBuffer()
726 diffUs = ALooper::GetNowUs(); in getRealTimeUsLocked()
823 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in seekTo()
/frameworks/av/cmds/stagefright/
Dmuxer.cpp53 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()
DSimplePlayer.h24 struct ALooper;
90 sp<ALooper> mCodecLooper;
Dcodec.cpp70 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/
DNuPlayerStreamListener.h32 ALooper::handler_id targetID);
62 ALooper::handler_id mTargetID;
DRTSPSource.h27 struct ALooper;
103 sp<ALooper> mLooper;
/frameworks/native/include/gui/
DSensorEventQueue.h31 struct ALooper;
36 ALooper* looper;
/frameworks/av/include/media/stagefright/timedtext/
DTimedTextDriver.h27 class ALooper; variable
80 sp<ALooper> mLooper;
/frameworks/av/media/libstagefright/include/
DNuCachedSource2.h27 struct ALooper;
101 sp<ALooper> mLooper;

1234