/frameworks/base/core/java/com/android/internal/view/ |
WindowManagerPolicyThread.java | 27 static Looper mLooper; 31 mLooper = looper; 39 return mLooper;
|
/frameworks/av/media/libmediaplayerservice/ |
RemoteDisplay.cpp | 31 : mLooper(new ALooper), 33 mLooper->setName("wfd_looper"); 36 mLooper->registerHandler(mSource); 39 mLooper->start(); 59 mLooper->stop();
|
RemoteDisplay.h | 48 sp<ALooper> mLooper;
|
/system/core/libutils/tests/ |
Looper_test.cpp | 27 sp<Looper> mLooper; 31 DelayedTask(delayMillis), mLooper(looper) { 36 mLooper->wake(); 103 sp<Looper> mLooper; 106 mLooper = new Looper(true); 110 mLooper.clear(); 117 int result = mLooper->pollOnce(100); 127 mLooper->wake(); 130 int result = mLooper->pollOnce(1000); 140 sp<DelayedWake> delayedWake = new DelayedWake(100, mLooper); [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
CameraTestThread.java | 34 private Looper mLooper = null; 42 if (mLooper != null || mHandler !=null) { 54 mLooper = Looper.myLooper(); 73 if (mLooper == null || mHandler == null) { 79 mLooper.quit(); 80 mLooper.getThread().join(); 81 mLooper = null;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
CameraTestThread.java | 34 private Looper mLooper = null; 42 if (mLooper != null || mHandler !=null) { 54 mLooper = Looper.myLooper(); 73 if (mLooper == null || mHandler == null) { 79 mLooper.quit(); 80 mLooper.getThread().join(); 81 mLooper = null;
|
/frameworks/base/core/java/android/os/ |
HandlerThread.java | 26 Looper mLooper; 56 mLooper = Looper.myLooper(); 78 while (isAlive() && mLooper == null) { 85 return mLooper;
|
Handler.java | 198 mLooper = Looper.myLooper(); 199 if (mLooper == null) { 203 mQueue = mLooper.mQueue; 228 mLooper = looper; 465 if (Looper.myLooper() == mLooper) { 684 return mLooper; 689 if (mLooper == null) { 692 mLooper.dump(pw, prefix + " "); 737 final Looper mLooper;
|
/sdk/emulator/opengl/tests/event_injector/ |
EventInjector.cpp | 24 IoLooper* mLooper; 28 mLooper = iolooper_new(); 29 mConsole = emulatorConsole_new(port, mLooper); 45 iolooper_wait(mPrivate->mLooper, timeout_ms);
|
/frameworks/base/core/jni/ |
android_os_MessageQueue.h | 29 return mLooper; 62 sp<Looper> mLooper;
|
android_os_MessageQueue.cpp | 68 mLooper = Looper::getForThread(); 69 if (mLooper == NULL) { 70 mLooper = new Looper(false); 71 Looper::setForThread(mLooper); 97 mLooper->pollOnce(timeoutMillis); 107 mLooper->wake();
|
/hardware/ti/omap4xxx/camera/inc/ |
SensorListener.h | 45 mLooper = sp<Looper>(looper); 48 mLooper.clear(); 52 int32_t ret = mLooper->pollOnce(-1); 58 mLooper->wake(); 61 sp<Looper> mLooper; 94 sp<Looper> mLooper;
|
/frameworks/base/core/tests/coretests/src/android/os/ |
HandlerTester.java | 62 mLooper = Looper.myLooper(); 82 mLooper.quit(); 87 private Looper mLooper;
|
TestHandlerThread.java | 28 private Looper mLooper; 51 mLooper.quit(); 62 return mLooper; 83 mLooper = Looper.myLooper();
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
CellLocationTest.java | 32 private Looper mLooper; 44 if (mLooper != null) { 45 mLooper.quit(); 67 mLooper = Looper.myLooper();
|
PhoneStateListenerTest.java | 42 private Looper mLooper; 54 if (mLooper != null) { 55 mLooper.quit(); 76 mLooper = Looper.myLooper(); 106 mLooper.quit(); 107 mLooper = null; 115 mLooper = Looper.myLooper(); 149 mLooper = Looper.myLooper(); 184 mLooper = Looper.myLooper(); 219 mLooper = Looper.myLooper() [all...] |
/frameworks/native/services/surfaceflinger/ |
MessageQueue.cpp | 54 mQueue.mLooper->sendMessage(this, Message(MessageQueue::REFRESH)); 60 mQueue.mLooper->sendMessage(this, Message(MessageQueue::INVALIDATE)); 66 mQueue.mLooper->sendMessage(this, Message(MessageQueue::TRANSACTION)); 99 mLooper = new Looper(true); 108 mLooper->addFd(mEventTube->getFd(), 0, ALOOPER_EVENT_INPUT, 115 int32_t ret = mLooper->pollOnce(-1); 138 mLooper->sendMessageDelayed(relTime, messageHandler, dummyMessage); 140 mLooper->sendMessage(messageHandler, dummyMessage);
|
/hardware/ti/omap4xxx/camera/ |
SensorListener.cpp | 123 if (mLooper.get()) { 124 mLooper->removeFd(mSensorEventQueue->getFd()); 125 mLooper.clear(); 126 mLooper = NULL; 139 sp<Looper> mLooper; 148 mLooper = new Looper(false); 149 mLooper->addFd(mSensorEventQueue->getFd(), 0, ALOOPER_EVENT_INPUT, sensor_events_listener, this); 152 mSensorLooperThread = new SensorLooperThread(mLooper.get());
|
/frameworks/av/media/libmediaplayerservice/nuplayer/mp4/ |
MP4Source.h | 44 sp<ALooper> mLooper;
|
MP4Source.cpp | 111 mLooper(new ALooper), 114 mLooper->registerHandler(mParser); 127 mLooper->start(false /* runOnCallingThread */);
|
/cts/tests/tests/os/src/android/os/cts/ |
HandlerThreadTest.java | 64 private Looper mLooper; 79 mLooper = getLooper(); 98 return mLooper;
|
LooperTest.java | 34 private Looper mLooper = null; 143 mLooper = Looper.myLooper(); 153 assertSame(t, mLooper.getThread()); 159 mLooper.quit();
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
RepeaterSource.cpp | 63 mLooper = new ALooper; 64 mLooper->setName("repeater_looper"); 65 mLooper->start(); 68 mLooper->registerHandler(mReflector); 82 if (mLooper != NULL) { 83 mLooper->stop(); 84 mLooper.clear();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
NotificationPlayer.java | 59 private Looper mLooper; 76 mLooper = Looper.myLooper(); 140 if((mLooper != null) 141 && (mLooper.getThread().getState() != Thread.State.TERMINATED)) { 142 mLooper.quit(); 197 if((mLooper != null) 198 && (mLooper.getThread().getState() != Thread.State.TERMINATED)) { 199 mLooper.quit(); 236 if(mLooper != null) { 237 mLooper.quit() [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
NotificationPlayer.java | 66 private Looper mLooper; 84 mLooper = Looper.myLooper(); 135 if((mLooper != null) 136 && (mLooper.getThread().getState() != Thread.State.TERMINATED)) { 137 mLooper.quit(); 189 if((mLooper != null) 190 && (mLooper.getThread().getState() != Thread.State.TERMINATED)) { 191 mLooper.quit(); 223 if(mLooper != null) { 224 mLooper.quit() [all...] |