Home
last modified time | relevance | path

Searched refs:getLooper (Results 1 – 25 of 193) sorted by relevance

12345678

/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestHandlerThread.java47 mHandler = new Handler(getLooper(), mCallback); in onLooperPrepared()
69 synchronized (mHandler.getLooper().getQueue()) { in hasAnyMessages()
81 synchronized (mHandler.getLooper().getQueue()) { in removeMessages()
99 Looper looper = handler.getLooper(); in waitUntilIdle()
/frameworks/base/core/java/android/os/
DHandlerThread.java71 public Looper getLooper() { in getLooper() method in HandlerThread
108 Looper looper = getLooper(); in quit()
135 Looper looper = getLooper(); in quitSafely()
/frameworks/base/core/tests/coretests/src/android/os/
DHandlerThreadTest.java48 assertNull(th1.getLooper()); in testHandlerThread()
53 assertNotNull(th1.getLooper()); in testHandlerThread()
73 final Handler h1 = new Handler(th1.getLooper()) { in testHandlerThread()
DTestHandlerThread.java61 public Looper getLooper() { in getLooper() method in TestHandlerThread
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
DMffTestCase.java42 Handler handler = new Handler(mMffContextHandlerThread.getLooper()); in setUp()
60 mMffContextHandlerThread.getLooper().quit(); in tearDown()
/frameworks/native/libs/gui/
DSensorEventQueue.cpp81 sp<Looper> SensorEventQueue::getLooper() const in getLooper() function in android::SensorEventQueue
94 sp<Looper> looper(getLooper()); in waitForEvent()
118 sp<Looper> looper(getLooper()); in wake()
/frameworks/base/services/core/java/com/android/server/net/
DDelayedDiskWrite.java50 mDiskWriteHandler = new Handler(mDiskWriteHandlerThread.getLooper()); in write()
80 mDiskWriteHandler.getLooper().quit(); in doWrite()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGSMTestHandler.java56 mHandler = new Handler(getLooper(), this); in onLooperPrepared()
78 Looper looper = getLooper(); in cleanup()
/frameworks/base/core/java/com/android/internal/view/
DWindowManagerPolicyThread.java38 public static Looper getLooper() { in getLooper() method in WindowManagerPolicyThread
/frameworks/base/core/java/android/widget/
DFilter.java107 mThreadHandler = new RequestHandler(thread.getLooper()); in filter()
254 mThreadHandler.getLooper().quit(); in handleMessage()
/frameworks/base/services/core/java/com/android/server/
DDisplayThread.java39 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
DFgThread.java41 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
DIoThread.java38 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
DUiThread.java38 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
DWatchdog.java109 if (mMonitors.size() == 0 && mHandler.getLooper().isIdling()) { in scheduleCheckLocked()
150 return mHandler.getLooper().getThread(); in getThread()
280 final String name = thread.getLooper().getThread().getName(); in addThread()
/frameworks/base/core/jni/
Dandroid_os_MessageQueue.h28 inline sp<Looper> getLooper() const { in getLooper() function
Dandroid_view_DisplayEventReceiver.cpp90 int rc = mMessageQueue->getLooper()->addFd(mReceiver.getFd(), 0, Looper::EVENT_INPUT, in initialize()
102 mMessageQueue->getLooper()->removeFd(mReceiver.getFd()); in dispose()
/frameworks/base/core/java/com/android/internal/os/
DBackgroundThread.java37 sHandler = new Handler(sInstance.getLooper()); in ensureThreadLocked()
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/base/
DUiControllerImplTest.java67 public Looper getLooper() { in getLooper() method in UiControllerImplTest.LooperThread
97 idlingResourceRegistry = new IdlingResourceRegistry(testThread.getLooper()); in setUp()
115 testThread.getLooper() in setUp()
/frameworks/native/include/gui/
DSensorEventQueue.h81 sp<Looper> getLooper() const;
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DLocationStatsAggregator.java193 mHandlerThread.getLooper()); in onReceive()
206 mHandler = new Handler(mHandlerThread.getLooper()) { in setClusteringThread()
/frameworks/base/services/core/java/com/android/server/wm/
DPointerEventDispatcher.java35 super(inputChannel, UiThread.getHandler().getLooper()); in PointerEventDispatcher()
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/
DCamera2DeviceTester.java43 sHandler = new Handler(sThread.getLooper()); in setupBackgroundHandler()
/frameworks/base/core/java/android/app/
DIntentService.java110 mServiceLooper = thread.getLooper(); in onCreate()
/frameworks/base/media/java/android/media/
DSubtitleController.java482 … assert Looper.myLooper() == mHandler.getLooper() : "Must be called from the anchor's looper"; in checkAnchorLooper()
487 if (Looper.myLooper() == mHandler.getLooper()) { in processOnAnchor()

12345678