HomeSort by relevance Sort by last modified time
    Searched refs:Looper (Results 101 - 125 of 928) sorted by null

1 2 3 45 6 7 8 91011>>

  /packages/services/Car/car-lib/src/android/car/
Car.java 37 import android.os.Looper;
210 private final Looper mLooper;
274 * @param looper Looper to dispatch all listeners. If null, it will use main thread. Note that
275 * service connection listener will be always in main thread regardless of this Looper.
279 @Nullable Looper looper) {
285 return new Car(context, serviceConnectionListener, looper);
294 * Looper}.
296 * @see #createCar(Context, ServiceConnection, Looper)
    [all...]
  /cts/tests/tests/car/src/android/car/cts/
CarApiTestBase.java 23 import android.os.Looper;
38 assertTrue(Looper.getMainLooper().isCurrentThread());
  /cts/tests/tests/os/src/android/os/cts/
ResultReceiverTest.java 21 import android.os.Looper;
27 private Handler mHandler = new Handler(Looper.getMainLooper());
TokenWatcherTest.java 25 import android.os.Looper;
47 private Looper mLooper;
53 Looper.prepare();
54 mLooper = Looper.myLooper();
56 Looper.loop();
  /frameworks/base/core/java/android/view/
DisplayEventReceiver.java 21 import android.os.Looper;
32 * be called on the Looper thread to which it is attached.
55 * @param looper The looper to use when invoking callbacks.
57 public DisplayEventReceiver(Looper looper) {
58 if (looper == null) {
59 throw new IllegalArgumentException("looper must not be null");
62 mMessageQueue = looper.getQueue();
FrameMetricsObserver.java 21 import android.os.Looper;
49 * @param looper the looper to use when invoking callbacks
51 FrameMetricsObserver(@NonNull Window window, @NonNull Looper looper,
53 if (looper == null) {
54 throw new NullPointerException("looper cannot be null");
57 mMessageQueue = looper.getQueue();
59 throw new IllegalStateException("invalid looper, null message queue\n");
  /frameworks/base/libs/hwui/tests/common/
TestContext.cpp 55 mLooper = new Looper(true);
58 Looper::EVENT_INPUT, nullptr, nullptr);
  /frameworks/base/test-runner/src/android/test/
LoaderTestCase.java 23 import android.os.Looper;
77 final Handler mainThreadHandler = new Handler(Looper.getMainLooper()) {
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
ValueTarget.java 20 import android.os.Looper;
44 if (Looper.myLooper() == null) {
46 + "has no looper!");
  /frameworks/base/tests/LockTaskTests/src/com/google/android/example/locktasktests/
LaunchActivity.java 25 import android.os.Looper;
53 mHandler = new Handler(Looper.getMainLooper());
  /frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
BidirectionalAsyncChannelServer.java 21 import android.os.Looper;
44 public BidirectionalAsyncChannelServer(final Context context, final Looper looper,
46 Handler handler = new Handler(looper) {
  /frameworks/native/services/surfaceflinger/
MessageQueue.h 26 #include <utils/Looper.h>
81 sp<Looper> mLooper;
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
BidirectionalAsyncChannelServer.java 21 import android.os.Looper;
44 public BidirectionalAsyncChannelServer(final Context context, final Looper looper,
46 Handler handler = new Handler(looper) {
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
PhoneSwitcherMock.java 20 import android.os.Looper;
34 public PhoneSwitcherMock(int numPhones, Looper looper) {
35 super(looper);
  /packages/apps/Bluetooth/src/com/android/bluetooth/
ObexRejectServer.java 26 import android.os.Looper;
58 Looper timeoutLooper = mHandlerThread.getLooper();
  /packages/apps/Dialer/src/com/android/dialer/util/
AsyncTaskExecutors.java 20 import android.os.Looper;
82 Preconditions.checkState(Thread.currentThread() == Looper.getMainLooper().getThread(),
  /packages/apps/Launcher3/src/com/android/launcher3/
DeferredHandler.java 20 import android.os.Looper;
29 * Queue of things to run on a looper thread. Items posted with {@link #post} will not
37 private MessageQueue mMessageQueue = Looper.myQueue();
  /packages/services/Car/tests/android_car_api_test/src/com/android/car/apitest/
CarApiTestBase.java 22 import android.os.Looper;
38 assertTrue(Looper.getMainLooper().isCurrentThread());
CarPackageManagerTest.java 22 import android.os.Looper;
56 assertTrue(Looper.getMainLooper().isCurrentThread());
  /packages/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/
CarApiTestBase.java 21 import android.os.Looper;
38 assertTrue(Looper.getMainLooper().isCurrentThread());
CarPackageManagerTest.java 20 import android.os.Looper;
64 assertTrue(Looper.getMainLooper().isCurrentThread());
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
CameraTest.java 29 import android.os.Looper;
63 private Looper mLooper = null;
79 * Initializes the message looper so that the Camera object can
84 Log.v(TAG, "start looper");
88 // Set up a looper to be used by camera.
89 Looper.prepare();
91 // Save the looper so that we can terminate this thread
93 mLooper = Looper.myLooper();
96 Looper.loop(); // Blocks forever until Looper.quit() is called
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
MediaAudioManagerTest.java 24 import android.os.Looper;
39 // keep track of looper for AudioManager so we can terminate it
40 private Looper mAudioManagerLooper;
55 Looper.prepare();
56 mAudioManagerLooper = Looper.myLooper();
61 Looper.loop();
  /frameworks/native/libs/gui/
SensorEventQueue.cpp 27 #include <utils/Looper.h>
85 sp<Looper> SensorEventQueue::getLooper() const
89 mLooper = new Looper(true);
98 sp<Looper> looper(getLooper());
103 result = looper->pollOnce(-1, NULL, &events, NULL);
122 sp<Looper> looper(getLooper());
123 looper->wake();
  /cts/tests/tests/location/src/android/location/cts/
TestLocationManager.java 26 import android.os.Looper;
114 Looper.getMainLooper());
124 Handler mainThreadHandler = new Handler(Looper.getMainLooper());

Completed in 3415 milliseconds

1 2 3 45 6 7 8 91011>>