Searched refs:ALooper (Results 1 - 25 of 101) sorted by relevance

12345

/frameworks/native/include/android/
H A Dlooper.h26 * ALooper
36 * A thread can have only one ALooper associated with it.
38 struct ALooper;
39 typedef struct ALooper ALooper; typedef in typeref:struct:ALooper
45 ALooper* ALooper_forThread();
65 ALooper* ALooper_prepare(int opts);
95 * Acquire a reference on the given ALooper object. This prevents the object
97 * to safely hand an ALooper from one thread to another.
99 void ALooper_acquire(ALooper* loope
[all...]
/frameworks/av/media/libstagefright/
H A DTimeSource.cpp20 #include <media/stagefright/foundation/ALooper.h>
26 : mStartTimeUs(ALooper::GetNowUs()) {
30 return ALooper::GetNowUs() - mStartTimeUs;
H A DThrottledSource.cpp20 #include <media/stagefright/foundation/ALooper.h>
45 int64_t nowUs = ALooper::GetNowUs();
/frameworks/av/include/media/stagefright/foundation/
H A DAHandler.h21 #include <media/stagefright/foundation/ALooper.h>
33 ALooper::handler_id id() const {
37 sp<ALooper> looper();
45 ALooper::handler_id mID;
47 void setID(ALooper::handler_id id) {
H A DALooperRoster.h21 #include <media/stagefright/foundation/ALooper.h>
29 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;
H A DALooper.h34 struct ALooper : public RefBase { struct in namespace:android
38 ALooper();
57 virtual ~ALooper();
81 DISALLOW_EVIL_CONSTRUCTORS(ALooper);
H A DAMessage.h22 #include <media/stagefright/foundation/ALooper.h>
33 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/base/native/android/
H A Dlooper.cpp17 #define LOG_TAG "ALooper"
28 static inline Looper* ALooper_to_Looper(ALooper* alooper) {
32 static inline ALooper* Looper_to_ALooper(Looper* looper) {
33 return reinterpret_cast<ALooper*>(looper);
36 ALooper* ALooper_forThread() {
40 ALooper* ALooper_prepare(int opts) {
44 void ALooper_acquire(ALooper* looper) {
48 void ALooper_release(ALooper* looper) {
74 void ALooper_wake(ALooper* looper) {
78 int ALooper_addFd(ALooper* loope
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp18 #define LOG_TAG "ALooper"
23 #include "ALooper.h"
33 struct ALooper::LooperThread : public Thread {
34 LooperThread(ALooper *looper, bool canCallJava)
58 ALooper *mLooper;
65 int64_t ALooper::GetNowUs() {
69 ALooper::ALooper() function in class:android::ALooper
76 ALooper::~ALooper() {
[all...]
H A DALooperRoster.cpp34 ALooper::handler_id ALooperRoster::registerHandler(
35 const sp<ALooper> looper, const sp<AHandler> &handler) {
46 ALooper::handler_id handlerID = mNextHandlerID++;
54 void ALooperRoster::unregisterHandler(ALooper::handler_id handlerID) {
76 Vector<sp<ALooper> > activeLoopers;
83 sp<ALooper> looper = info.mLooper.promote();
90 // and having ~ALooper call this method again recursively
103 sp<ALooper> looper = findLooper(msg->target());
141 sp<ALooper> ALooperRoster::findLooper(ALooper
[all...]
H A DAHandler.cpp27 sp<ALooper> AHandler::looper() {
H A DAndroid.mk11 ALooper.cpp \
/frameworks/av/media/libmediaplayerservice/
H A DRemoteDisplay.h29 struct ALooper;
47 sp<ALooper> mNetLooper;
48 sp<ALooper> mLooper;
H A DRemoteDisplay.cpp31 : mLooper(new ALooper),
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.h32 ALooper::handler_id targetID);
62 ALooper::handler_id mTargetID;
H A DStreamingSource.h62 sp<ALooper> mLooper;
/frameworks/av/include/media/stagefright/
H A DMediaCodecSource.h26 class ALooper;
40 const sp<ALooper> &looper,
78 const sp<ALooper> &looper,
94 sp<ALooper> mLooper;
95 sp<ALooper> mCodecLooper;
H A DMPEG2TSWriter.h23 #include <media/stagefright/foundation/ALooper.h>
62 sp<ALooper> mLooper;
/frameworks/av/media/libstagefright/wifi-display/source/
H A DRepeaterSource.cpp8 #include <media/stagefright/foundation/ALooper.h>
63 mLooper = new ALooper;
126 mStartTimeUs = ALooper::GetNowUs();
131 int64_t nowUs = ALooper::GetNowUs();
149 int64_t nowUs = ALooper::GetNowUs();
195 mLastBufferUpdateUs = ALooper::GetNowUs();
214 mLastBufferUpdateUs = ALooper::GetNowUs();
H A DConverter.h47 const sp<ALooper> &codecLooper,
96 sp<ALooper> mCodecLooper;
/frameworks/native/include/gui/
H A DSensorEventQueue.h31 struct ALooper;
36 ALooper* looper;
/frameworks/av/media/libstagefright/include/
H A DSDPLoader.h62 sp<ALooper> mNetLooper;
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.h24 struct ALooper;
90 sp<ALooper> mCodecLooper;
H A Dmuxer.cpp26 #include <media/stagefright/foundation/ALooper.h>
53 const android::sp<android::ALooper> &looper,
140 int64_t muxerStartTimeUs = ALooper::GetNowUs();
202 int64_t elapsedTimeUs = ALooper::GetNowUs() - muxerStartTimeUs;
298 sp<ALooper> looper = new ALooper;
/frameworks/av/include/media/stagefright/timedtext/
H A DTimedTextDriver.h27 class ALooper;
80 sp<ALooper> mLooper;

Completed in 3677 milliseconds

12345