/external/qemu/proxy/ |
proxy_common.c | 542 IoLooper* looper; local 566 looper = iolooper_new(); 567 iolooper_add_write(looper, sock); 569 ret = iolooper_wait(looper, timeout_ms); 571 iolooper_free(looper);
|
/frameworks/base/media/java/android/media/audiofx/ |
AudioEffect.java | 22 import android.os.Looper; 941 Looper looper; local [all...] |
/frameworks/base/media/java/android/media/ |
MediaPlayer.java | 30 import android.os.Looper; 525 * MediaPlayer objects on a thread with its own Looper running (main UI 526 * thread by default has a Looper running). 593 Looper looper; local 594 if ((looper = Looper.myLooper()) != null) { 595 mEventHandler = new EventHandler(this, looper); 596 } else if ((looper = Looper.getMainLooper()) != null) 2839 Looper looper; local [all...] |
RemoteControlClient.java | 31 import android.os.Looper; 357 Looper looper; local 358 if ((looper = Looper.myLooper()) != null) { 359 mEventHandler = new EventHandler(this, looper); 360 } else if ((looper = Looper.getMainLooper()) != null) { 361 mEventHandler = new EventHandler(this, looper); 370 * happens on a user-provided Looper [all...] |
JetPlayer.java | 25 import android.os.Looper; 109 * Looper associated with the thread that creates the AudioTrack instance 111 private Looper mInitializationLooper = null; 159 // remember which looper is associated with the JetPlayer instanciation 160 if ((mInitializationLooper = Looper.myLooper()) == null) { 161 mInitializationLooper = Looper.getMainLooper(); 400 public NativeEventHandler(JetPlayer jet, Looper looper) { 401 super(looper); 481 // no given handler, use the looper the AudioTrack was created i [all...] |
/system/core/libutils/tests/ |
Looper_test.cpp | 5 #include <utils/Looper.h> 27 sp<Looper> mLooper; 30 DelayedWake(int delayMillis, const sp<Looper> looper) : 31 DelayedTask(delayMillis), mLooper(looper) { 56 void setCallback(const sp<Looper>& looper, int fd, int events) { 57 looper->addFd(fd, 0, events, staticHandler, this); 103 sp<Looper> mLooper; 106 mLooper = new Looper(true) 383 sp<Looper> looper = new Looper(false \/*allowNonCallbacks*\/); local [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
HandlerTest.java | 4 import android.os.Looper; 47 Looper looper = newInstanceOf(Looper.class); local 49 Handler handler1 = new Handler(looper); 52 Handler handler2 = new Handler(looper); 55 shadowOf(looper).idle(); 65 Handler handler2 = new Handler(Looper.myLooper()); 68 shadowOf(Looper.myLooper()).idle(); 75 Looper looper1 = Robolectric.newInstanceOf(Looper.class) [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerDecoder.cpp | 66 // we need to invest in an extra looper to free the main event 78 (needDedicatedLooper ? mCodecLooper : looper())->registerHandler(mCodec);
|
/frameworks/av/media/libstagefright/wifi-display/ |
MediaSender.cpp | 127 looper()->registerHandler(mTSSender); 138 looper()->unregisterHandler(mTSSender->id()); 178 looper()->registerHandler(info->mSender); 189 looper()->unregisterHandler(info->mSender->id());
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
PlaybackSession.cpp | 386 looper()->registerHandler(mMediaSender); 413 looper()->unregisterHandler(mMediaSender->id()); 517 looper()->unregisterHandler(converter->id()); 586 looper()->unregisterHandler(track->id()); 595 looper()->unregisterHandler(mMediaSender->id()); 791 looper()->registerHandler(track); 961 looper()->registerHandler(converter); 967 looper()->unregisterHandler(converter->id()); 991 looper()->registerHandler(track);
|
/packages/apps/Camera/src/com/android/camera/ |
FocusOverlayManager.java | 26 import android.os.Looper; 108 public MainHandler(Looper looper) { 109 super(looper); 126 boolean mirror, Looper looper) { 127 mHandler = new MainHandler(looper);
|
/packages/apps/Camera2/src/com/android/camera/ |
FocusOverlayManager.java | 27 import android.os.Looper; 118 public MainHandler(Looper looper) { 119 super(looper); 136 boolean mirror, Looper looper, FocusUI ui) { 137 mHandler = new MainHandler(looper);
|
/packages/experimental/PrintService/src/foo/bar/printservice/ |
MyPrintService.java | 23 import android.os.Looper; 306 public MyHandler(Looper looper) { 307 super(looper); 454 public SessionHandler(Looper looper) { 455 super(looper);
|
/cts/tests/tests/permission/src/android/permission/cts/ |
NoLocationPermissionTest.java | 26 import android.os.Looper; 125 Looper looper = Looper.myLooper(); local 135 mLocationManager.requestLocationUpdates(provider, 0, 0, mockListener, looper);
|
/developers/samples/android/common/src/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 21 import android.os.Looper; 117 Looper looper; local 120 if ((looper = Looper.myLooper()) != null) { 124 "Looper doesn't exist in the calling thread");
|
/development/ndk/platforms/android-9/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.
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ServiceStartArguments.java | 29 import android.os.Looper; 57 private volatile Looper mServiceLooper; 61 public ServiceHandler(Looper looper) { 62 super(looper);
|
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
MediaCodecWrapper.java | 21 import android.os.Looper; 117 Looper looper; local 120 if ((looper = Looper.myLooper()) != null) { 124 "Looper doesn't exist in the calling thread");
|
/external/qemu/android/protocol/ |
fb-updates-impl.c | 173 Looper* looper) 221 loopIo_init(fbi->io, looper, fbi->sock,
|
/frameworks/base/core/java/android/accessibilityservice/ |
AccessibilityService.java | 23 import android.os.Looper; 600 public IAccessibilityServiceClientWrapper(Context context, Looper looper, 603 mCaller = new HandlerCaller(context, looper, this, true /*asyncHandler*/);
|
/frameworks/base/core/java/android/inputmethodservice/ |
IInputMethodSessionWrapper.java | 26 import android.os.Looper; 197 public ImeInputEventReceiver(InputChannel inputChannel, Looper looper) { 198 super(inputChannel, looper);
|
/frameworks/base/core/java/android/net/ |
DnsPinger.java | 21 import android.os.Looper; 119 public DnsPinger(Context context, String TAG, Looper looper, 121 super(looper);
|
/frameworks/base/core/java/android/print/ |
PrinterDiscoverySession.java | 22 import android.os.Looper; 260 if (!Looper.getMainLooper().isCurrentThread()) { 267 public SessionHandler(Looper looper) { 268 super(looper, null, false);
|
/frameworks/base/core/java/android/printservice/ |
PrintService.java | 26 import android.os.Looper; 329 if (!Looper.getMainLooper().isCurrentThread()) { 407 public ServiceHandler(Looper looper) { 408 super(looper, null, true);
|
/frameworks/base/core/java/com/android/internal/util/ |
StateMachine.java | 21 import android.os.Looper; 897 * Cleanup all the static variables and the looper after the SM has been quit. 901 // If we made the thread then quit looper which stops the thread. 1251 Looper looper = mSmThread.getLooper(); local [all...] |