Searched defs:Looper (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/os/
H A DLooper.java32 * <p>This is a typical example of the implementation of a Looper thread,
34 * initial Handler to communicate with the Looper.
41 * Looper.prepare();
49 * Looper.loop();
53 public class Looper { class
54 private static final String TAG = "Looper";
57 static final ThreadLocal<Looper> sThreadLocal = new ThreadLocal<Looper>();
58 private static Looper sMainLooper; // guarded by Looper
188 private Looper(boolean quitAllowed) { method in class:Looper
[all...]
/frameworks/native/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.
306 static sp<Looper> prepare(int opts);
314 static void setForThread(const sp<Looper>
[all...]
/frameworks/native/libs/utils/
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
100 Looper::~Looper() {
106 void Looper::initTLSKey() {
111 void Looper::threadDestructor(void *st) {
112 Looper* cons
[all...]

Completed in 219 milliseconds