Searched refs:Looper (Results 1 - 4 of 4) sorted by relevance

/system/core/libutils/
H A DLooper.cpp6 #define LOG_TAG "Looper"
17 #include <utils/Looper.h>
58 // --- Looper ---
69 Looper::Looper(bool allowNonCallbacks) : function in class:android::Looper
102 Looper::~Looper() {
108 void Looper::initTLSKey() {
113 void Looper::threadDestructor(void *st) {
114 Looper* cons
[all...]
H A DAndroid.mk67 LOCAL_SRC_FILES += Looper.cpp
81 LOCAL_SRC_FILES += Looper.cpp
98 Looper.cpp \
/system/core/include/utils/
H A DLooper.h38 * A message that can be posted to a Looper.
50 * Interface for a Looper message handler.
52 * The Looper holds a strong reference to the message handler whenever it has
53 * a message to deliver to it. Make sure to call Looper::removeMessages
128 class Looper : public ALooper, public RefBase { class in namespace:android
130 virtual ~Looper();
140 Looper(bool allowNonCallbacks);
244 * be released at the appropriate time by the Looper.
313 static sp<Looper> prepare(int opts);
321 static void setForThread(const sp<Looper>
[all...]
/system/core/libutils/tests/
H A DLooper_test.cpp5 #include <utils/Looper.h>
27 sp<Looper> mLooper;
30 DelayedWake(int delayMillis, const sp<Looper> looper) :
56 void setCallback(const sp<Looper>& looper, int fd, int events) {
103 sp<Looper> mLooper;
106 mLooper = new Looper(true);
383 sp<Looper> looper = new Looper(false /*allowNonCallbacks*/);

Completed in 776 milliseconds