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

12

/frameworks/base/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...]
H A Dsensor.h169 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
/frameworks/base/include/media/stagefright/foundation/
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);
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 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 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>
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 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) {
H A Dsensor.cpp63 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data)
/frameworks/base/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)
47 ALooper *mLooper;
53 int64_t ALooper::GetNowUs() {
60 ALooper::ALooper() function in class:android::ALooper
64 ALooper::~ALooper() {
[all...]
H A DALooperRoster.cpp33 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 DAHandler.cpp27 sp<ALooper> AHandler::looper() {
H A DAndroid.mk9 ALooper.cpp \
H A DAMessage.cpp28 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 DARTSPController.h27 struct ALooper;
31 ARTSPController(const sp<ALooper> &looper);
79 sp<ALooper> mLooper;
H A DNuCachedSource2.h27 struct ALooper;
72 sp<ALooper> mLooper;
H A DThreadedSource.h23 #include <media/stagefright/foundation/ALooper.h>
53 sp<ALooper> mLooper;
/frameworks/base/include/gui/
H A DSensorEventQueue.h31 struct ALooper;
36 ALooper* looper;
/frameworks/base/include/media/stagefright/
H A DMPEG2TSWriter.h23 #include <media/stagefright/foundation/ALooper.h>
54 sp<ALooper> mLooper;
/frameworks/base/include/utils/
H A DLooper.h42 struct ALooper { struct
53 class Looper : public ALooper, public RefBase {
/frameworks/base/media/libstagefright/rtsp/
H A DARTSPController.cpp28 ARTSPController::ARTSPController(const sp<ALooper> &looper)
99 && ALooper::GetNowUs() < mLastSeekCompletedTimeUs + 500000ll;
159 mLastSeekCompletedTimeUs = ALooper::GetNowUs();
H A Drtp_test.cpp24 #include <media/stagefright/foundation/ALooper.h>
66 sp<ALooper> looper = new ALooper;
H A DUDPPusher.cpp66 mFirstTimeUs = ALooper::GetNowUs();
105 int64_t nowUs = ALooper::GetNowUs();
H A DARTPSource.cpp94 mLastNTPTimeUpdateUs = ALooper::GetNowUs();
200 int64_t nowUs = ALooper::GetNowUs();
289 ((ALooper::GetNowUs() - mLastNTPTimeUpdateUs) * 65536.0 / 1E6);
H A DARTPWriter.h76 sp<ALooper> mLooper;
/frameworks/base/include/android_runtime/
H A Dandroid_app_NativeActivity.h76 void attachLooper(ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);

Completed in 654 milliseconds

12