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

1234

/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>
49 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);
42 sp<ALooper> findLooper(ALooper::handler_id handlerID);
46 wp<ALooper> mLooper;
51 KeyedVector<ALooper::handler_id, HandlerInfo> mHandlers;
52 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;
118 ALooper::handler_id mTarget;
/frameworks/base/native/android/
H A Dlooper.cpp17 #define LOG_TAG "ALooper"
28 ALooper* ALooper_forThread() {
32 ALooper* ALooper_prepare(int opts) {
36 void ALooper_acquire(ALooper* looper) {
40 void ALooper_release(ALooper* looper) {
66 void ALooper_wake(ALooper* looper) {
70 int ALooper_addFd(ALooper* looper, int fd, int ident, int events,
75 int ALooper_removeFd(ALooper* looper, int fd) {
/frameworks/av/media/libmediaplayerservice/
H A DRemoteDisplay.h28 struct ALooper;
42 sp<ALooper> mNetLooper;
43 sp<ALooper> mLooper;
H A DRemoteDisplay.cpp28 : mLooper(new ALooper),
/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
73 ALooper::~ALooper() {
[all...]
H A DAHandler.cpp27 sp<ALooper> AHandler::looper() {
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) {
91 sp<ALooper> looper = info.mLooper.promote();
136 sp<ALooper> ALooperRoster::findLooper(ALooper::handler_id handlerID) {
145 sp<ALooper> looper = mHandlers.valueAt(index).mLooper.promote();
H A DAndroid.mk10 ALooper.cpp \
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.h32 ALooper::handler_id targetID);
62 ALooper::handler_id mTargetID;
H A DHTTPLiveSource.h64 sp<ALooper> mLiveLooper;
H A DNuPlayerDecoder.h53 sp<ALooper> mCodecLooper;
/frameworks/av/media/libstagefright/wifi-display/source/
H A DRepeaterSource.cpp8 #include <media/stagefright/foundation/ALooper.h>
44 mLooper = new ALooper;
106 mStartTimeUs = ALooper::GetNowUs();
111 int64_t nowUs = ALooper::GetNowUs();
128 int64_t nowUs = ALooper::GetNowUs();
172 mLastBufferUpdateUs = ALooper::GetNowUs();
191 mLastBufferUpdateUs = ALooper::GetNowUs();
H A DConverter.h38 const sp<ALooper> &codecLooper,
76 sp<ALooper> mCodecLooper;
/frameworks/av/media/libmediaplayerservice/nuplayer/mp4/
H A DMP4Source.h43 sp<ALooper> mLooper;
/frameworks/av/media/libstagefright/wifi-display/
H A Dwfd.cpp109 sp<ALooper> looper = new ALooper;
/frameworks/native/include/gui/
H A DSensorEventQueue.h31 struct ALooper;
36 ALooper* looper;
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.h24 struct ALooper;
90 sp<ALooper> mCodecLooper;
/frameworks/av/include/media/stagefright/
H A DMPEG2TSWriter.h23 #include <media/stagefright/foundation/ALooper.h>
62 sp<ALooper> mLooper;
/frameworks/av/include/media/stagefright/timedtext/
H A DTimedTextDriver.h27 class ALooper;
77 sp<ALooper> mLooper;

Completed in 152 milliseconds

1234