/frameworks/native/include/android/ |
D | looper.h | 33 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/native/include_sensor/android/ |
D | looper.h | 33 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/av/media/libstagefright/foundation/ |
D | ALooper.cpp | 36 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 …]
|
D | ALooperRoster.cpp | 36 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/base/native/android/ |
D | looper.cpp | 28 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/libstagefright/foundation/include/media/stagefright/foundation/ |
D | AHandler.h | 36 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, const wp<ALooper> &looper) { in setID()
|
D | ALooperRoster.h | 30 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;
|
D | ALooper.h | 35 struct ALooper : public RefBase { struct 39 ALooper(); argument 62 virtual ~ALooper(); argument 106 DISALLOW_EVIL_CONSTRUCTORS(ALooper); argument
|
D | AMessage.h | 35 explicit AReplyToken(const sp<ALooper> &looper) in AReplyToken() 42 friend struct ALooper; 43 wp<ALooper> mLooper; 47 sp<ALooper> getLooper() const { in getLooper() 268 friend struct ALooper; // deliver() 273 ALooper::handler_id mTarget; 276 wp<ALooper> mLooper;
|
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
D | ALooper.cpp | 27 ALooper::ALooper() in ALooper() function in ALooper 31 void ALooper::signalSensorEvents(ASensorEventQueue *queue) { in signalSensorEvents() 37 void ALooper::wake() { in wake() 43 int ALooper::pollOnce( in pollOnce() 89 void ALooper::invalidateSensorQueue(ASensorEventQueue *queue) { in invalidateSensorQueue()
|
D | ALooper.h | 29 struct ALooper { struct 30 ALooper(); 46 DISALLOW_COPY_AND_ASSIGN(ALooper); argument
|
D | ASensorEventQueue.h | 31 struct ALooper; 39 ALooper *looper, 67 ALooper *mLooper;
|
D | ASensorManager.cpp | 155 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()
|
D | ASensorManager.h | 27 struct ALooper; 42 ALooper *looper,
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaCodecSource.h | 28 struct ALooper; 42 const sp<ALooper> &looper, 92 const sp<ALooper> &looper, 120 sp<ALooper> mLooper; 121 sp<ALooper> mCodecLooper;
|
D | SimpleDecodingSource.h | 31 struct ALooper; 76 const sp<MediaCodec> &codec, const sp<MediaSource> &source, const sp<ALooper> &looper, 81 sp<ALooper> mLooper;
|
D | MediaCodec.h | 84 const sp<ALooper> &looper, const AString &mime, bool encoder, status_t *err = NULL, 88 const sp<ALooper> &looper, const AString &name, status_t *err = NULL, 319 sp<ALooper> mLooper; 320 sp<ALooper> mCodecLooper; 386 MediaCodec(const sp<ALooper> &looper, pid_t pid, uid_t uid);
|
/frameworks/av/media/libstagefright/ |
D | MediaClock.cpp | 46 mLooper = new ALooper; in MediaClock() 99 int64_t nowUs = ALooper::GetNowUs(); in updateAnchor() 137 int64_t nowUs = ALooper::GetNowUs(); in setPlaybackRate() 198 int64_t nowUs = ALooper::GetNowUs(); in getRealTimeFor() 258 ALooper::GetNowUs(), &nowMediaTimeUs, false /* allowPastMaxTime */); in processTimers_l()
|
/frameworks/av/cmds/stagefright/ |
D | muxer.cpp | 154 int64_t muxerStartTimeUs = ALooper::GetNowUs(); in muxing() 221 int64_t elapsedTimeUs = ALooper::GetNowUs() - muxerStartTimeUs; in muxing() 321 sp<ALooper> looper = new ALooper; in main()
|
D | SimplePlayer.h | 24 struct ALooper; 91 sp<ALooper> mCodecLooper;
|
D | codec.cpp | 71 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()
|
D | AudioPlayer.cpp | 48 mNumFramesPlayedSysTimeUs(ALooper::GetNowUs()), in AudioPlayer() 290 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in pause() 385 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in reset() 619 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in fillBuffer() 666 mNumFramesPlayedSysTimeUs = ALooper::GetNowUs(); in seekTo()
|
/frameworks/native/libs/sensor/include/sensor/ |
D | SensorEventQueue.h | 31 struct ALooper; 36 ALooper* looper;
|
/frameworks/av/media/libdatasource/include/datasource/ |
D | NuCachedSource2.h | 27 struct ALooper; 107 sp<ALooper> mLooper;
|
/frameworks/av/media/libstagefright/rtsp/ |
D | rtp_test.cpp | 63 sp<ALooper> looper = new ALooper; in main()
|