Home
last modified time | relevance | path

Searched refs:ALooper (Results 1 – 25 of 87) 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
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 …]
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()
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/
DALooperRoster.h29 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;
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;
118 ALooper::handler_id mTarget;
/frameworks/base/native/android/
Dlooper.cpp28 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/
DRepeaterSource.cpp44 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()
DPlaybackSession.cpp61 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 …]
DConverter.h38 const sp<ALooper> &codecLooper,
77 sp<ALooper> mCodecLooper;
/frameworks/av/media/libmediaplayerservice/
DRemoteDisplay.h28 struct ALooper;
44 sp<ALooper> mNetLooper;
45 sp<ALooper> mLooper;
/frameworks/av/include/media/stagefright/
DMediaCodec.h48 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/
DTimeSource.cpp26 : mStartTimeUs(ALooper::GetNowUs()) { in SystemTimeSource()
30 return ALooper::GetNowUs() - mStartTimeUs; in getRealTimeUs()
DAudioPlayer.cpp45 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()
DTimedEventQueue.cpp98 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/
DNuPlayerStreamListener.h32 ALooper::handler_id targetID);
62 ALooper::handler_id mTargetID;
DRTSPSource.h29 struct ALooper;
97 sp<ALooper> mLooper;
/frameworks/av/media/libstagefright/wifi-display/sink/
DTunnelRenderer.cpp136 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/
DSensorEventQueue.h31 struct ALooper;
36 ALooper* looper;
/frameworks/av/include/media/stagefright/timedtext/
DTimedTextDriver.h27 class ALooper; variable
77 sp<ALooper> mLooper;
/frameworks/av/cmds/stagefright/
Dcodec.cpp67 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()
DSimplePlayer.h24 struct ALooper;
90 sp<ALooper> mCodecLooper;
/frameworks/av/media/libstagefright/wifi-display/
Dudptest.cpp143 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/
Dandroid_media_MediaCodec.h29 struct ALooper;
94 sp<ALooper> mLooper;

1234