Home
last modified time | relevance | path

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

123456

/frameworks/native/include_sensor/android/
Dlooper.h41 struct ALooper;
55 typedef struct ALooper ALooper; typedef
61 ALooper* ALooper_forThread();
82 ALooper* ALooper_prepare(int opts);
116 void ALooper_acquire(ALooper* looper);
121 void ALooper_release(ALooper* looper);
239 void ALooper_wake(ALooper* looper);
267 int ALooper_addFd(ALooper* looper, int fd, int ident, int events,
287 int ALooper_removeFd(ALooper* looper, int fd);
/frameworks/native/include/android/
Dlooper.h41 struct ALooper;
55 typedef struct ALooper ALooper; typedef
61 ALooper* ALooper_forThread();
82 ALooper* ALooper_prepare(int opts);
116 void ALooper_acquire(ALooper* looper);
121 void ALooper_release(ALooper* looper);
239 void ALooper_wake(ALooper* looper);
267 int ALooper_addFd(ALooper* looper, int fd, int ident, int events,
287 int ALooper_removeFd(ALooper* looper, int fd);
/frameworks/av/media/module/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 int64_t ALooper::getNowUs() { in getNowUs()
76 ALooper::ALooper() in ALooper() function in android::ALooper
83 ALooper::~ALooper() { in ~ALooper()
88 void ALooper::setName(const char *name) { in setName()
92 ALooper::handler_id ALooper::registerHandler(const sp<AHandler> &handler) { in registerHandler()
96 void ALooper::unregisterHandler(handler_id handlerID) { in unregisterHandler()
[all …]
DALooperRoster.cpp38 ALooper::handler_id ALooperRoster::registerHandler( in registerHandler()
39 const sp<ALooper> &looper, const sp<AHandler> &handler) { in registerHandler()
50 ALooper::handler_id handlerID = mNextHandlerID++; in registerHandler()
58 void ALooperRoster::unregisterHandler(ALooper::handler_id handlerID) { in unregisterHandler()
80 Vector<sp<ALooper> > activeLoopers; in unregisterStaleHandlers()
88 sp<ALooper> looper = info.mLooper.promote(); in unregisterStaleHandlers()
141 sp<ALooper> looper = info.mLooper.promote(); in dump()
DAHandler.cpp27 setDeliveryStatus(true, msg->what(), ALooper::GetNowUs()); in deliverMessage()
55 0 : ALooper::GetNowUs() - mCurrentMessageStartTimeUs; in getDeliveryStatus()
/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/media/module/foundation/include/media/stagefright/foundation/
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;
DAHandler.h39 ALooper::handler_id id() const { in id()
43 sp<ALooper> looper() const { in looper()
47 wp<ALooper> getLooper() const { in getLooper()
63 ALooper::handler_id mID;
64 wp<ALooper> mLooper;
66 inline void setID(ALooper::handler_id id, const wp<ALooper> &looper) { in setID()
DALooper.h35 struct ALooper : public RefBase { struct
39 ALooper(); argument
65 virtual ~ALooper(); argument
115 DISALLOW_EVIL_CONSTRUCTORS(ALooper);
DAMessage.h37 explicit AReplyToken(const sp<ALooper> &looper) in AReplyToken()
44 friend struct ALooper;
45 wp<ALooper> mLooper;
49 sp<ALooper> getLooper() const { in getLooper()
288 friend struct ALooper; // deliver()
293 ALooper::handler_id mTarget;
296 wp<ALooper> mLooper;
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DALooper.cpp27 ALooper::ALooper() in ALooper() function in ALooper
31 void ALooper::signalSensorEvents(const std::shared_ptr<ASensorEventQueue>& queue) { in signalSensorEvents()
37 void ALooper::wake() { in wake()
43 int ALooper::pollOnce( in pollOnce()
92 void ALooper::invalidateSensorQueue(const std::shared_ptr<ASensorEventQueue>& queue) { in invalidateSensorQueue()
DALooper.h30 struct ALooper { struct
31 ALooper();
47 DISALLOW_COPY_AND_ASSIGN(ALooper); argument
DASensorEventQueue.h33 struct ALooper;
40 ALooper *looper,
68 ALooper *mLooper;
DASensorManager.cpp154 ALooper *looper, in createEventQueue()
252 ALooper* looper, in ASensorManager_createEventQueue()
428 static ALooper *getTheLooper() { in getTheLooper()
429 static ALooper *sLooper = NULL; in getTheLooper()
433 sLooper = new ALooper; in getTheLooper()
440 ALooper *ALooper_forThread() { in ALooper_forThread()
445 ALooper *ALooper_prepare(int /* opts */) { in ALooper_prepare()
457 void ALooper_wake(ALooper* looper) { in ALooper_wake()
DASensorManager.h27 struct ALooper;
42 ALooper *looper,
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodecSource.h28 struct ALooper;
42 const sp<ALooper> &looper,
95 const sp<ALooper> &looper,
123 sp<ALooper> mLooper;
124 sp<ALooper> mCodecLooper;
DSimpleDecodingSource.h31 struct ALooper;
76 const sp<MediaCodec> &codec, const sp<MediaSource> &source, const sp<ALooper> &looper,
81 sp<ALooper> mLooper;
/frameworks/av/media/libstagefright/tests/mediacodec/
DMediaTestHelper.h26 struct ALooper;
37 const sp<ALooper> &looper,
DMediaCodecTest.cpp164 const sp<ALooper> &looper, in SetupMediaCodec()
241 sp<ALooper> looper{new ALooper}; in TEST()
339 sp<ALooper> looper{new ALooper}; in TEST()
388 sp<ALooper> looper{new ALooper}; in TEST()
436 sp<ALooper> looper{new ALooper}; in TEST()
/frameworks/av/media/libstagefright/
DMediaClock.cpp46 mLooper = new ALooper; in MediaClock()
99 int64_t nowUs = ALooper::GetNowUs(); in updateAnchor()
141 int64_t nowUs = ALooper::GetNowUs(); in setPlaybackRate()
202 int64_t nowUs = ALooper::GetNowUs(); in getRealTimeFor()
262 ALooper::GetNowUs(), &nowMediaTimeUs, false /* allowPastMaxTime */); in processTimers_l()
/frameworks/av/cmds/stagefright/
Dmuxer.cpp158 int64_t muxerStartTimeUs = ALooper::GetNowUs(); in muxing()
225 int64_t elapsedTimeUs = ALooper::GetNowUs() - muxerStartTimeUs; in muxing()
325 sp<ALooper> looper = new ALooper; in main()
DSimplePlayer.h24 struct ALooper;
91 sp<ALooper> mCodecLooper;
Dcodec.cpp71 const android::sp<android::ALooper> &looper, in decode()
141 int64_t startTimeUs = android::ALooper::GetNowUs(); in decode()
310 int64_t elapsedTimeUs = android::ALooper::GetNowUs() - startTimeUs; in decode()
403 sp<android::ALooper> looper = new android::ALooper; in main()
/frameworks/native/libs/sensor/include/sensor/
DSensorEventQueue.h31 struct ALooper;
36 ALooper* looper;
/frameworks/av/media/libdatasource/include/datasource/
DNuCachedSource2.h27 struct ALooper;
107 sp<ALooper> mLooper;

123456