HomeSort by relevance Sort by last modified time
    Searched refs:looper (Results 1 - 25 of 608) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/native/android/
looper.cpp 20 #include <android/looper.h>
21 #include <utils/Looper.h>
24 using android::Looper;
28 static inline Looper* ALooper_to_Looper(ALooper* alooper) {
29 return reinterpret_cast<Looper*>(alooper);
32 static inline ALooper* Looper_to_ALooper(Looper* looper) {
33 return reinterpret_cast<ALooper*>(looper);
37 return Looper_to_ALooper(Looper::getForThread().get());
41 return Looper_to_ALooper(Looper::prepare(opts).get())
53 sp<Looper> looper = Looper::getForThread(); local
64 sp<Looper> looper = Looper::getForThread(); local
    [all...]
  /development/ndk/platforms/android-21/samples/native-codec/jni/
looper.h 22 class looper { class
24 looper();
25 ~looper();
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
LooperCompatUtils.java 19 import android.os.Looper;
24 * Helper to call Looper#quitSafely, which was introduced in API
33 Looper.class, "quitSafely");
35 public static void quitSafely(final Looper looper) {
37 CompatUtils.invoke(looper, null /* default return value */, METHOD_quitSafely);
39 looper.quit();
  /frameworks/base/core/java/android/os/
HandlerThread.java 20 * Handy class for starting a new thread that has a looper. The looper can then be
26 Looper mLooper;
46 * setup before Looper loops.
54 Looper.prepare();
56 mLooper = Looper.myLooper();
61 Looper.loop();
66 * This method returns the Looper associated with this thread. If this thread not been started
68 * has been started, this method will block until the looper has been initialized.
69 * @return The looper
108 Looper looper = getLooper(); local
135 Looper looper = getLooper(); local
    [all...]
  /frameworks/base/core/java/com/android/internal/view/
WindowManagerPolicyThread.java 19 import android.os.Looper;
27 static Looper mLooper;
29 public static void set(Thread thread, Looper looper) {
31 mLooper = looper;
38 public static Looper getLooper() {
  /development/ndk/platforms/android-9/include/android/
looper.h 28 * A looper is the state tracking an event loop for a thread.
42 * Returns the looper associated with the calling thread, or NULL if
49 * Option for ALooper_prepare: this looper will accept calls to
59 * Prepares a looper associated with the calling thread, and returns it.
60 * If the thread already has a looper, it is returned. Otherwise, a new
99 void ALooper_acquire(ALooper* looper);
104 void ALooper_release(ALooper* looper);
107 * Flags for file descriptor events that a looper can monitor.
125 * The looper always sends notifications about errors; it is not necessary
134 * The looper always sends notifications about hangups; it is not necessar
    [all...]
  /frameworks/native/include/android/
looper.h 18 * @addtogroup Looper
23 * @file looper.h
37 * A looper is the state tracking an event loop for a thread.
50 * Returns the looper associated with the calling thread, or NULL if
58 * This looper will accept calls to ALooper_addFd() that do not
68 * Prepares a looper associated with the calling thread, and returns it.
69 * If the thread already has a looper, it is returned. Otherwise, a new
108 void ALooper_acquire(ALooper* looper);
113 void ALooper_release(ALooper* looper);
116 * Flags for file descriptor events that a looper can monitor
    [all...]
  /prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/android/
looper.h 28 * A looper is the state tracking an event loop for a thread.
42 * Returns the looper associated with the calling thread, or NULL if
49 * Option for ALooper_prepare: this looper will accept calls to
59 * Prepares a looper associated with the calling thread, and returns it.
60 * If the thread already has a looper, it is returned. Otherwise, a new
99 void ALooper_acquire(ALooper* looper);
104 void ALooper_release(ALooper* looper);
107 * Flags for file descriptor events that a looper can monitor.
125 * The looper always sends notifications about errors; it is not necessary
134 * The looper always sends notifications about hangups; it is not necessar
    [all...]
  /prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/android/
looper.h 28 * A looper is the state tracking an event loop for a thread.
42 * Returns the looper associated with the calling thread, or NULL if
49 * Option for ALooper_prepare: this looper will accept calls to
59 * Prepares a looper associated with the calling thread, and returns it.
60 * If the thread already has a looper, it is returned. Otherwise, a new
99 void ALooper_acquire(ALooper* looper);
104 void ALooper_release(ALooper* looper);
107 * Flags for file descriptor events that a looper can monitor.
125 * The looper always sends notifications about errors; it is not necessary
134 * The looper always sends notifications about hangups; it is not necessar
    [all...]
  /prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/android/
looper.h 28 * A looper is the state tracking an event loop for a thread.
42 * Returns the looper associated with the calling thread, or NULL if
49 * Option for ALooper_prepare: this looper will accept calls to
59 * Prepares a looper associated with the calling thread, and returns it.
60 * If the thread already has a looper, it is returned. Otherwise, a new
99 void ALooper_acquire(ALooper* looper);
104 void ALooper_release(ALooper* looper);
107 * Flags for file descriptor events that a looper can monitor.
125 * The looper always sends notifications about errors; it is not necessary
134 * The looper always sends notifications about hangups; it is not necessar
    [all...]
  /prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/android/
looper.h 28 * A looper is the state tracking an event loop for a thread.
42 * Returns the looper associated with the calling thread, or NULL if
49 * Option for ALooper_prepare: this looper will accept calls to
59 * Prepares a looper associated with the calling thread, and returns it.
60 * If the thread already has a looper, it is returned. Otherwise, a new
99 void ALooper_acquire(ALooper* looper);
104 void ALooper_release(ALooper* looper);
107 * Flags for file descriptor events that a looper can monitor.
125 * The looper always sends notifications about errors; it is not necessary
134 * The looper always sends notifications about hangups; it is not necessar
    [all...]
  /prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/android/
looper.h 28 * A looper is the state tracking an event loop for a thread.
42 * Returns the looper associated with the calling thread, or NULL if
49 * Option for ALooper_prepare: this looper will accept calls to
59 * Prepares a looper associated with the calling thread, and returns it.
60 * If the thread already has a looper, it is returned. Otherwise, a new
99 void ALooper_acquire(ALooper* looper);
104 void ALooper_release(ALooper* looper);
107 * Flags for file descriptor events that a looper can monitor.
125 * The looper always sends notifications about errors; it is not necessary
134 * The looper always sends notifications about hangups; it is not necessar
    [all...]
  /prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/android/
looper.h 28 * A looper is the state tracking an event loop for a thread.
42 * Returns the looper associated with the calling thread, or NULL if
49 * Option for ALooper_prepare: this looper will accept calls to
59 * Prepares a looper associated with the calling thread, and returns it.
60 * If the thread already has a looper, it is returned. Otherwise, a new
99 void ALooper_acquire(ALooper* looper);
104 void ALooper_release(ALooper* looper);
107 * Flags for file descriptor events that a looper can monitor.
125 * The looper always sends notifications about errors; it is not necessary
134 * The looper always sends notifications about hangups; it is not necessar
    [all...]
  /prebuilts/ndk/current/platforms/android-14/arch-arm/usr/include/android/
looper.h 28 * A looper is the state tracking an event loop for a thread.
42 * Returns the looper associated with the calling thread, or NULL if
49 * Option for ALooper_prepare: this looper will accept calls to
59 * Prepares a looper associated with the calling thread, and returns it.
60 * If the thread already has a looper, it is returned. Otherwise, a new
99 void ALooper_acquire(ALooper* looper);
104 void ALooper_release(ALooper* looper);
107 * Flags for file descriptor events that a looper can monitor.
125 * The looper always sends notifications about errors; it is not necessary
134 * The looper always sends notifications about hangups; it is not necessar
    [all...]
  /prebuilts/ndk/current/platforms/android-14/arch-mips/usr/include/android/
looper.h 28 * A looper is the state tracking an event loop for a thread.
42 * Returns the looper associated with the calling thread, or NULL if
49 * Option for ALooper_prepare: this looper will accept calls to
59 * Prepares a looper associated with the calling thread, and returns it.
60 * If the thread already has a looper, it is returned. Otherwise, a new
99 void ALooper_acquire(ALooper* looper);
104 void ALooper_release(ALooper* looper);
107 * Flags for file descriptor events that a looper can monitor.
125 * The looper always sends notifications about errors; it is not necessary
134 * The looper always sends notifications about hangups; it is not necessar
    [all...]
  /prebuilts/ndk/current/platforms/android-14/arch-x86/usr/include/android/
looper.h 28 * A looper is the state tracking an event loop for a thread.
42 * Returns the looper associated with the calling thread, or NULL if
49 * Option for ALooper_prepare: this looper will accept calls to
59 * Prepares a looper associated with the calling thread, and returns it.
60 * If the thread already has a looper, it is returned. Otherwise, a new
99 void ALooper_acquire(ALooper* looper);
104 void ALooper_release(ALooper* looper);
107 * Flags for file descriptor events that a looper can monitor.
125 * The looper always sends notifications about errors; it is not necessary
134 * The looper always sends notifications about hangups; it is not necessar
    [all...]
  /prebuilts/ndk/current/platforms/android-15/arch-arm/usr/include/android/
looper.h 28 * A looper is the state tracking an event loop for a thread.
42 * Returns the looper associated with the calling thread, or NULL if
49 * Option for ALooper_prepare: this looper will accept calls to
59 * Prepares a looper associated with the calling thread, and returns it.
60 * If the thread already has a looper, it is returned. Otherwise, a new
99 void ALooper_acquire(ALooper* looper);
104 void ALooper_release(ALooper* looper);
107 * Flags for file descriptor events that a looper can monitor.
125 * The looper always sends notifications about errors; it is not necessary
134 * The looper always sends notifications about hangups; it is not necessar
    [all...]
  /prebuilts/ndk/current/platforms/android-15/arch-mips/usr/include/android/
looper.h 28 * A looper is the state tracking an event loop for a thread.
42 * Returns the looper associated with the calling thread, or NULL if
49 * Option for ALooper_prepare: this looper will accept calls to
59 * Prepares a looper associated with the calling thread, and returns it.
60 * If the thread already has a looper, it is returned. Otherwise, a new
99 void ALooper_acquire(ALooper* looper);
104 void ALooper_release(ALooper* looper);
107 * Flags for file descriptor events that a looper can monitor.
125 * The looper always sends notifications about errors; it is not necessary
134 * The looper always sends notifications about hangups; it is not necessar
    [all...]
  /prebuilts/ndk/current/platforms/android-15/arch-x86/usr/include/android/
looper.h 28 * A looper is the state tracking an event loop for a thread.
42 * Returns the looper associated with the calling thread, or NULL if
49 * Option for ALooper_prepare: this looper will accept calls to
59 * Prepares a looper associated with the calling thread, and returns it.
60 * If the thread already has a looper, it is returned. Otherwise, a new
99 void ALooper_acquire(ALooper* looper);
104 void ALooper_release(ALooper* looper);
107 * Flags for file descriptor events that a looper can monitor.
125 * The looper always sends notifications about errors; it is not necessary
134 * The looper always sends notifications about hangups; it is not necessar
    [all...]
  /prebuilts/ndk/current/platforms/android-16/arch-arm/usr/include/android/
looper.h 28 * A looper is the state tracking an event loop for a thread.
42 * Returns the looper associated with the calling thread, or NULL if
49 * Option for ALooper_prepare: this looper will accept calls to
59 * Prepares a looper associated with the calling thread, and returns it.
60 * If the thread already has a looper, it is returned. Otherwise, a new
99 void ALooper_acquire(ALooper* looper);
104 void ALooper_release(ALooper* looper);
107 * Flags for file descriptor events that a looper can monitor.
125 * The looper always sends notifications about errors; it is not necessary
134 * The looper always sends notifications about hangups; it is not necessar
    [all...]
  /prebuilts/ndk/current/platforms/android-16/arch-mips/usr/include/android/
looper.h 28 * A looper is the state tracking an event loop for a thread.
42 * Returns the looper associated with the calling thread, or NULL if
49 * Option for ALooper_prepare: this looper will accept calls to
59 * Prepares a looper associated with the calling thread, and returns it.
60 * If the thread already has a looper, it is returned. Otherwise, a new
99 void ALooper_acquire(ALooper* looper);
104 void ALooper_release(ALooper* looper);
107 * Flags for file descriptor events that a looper can monitor.
125 * The looper always sends notifications about errors; it is not necessary
134 * The looper always sends notifications about hangups; it is not necessar
    [all...]
  /prebuilts/ndk/current/platforms/android-16/arch-x86/usr/include/android/
looper.h 28 * A looper is the state tracking an event loop for a thread.
42 * Returns the looper associated with the calling thread, or NULL if
49 * Option for ALooper_prepare: this looper will accept calls to
59 * Prepares a looper associated with the calling thread, and returns it.
60 * If the thread already has a looper, it is returned. Otherwise, a new
99 void ALooper_acquire(ALooper* looper);
104 void ALooper_release(ALooper* looper);
107 * Flags for file descriptor events that a looper can monitor.
125 * The looper always sends notifications about errors; it is not necessary
134 * The looper always sends notifications about hangups; it is not necessar
    [all...]
  /prebuilts/ndk/current/platforms/android-17/arch-arm/usr/include/android/
looper.h 28 * A looper is the state tracking an event loop for a thread.
42 * Returns the looper associated with the calling thread, or NULL if
49 * Option for ALooper_prepare: this looper will accept calls to
59 * Prepares a looper associated with the calling thread, and returns it.
60 * If the thread already has a looper, it is returned. Otherwise, a new
99 void ALooper_acquire(ALooper* looper);
104 void ALooper_release(ALooper* looper);
107 * Flags for file descriptor events that a looper can monitor.
125 * The looper always sends notifications about errors; it is not necessary
134 * The looper always sends notifications about hangups; it is not necessar
    [all...]
  /prebuilts/ndk/current/platforms/android-17/arch-mips/usr/include/android/
looper.h 28 * A looper is the state tracking an event loop for a thread.
42 * Returns the looper associated with the calling thread, or NULL if
49 * Option for ALooper_prepare: this looper will accept calls to
59 * Prepares a looper associated with the calling thread, and returns it.
60 * If the thread already has a looper, it is returned. Otherwise, a new
99 void ALooper_acquire(ALooper* looper);
104 void ALooper_release(ALooper* looper);
107 * Flags for file descriptor events that a looper can monitor.
125 * The looper always sends notifications about errors; it is not necessary
134 * The looper always sends notifications about hangups; it is not necessar
    [all...]
  /prebuilts/ndk/current/platforms/android-17/arch-x86/usr/include/android/
looper.h 28 * A looper is the state tracking an event loop for a thread.
42 * Returns the looper associated with the calling thread, or NULL if
49 * Option for ALooper_prepare: this looper will accept calls to
59 * Prepares a looper associated with the calling thread, and returns it.
60 * If the thread already has a looper, it is returned. Otherwise, a new
99 void ALooper_acquire(ALooper* looper);
104 void ALooper_release(ALooper* looper);
107 * Flags for file descriptor events that a looper can monitor.
125 * The looper always sends notifications about errors; it is not necessary
134 * The looper always sends notifications about hangups; it is not necessar
    [all...]

Completed in 437 milliseconds

1 2 3 4 5 6 7 8 91011>>