Home
last modified time | relevance | path

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

12345

/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/native/libs/gui/
DSensorEventQueue.cpp67 sp<Looper> SensorEventQueue::getLooper() const in getLooper() function in android::SensorEventQueue
80 sp<Looper> looper(getLooper()); in waitForEvent()
104 sp<Looper> looper(getLooper()); in wake()
/frameworks/base/core/java/android/os/
DHandlerThread.java70 public Looper getLooper() { in getLooper() method in HandlerThread
94 Looper looper = getLooper(); in quit()
DAsyncTask.java269 sHandler.getLooper(); in init()
/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/android/widget/
DFilter.java107 mThreadHandler = new RequestHandler(thread.getLooper()); in filter()
254 mThreadHandler.getLooper().quit(); in handleMessage()
/frameworks/base/core/java/com/android/internal/view/
DWindowManagerPolicyThread.java38 public static Looper getLooper() { in getLooper() method in WindowManagerPolicyThread
/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, ALOOPER_EVENT_INPUT, in initialize()
102 mMessageQueue->getLooper()->removeFd(mReceiver.getFd()); in dispose()
Dandroid_view_InputEventReceiver.cpp94 mMessageQueue->getLooper()->addFd(receiveFd, 0, ALOOPER_EVENT_INPUT, this, NULL); in initialize()
103 mMessageQueue->getLooper()->removeFd(mInputConsumer.getChannel()->getFd()); in dispose()
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
DFaceUnlock.java119 if (mHandler.getLooper() != Looper.myLooper()) { in show()
149 if (mHandler.getLooper() != Looper.myLooper()) { in start()
181 if (mHandler.getLooper() != Looper.myLooper()) { in stop()
/frameworks/native/include/gui/
DSensorEventQueue.h75 sp<Looper> getLooper() const;
/frameworks/base/core/java/android/app/
DIntentService.java110 mServiceLooper = thread.getLooper(); in onCreate()
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DFaceUnlock.java120 if (mHandler.getLooper() != Looper.myLooper()) { in start()
149 if (mHandler.getLooper() != Looper.myLooper()) { in stop()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DModelInterpreter.java192 Looper looper = mHandlerThread.getLooper(); in init()
686 Looper looper = mHandlerThread.getLooper(); in shutdown()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java1281 getLooper().quit(); in handleMessage()
1379 mHandler = new ServiceHandler(sHandlerThread.getLooper()); in init()
1997 sHandlerThread.getLooper().quit(); in finalize()
DWifiApConfigStore.java64 super(TAG, target.getLooper()); in WifiApConfigStore()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaConnection.java128 h = new MyHandler(owner.getLooper()); in CdmaConnection()
151 h = new MyHandler(owner.getLooper()); in CdmaConnection()
188 h = new MyHandler(owner.getLooper()); in CdmaConnection()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java97 mSynthHandler = new SynthHandler(synthThread.getLooper()); in onCreate()
238 getLooper().getQueue().addIdleHandler(this); in onLooperPrepared()
293 getLooper().quit(); in quit()
/frameworks/base/services/java/com/android/server/display/
DLocalDisplayAdapter.java62 mHotplugReceiver = new HotplugDisplayEventReceiver(getHandler().getLooper()); in registerLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmConnection.java125 h = new MyHandler(owner.getLooper()); in GsmConnection()
149 h = new MyHandler(owner.getLooper()); in GsmConnection()
/frameworks/support/v4/java/android/support/v4/content/
DModernAsyncTask.java106 sHandler.getLooper(); in init()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccPhoneBookInterfaceManager.java275 if (mBaseHandler.getLooper().equals(Looper.myLooper())) { in checkThread()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerGlobal.java332 super(handler != null ? handler.getLooper() : Looper.myLooper(), null, true /*async*/); in DisplayListenerDelegate()

12345