/prebuilts/ndk/9/platforms/android-12/arch-x86/usr/include/android/ |
input.h | 46 #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.
|
/prebuilts/ndk/9/platforms/android-9/arch-arm/usr/include/android/ |
input.h | 46 #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.
|
/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/android/ |
input.h | 46 #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.
|
/prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/android/ |
input.h | 46 #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.
|
/frameworks/base/media/java/android/media/ |
MediaPlayer.java | 32 import android.os.Looper; 544 * MediaPlayer objects on a thread with its own Looper running (main UI 545 * thread by default has a Looper running). 615 Looper looper; local 616 if ((looper = Looper.myLooper()) != null) { 617 mEventHandler = new EventHandler(this, looper); 618 } else if ((looper = Looper.getMainLooper()) != null) 3111 Looper looper; local [all...] |
RemoteController.java | 33 import android.os.Looper; 115 * @param looper the {@link Looper} on which to run the event loop, 116 * or null to use the current thread's looper. 119 public RemoteController(Context context, OnClientUpdateListener updateListener, Looper looper) 127 if (looper != null) { 128 mEventHandler = new EventHandler(this, looper); 130 Looper l = Looper.myLooper() [all...] |
MediaCodec.java | 29 import android.os.Looper; 343 public EventHandler(MediaCodec codec, Looper looper) { 344 super(looper); 476 Looper looper; local 477 if ((looper = Looper.myLooper()) != null) { 478 mEventHandler = new EventHandler(this, looper); 479 } else if ((looper = Looper.getMainLooper()) != null) [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
HandlerTest.java | 22 import android.os.Looper; 40 private final Handler mHandler = new Handler(Looper.getMainLooper()); 41 private final MockHandler mHandler1 = new MockHandler(Looper.getMainLooper()); 59 Looper.prepare(); 66 new Handler(Looper.getMainLooper()); 67 new Handler(Looper.getMainLooper(), cb); 174 Looper looper = Looper.getMainLooper(); local 175 Handler handler = new Handler(looper); [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiController.java | 34 import android.os.Looper; 131 WifiController(Context context, WifiServiceImpl service, Looper looper) { 132 super(TAG, looper); 190 initializeAndRegisterForSettingsChange(looper); 193 private void initializeAndRegisterForSettingsChange(Looper looper) { 194 Handler handler = new Handler(looper);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
Avrcp.java | 37 import android.os.Looper; 174 Looper looper = thread.getLooper(); local 175 mHandler = new AvrcpMessageHandler(looper); 191 Looper looper = mHandler.getLooper(); local 192 if (looper != null) { 193 looper.quit(); 258 private AvrcpMessageHandler(Looper looper) { [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
HealthService.java | 32 import android.os.Looper; 95 Looper looper = thread.getLooper(); local 96 mHandler = new HealthServiceMessageHandler(looper); 105 Looper looper = mHandler.getLooper(); local 106 if (looper != null) { 107 looper.quit(); 147 private HealthServiceMessageHandler(Looper looper) { [all...] |
/frameworks/base/core/java/android/hardware/camera2/ |
CameraManager.java | 31 import android.os.Looper; 121 * {@code null} to use the current thread's {@link android.os.Looper looper}. 125 Looper looper = Looper.myLooper(); local 126 if (looper == null) { 128 "No handler given, and current thread has no looper!"); 130 handler = new Handler(looper); 367 * {@code null} to use the current thread's {@link android.os.Looper looper} [all...] |
/frameworks/base/services/core/jni/ |
com_android_server_hdmi_HdmiCecController.cpp | 31 #include <utils/Looper.h> 44 const sp<Looper>& looper); 79 sp<Looper> mLooper; 187 jobject callbacksObj, const sp<Looper>& looper) : 190 mLooper(looper) {
|
/frameworks/av/cmds/screenrecord/ |
screenrecord.cpp | 163 sp<ALooper> looper = new ALooper; local 164 looper->setName("screenrecord_looper"); 165 looper->start(); 167 sp<MediaCodec> codec = MediaCodec::CreateByType(looper, kMimeTypeAvc, true); [all...] |
/frameworks/av/media/libstagefright/ |
MediaCodecSource.cpp | 130 // Stop source from caller's thread instead of puller's looper. 132 // looper allows us to at least stop if source gets stuck. 133 // If source gets stuck in read(), the looper would never 258 const sp<ALooper> &looper, 263 new MediaCodecSource(looper, format, source, flags); 281 // mPuller->stop() needs to be done outside MediaCodecSource's looper, 284 // MediaBuffers are only returned when MediaCodecSource looper gets 328 const sp<ALooper> &looper, 332 : mLooper(looper),
|
/frameworks/base/drm/java/android/drm/ |
DrmManagerClient.java | 27 import android.os.Looper; 130 public EventHandler(Looper looper) { 131 super(looper); 196 public InfoHandler(Looper looper) { 197 super(looper); [all...] |
/frameworks/base/libs/input/ |
PointerController.h | 27 #include <utils/Looper.h> 79 const sp<Looper>& looper, const sp<SpriteController>& spriteController); 131 sp<Looper> mLooper;
|
SpriteController.h | 21 #include <utils/Looper.h> 143 SpriteController(const sp<Looper>& looper, int32_t overlayLayer); 267 sp<Looper> mLooper;
|
/frameworks/base/services/core/java/com/android/server/display/ |
AutomaticBrightnessController.java | 30 import android.os.Looper; 174 public AutomaticBrightnessController(Callbacks callbacks, Looper looper, 185 mHandler = new AutomaticBrightnessHandler(looper); 502 public AutomaticBrightnessHandler(Looper looper) { 503 super(looper, null, true /*async*/);
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pManager.java | 32 import android.os.Looper; 665 Channel(Context context, Looper looper, ChannelListener l) { 667 mHandler = new P2pHandler(looper); 685 P2pHandler(Looper looper) { 686 super(looper); [all...] |
/system/core/include/utils/ |
Looper.h | 30 * NOTE: Since Looper is used to implement the NDK ALooper, the Looper 43 * to have this file descriptor and callback unregistered from the looper. 48 * A message that can be posted to a Looper. 60 * Interface for a Looper message handler. 62 * The Looper holds a strong reference to the message handler whenever it has 63 * a message to deliver to it. Make sure to call Looper::removeMessages 96 * A looper callback. 110 * to have this file descriptor and callback unregistered from the looper. 134 * A looper can be associated with a thread although there is no requirement that it must be [all...] |
/development/ndk/platforms/android-13/include/android/ |
input.h | 46 #include <android/looper.h> 761 * Add this input queue to a looper for processing. See 764 void AInputQueue_attachLooper(AInputQueue* queue, ALooper* looper, 768 * Remove the input queue from the looper it is currently attached to. [all...] |
/development/ndk/platforms/android-14/include/android/ |
input.h | 46 #include <android/looper.h> [all...] |
/development/ndk/platforms/android-18/include/android/ |
input.h | 46 #include <android/looper.h> [all...] |
/frameworks/base/core/java/android/app/ |
VoiceInteractor.java | 23 import android.os.Looper; 351 Looper looper) { 355 mHandlerCaller = new HandlerCaller(context, looper, mHandlerCallerCallback, true);
|