Searched refs:looper (Results 1 - 8 of 8) sorted by relevance

/development/ndk/platforms/android-9/include/android/
H A Dlooper.h28 * 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 alway
[all...]
H A Dsensor.h45 #include <android/looper.h>
166 * Creates a new sensor event queue and associate it with a looper.
169 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
H A Dinput.h46 #include <android/looper.h>
644 * Add this input queue to a looper for processing. See
647 void AInputQueue_attachLooper(AInputQueue* queue, ALooper* looper,
651 * Remove the input queue from the looper it is currently attached to.
/development/ndk/sources/android/native_app_glue/
H A Dandroid_native_app_glue.h26 #include <android/looper.h>
143 ALooper* looper; member in struct:android_app
H A Dandroid_native_app_glue.c98 LOGV("Attaching input queue to looper");
100 android_app->looper, LOOPER_ID_INPUT, NULL,
222 ALooper* looper = ALooper_prepare(ALOOPER_PREPARE_ALLOW_NON_CALLBACKS); local
223 ALooper_addFd(looper, android_app->msgread, LOOPER_ID_MAIN, ALOOPER_EVENT_INPUT, NULL,
225 android_app->looper = looper;
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
H A DRemoteControlClientCompat.java112 public RemoteControlClientCompat(PendingIntent pendingIntent, Looper looper) { argument
120 .newInstance(pendingIntent, looper);
/development/samples/ApiDemos/src/com/example/android/apis/app/
H A DServiceStartArguments.java61 public ServiceHandler(Looper looper) { argument
62 super(looper);
/development/ndk/platforms/android-9/samples/native-activity/jni/
H A Dmain.c248 state->looper, LOOPER_ID_USER, NULL, NULL);

Completed in 204 milliseconds