/frameworks/base/native/include/android/ |
H A D | looper.h | 26 * 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...] |
H A D | sensor.h | 169 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
|
/frameworks/base/include/media/stagefright/foundation/ |
H A D | ALooperRoster.h | 21 #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); 37 sp<ALooper> findLooper(ALooper::handler_id handlerID); 41 wp<ALooper> mLooper; 46 KeyedVector<ALooper::handler_id, HandlerInfo> mHandlers; 47 ALooper::handler_id mNextHandlerID;
|
H A D | AHandler.h | 21 #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 D | ALooper.h | 34 struct ALooper : public RefBase { struct in namespace:android 38 ALooper(); 57 virtual ~ALooper(); 81 DISALLOW_EVIL_CONSTRUCTORS(ALooper);
|
H A D | AMessage.h | 22 #include <media/stagefright/foundation/ALooper.h> 31 AMessage(uint32_t what = 0, ALooper::handler_id target = 0); 36 void setTarget(ALooper::handler_id target); 37 ALooper::handler_id target() const; 82 ALooper::handler_id mTarget;
|
/frameworks/base/native/android/ |
H A D | looper.cpp | 17 #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) {
|
H A D | sensor.cpp | 63 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data)
|
/frameworks/base/media/libstagefright/foundation/ |
H A D | ALooper.cpp | 18 #define LOG_TAG "ALooper" 23 #include "ALooper.h" 33 struct ALooper::LooperThread : public Thread { 34 LooperThread(ALooper *looper, bool canCallJava) 47 ALooper *mLooper; 53 int64_t ALooper::GetNowUs() { 60 ALooper::ALooper() function in class:android::ALooper 64 ALooper::~ALooper() { [all...] |
H A D | ALooperRoster.cpp | 33 ALooper::handler_id ALooperRoster::registerHandler( 34 const sp<ALooper> looper, const sp<AHandler> &handler) { 45 ALooper::handler_id handlerID = mNextHandlerID++; 53 void ALooperRoster::unregisterHandler(ALooper::handler_id handlerID) { 86 sp<ALooper> looper = info.mLooper.promote(); 129 sp<ALooper> ALooperRoster::findLooper(ALooper::handler_id handlerID) { 138 sp<ALooper> looper = mHandlers.valueAt(index).mLooper.promote();
|
H A D | AHandler.cpp | 27 sp<ALooper> AHandler::looper() {
|
H A D | Android.mk | 9 ALooper.cpp \
|
H A D | AMessage.cpp | 28 AMessage::AMessage(uint32_t what, ALooper::handler_id target) 46 void AMessage::setTarget(ALooper::handler_id handlerID) { 50 ALooper::handler_id AMessage::target() const {
|
/frameworks/base/media/libstagefright/include/ |
H A D | ARTSPController.h | 27 struct ALooper; 31 ARTSPController(const sp<ALooper> &looper); 79 sp<ALooper> mLooper;
|
H A D | NuCachedSource2.h | 27 struct ALooper; 72 sp<ALooper> mLooper;
|
H A D | ThreadedSource.h | 23 #include <media/stagefright/foundation/ALooper.h> 53 sp<ALooper> mLooper;
|
/frameworks/base/include/gui/ |
H A D | SensorEventQueue.h | 31 struct ALooper; 36 ALooper* looper;
|
/frameworks/base/include/media/stagefright/ |
H A D | MPEG2TSWriter.h | 23 #include <media/stagefright/foundation/ALooper.h> 54 sp<ALooper> mLooper;
|
/frameworks/base/include/utils/ |
H A D | Looper.h | 42 struct ALooper { struct 53 class Looper : public ALooper, public RefBase {
|
/frameworks/base/media/libstagefright/rtsp/ |
H A D | ARTSPController.cpp | 28 ARTSPController::ARTSPController(const sp<ALooper> &looper) 99 && ALooper::GetNowUs() < mLastSeekCompletedTimeUs + 500000ll; 159 mLastSeekCompletedTimeUs = ALooper::GetNowUs();
|
H A D | rtp_test.cpp | 24 #include <media/stagefright/foundation/ALooper.h> 66 sp<ALooper> looper = new ALooper;
|
H A D | UDPPusher.cpp | 66 mFirstTimeUs = ALooper::GetNowUs(); 105 int64_t nowUs = ALooper::GetNowUs();
|
H A D | ARTPSource.cpp | 94 mLastNTPTimeUpdateUs = ALooper::GetNowUs(); 200 int64_t nowUs = ALooper::GetNowUs(); 289 ((ALooper::GetNowUs() - mLastNTPTimeUpdateUs) * 65536.0 / 1E6);
|
H A D | ARTPWriter.h | 76 sp<ALooper> mLooper;
|
/frameworks/base/include/android_runtime/ |
H A D | android_app_NativeActivity.h | 76 void attachLooper(ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
|