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

123456

/frameworks/av/include/media/stagefright/foundation/
H A DALooperRoster.h21 #include <media/stagefright/foundation/ALooper.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;
H A DAHandler.h21 #include <media/stagefright/foundation/ALooper.h>
36 ALooper::handler_id id() const {
40 sp<ALooper> looper() const {
44 wp<ALooper> getLooper() const {
60 ALooper::handler_id mID;
61 wp<ALooper> mLooper;
63 inline void setID(ALooper::handler_id id, const wp<ALooper> &looper) {
H A DALooper.h35 struct ALooper : public RefBase { struct in namespace:android
39 ALooper();
62 virtual ~ALooper();
106 DISALLOW_EVIL_CONSTRUCTORS(ALooper);
H A DAMessage.h23 #include <media/stagefright/foundation/ALooper.h>
35 explicit AReplyToken(const sp<ALooper> &looper)
42 friend struct ALooper;
43 wp<ALooper> mLooper;
47 sp<ALooper> getLooper() const {
266 friend struct ALooper; // deliver()
271 ALooper::handler_id mTarget;
274 wp<ALooper> mLooper;
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
H A DALooperRoster.h21 #include <media/stagefright/foundation/ALooper.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;
H A DAHandler.h21 #include <media/stagefright/foundation/ALooper.h>
36 ALooper::handler_id id() const {
40 sp<ALooper> looper() const {
44 wp<ALooper> getLooper() const {
60 ALooper::handler_id mID;
61 wp<ALooper> mLooper;
63 inline void setID(ALooper::handler_id id, const wp<ALooper> &looper) {
H A DALooper.h35 struct ALooper : public RefBase { struct in namespace:android
39 ALooper();
62 virtual ~ALooper();
106 DISALLOW_EVIL_CONSTRUCTORS(ALooper);
H A DAMessage.h23 #include <media/stagefright/foundation/ALooper.h>
35 explicit AReplyToken(const sp<ALooper> &looper)
42 friend struct ALooper;
43 wp<ALooper> mLooper;
47 sp<ALooper> getLooper() const {
266 friend struct ALooper; // deliver()
271 ALooper::handler_id mTarget;
274 wp<ALooper> mLooper;
/frameworks/av/media/libstagefright/include/media/stagefright/foundation/
H A DALooperRoster.h21 #include <media/stagefright/foundation/ALooper.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;
H A DAHandler.h21 #include <media/stagefright/foundation/ALooper.h>
36 ALooper::handler_id id() const {
40 sp<ALooper> looper() const {
44 wp<ALooper> getLooper() const {
60 ALooper::handler_id mID;
61 wp<ALooper> mLooper;
63 inline void setID(ALooper::handler_id id, const wp<ALooper> &looper) {
H A DALooper.h35 struct ALooper : public RefBase { struct in namespace:android
39 ALooper();
62 virtual ~ALooper();
106 DISALLOW_EVIL_CONSTRUCTORS(ALooper);
H A DAMessage.h23 #include <media/stagefright/foundation/ALooper.h>
35 explicit AReplyToken(const sp<ALooper> &looper)
42 friend struct ALooper;
43 wp<ALooper> mLooper;
47 sp<ALooper> getLooper() const {
266 friend struct ALooper; // deliver()
271 ALooper::handler_id mTarget;
274 wp<ALooper> mLooper;
/frameworks/native/include/android/
H A Dlooper.h33 struct ALooper;
35 * ALooper
45 * A thread can have only one ALooper associated with it.
47 typedef struct ALooper ALooper; typedef in typeref:struct:ALooper
53 ALooper* ALooper_forThread();
74 ALooper* ALooper_prepare(int opts);
104 * Acquire a reference on the given ALooper object. This prevents the object
106 * to safely hand an ALooper from one thread to another.
108 void ALooper_acquire(ALooper* loope
[all...]
/frameworks/native/include_sensor/android/
H A Dlooper.h33 struct ALooper;
35 * ALooper
45 * A thread can have only one ALooper associated with it.
47 typedef struct ALooper ALooper; typedef in typeref:struct:ALooper
53 ALooper* ALooper_forThread();
74 ALooper* ALooper_prepare(int opts);
104 * Acquire a reference on the given ALooper object. This prevents the object
106 * to safely hand an ALooper from one thread to another.
108 void ALooper_acquire(ALooper* loope
[all...]
/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"
26 #include "ALooper.h"
36 struct ALooper::LooperThread : public Thread {
37 LooperThread(ALooper *looper, bool canCallJava)
61 ALooper *mLooper;
68 int64_t ALooper::GetNowUs() {
72 ALooper::ALooper() function in class:android::ALooper
79 ALooper::~ALooper() {
[all...]
H A DALooperRoster.cpp36 ALooper::handler_id ALooperRoster::registerHandler(
37 const sp<ALooper> &looper, const sp<AHandler> &handler) {
48 ALooper::handler_id handlerID = mNextHandlerID++;
56 void ALooperRoster::unregisterHandler(ALooper::handler_id handlerID) {
78 Vector<sp<ALooper> > activeLoopers;
86 sp<ALooper> looper = info.mLooper.promote();
93 // and having ~ALooper call this method again recursively
139 sp<ALooper> looper = info.mLooper.promote();
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
H A DALooper.h29 struct ALooper { struct
30 ALooper();
46 DISALLOW_COPY_AND_ASSIGN(ALooper);
H A DALooper.cpp17 #include "ALooper.h"
27 ALooper::ALooper() function in class:ALooper
31 void ALooper::signalSensorEvents(ASensorEventQueue *queue) {
37 void ALooper::wake() {
43 int ALooper::pollOnce(
90 void ALooper::invalidateSensorQueue(ASensorEventQueue *queue) {
H A DASensorEventQueue.h29 struct ALooper;
37 ALooper *looper,
63 ALooper *mLooper;
H A DASensorManager.h27 struct ALooper;
42 ALooper *looper,
/frameworks/av/media/libstagefright/
H A DThrottledSource.cpp20 #include <media/stagefright/foundation/ALooper.h>
45 int64_t nowUs = ALooper::GetNowUs();
/frameworks/av/include/media/stagefright/
H A DSimpleDecodingSource.h31 struct ALooper;
76 const sp<MediaCodec> &codec, const sp<MediaSource> &source, const sp<ALooper> &looper,
81 sp<ALooper> mLooper;
H A DMediaCodecSource.h28 struct ALooper;
42 const sp<ALooper> &looper,
92 const sp<ALooper> &looper,
120 sp<ALooper> mLooper;
121 sp<ALooper> mCodecLooper;
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DSimpleDecodingSource.h31 struct ALooper;
76 const sp<MediaCodec> &codec, const sp<MediaSource> &source, const sp<ALooper> &looper,
81 sp<ALooper> mLooper;

Completed in 203 milliseconds

123456