/frameworks/native/libs/utils/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...] |
/frameworks/base/core/java/com/android/internal/view/ |
WindowManagerPolicyThread.java | 27 static Looper mLooper; 31 mLooper = looper; 39 return mLooper;
|
/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;
|
/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);
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
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...] |
CellLocationTest.java | 32 private Looper mLooper; 44 if (mLooper != null) { 45 mLooper.quit(); 67 mLooper = Looper.myLooper();
|
/frameworks/base/core/tests/coretests/src/android/os/ |
TestHandlerThread.java | 28 private Looper mLooper; 51 mLooper.quit(); 62 return mLooper; 83 mLooper = Looper.myLooper();
|
HandlerTester.java | 62 mLooper = Looper.myLooper(); 82 mLooper.quit(); 87 private Looper mLooper;
|
/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; 136 mLooper = Looper.myLooper(); 146 assertSame(t, mLooper.getThread()); 152 mLooper.quit();
|
TokenWatcherTest.java | 47 private Looper mLooper; 54 mLooper = Looper.myLooper(); 64 mHandler = new Handler(mLooper); 100 mLooper.quit();
|
/frameworks/base/core/java/android/os/ |
HandlerThread.java | 26 Looper mLooper; 55 mLooper = Looper.myLooper(); 77 while (isAlive() && mLooper == null) { 84 return mLooper;
|
/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/native/services/surfaceflinger/ |
MessageQueue.cpp | 54 mQueue.mLooper->sendMessage(this, Message(MessageQueue::REFRESH)); 60 mQueue.mLooper->sendMessage(this, Message(MessageQueue::INVALIDATE)); 89 mLooper = new Looper(true); 98 mLooper->addFd(mEventTube->getFd(), 0, ALOOPER_EVENT_INPUT, 105 int32_t ret = mLooper->pollOnce(-1); 128 mLooper->sendMessageDelayed(relTime, messageHandler, dummyMessage); 130 mLooper->sendMessage(messageHandler, dummyMessage);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
RTSPSource.cpp | 59 if (mLooper != NULL) { 60 mLooper->stop(); 65 if (mLooper == NULL) { 66 mLooper = new ALooper; 67 mLooper->setName("rtsp"); 68 mLooper->start(); 71 mLooper->registerHandler(mReflector); 79 mLooper->registerHandler(mHandler); 400 mLooper->unregisterHandler(mHandler->id());
|
NuPlayerDriver.cpp | 36 mLooper(new ALooper), 40 mLooper->setName("NuPlayerDriver Looper"); 42 mLooper->start( 48 mLooper->registerHandler(mPlayer); 54 mLooper->stop();
|
/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();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
NotificationPlayer.java | 64 private Looper mLooper; 81 mLooper = Looper.myLooper(); 131 if((mLooper != null) 132 && (mLooper.getThread().getState() != Thread.State.TERMINATED)) { 133 mLooper.quit(); 184 if((mLooper != null) 185 && (mLooper.getThread().getState() != Thread.State.TERMINATED)) { 186 mLooper.quit(); 217 if(mLooper != null) { 218 mLooper.quit() [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
NotificationPlayer.java | 67 private Looper mLooper; 85 mLooper = Looper.myLooper(); 136 if((mLooper != null) 137 && (mLooper.getThread().getState() != Thread.State.TERMINATED)) { 138 mLooper.quit(); 190 if((mLooper != null) 191 && (mLooper.getThread().getState() != Thread.State.TERMINATED)) { 192 mLooper.quit(); 224 if(mLooper != null) { 225 mLooper.quit() [all...] |
/frameworks/av/media/libstagefright/timedtext/ |
TimedTextDriver.cpp | 44 : mLooper(new ALooper), 47 mLooper->setName("TimedTextDriver"); 48 mLooper->start(); 50 mLooper->registerHandler(mPlayer); 56 mLooper->stop();
|
/frameworks/av/media/libstagefright/foundation/ |
ALooper.cpp | 36 mLooper(looper), 47 return mLooper->loop(); 58 ALooper *mLooper;
|
ALooperRoster.cpp | 44 info.mLooper = looper; 91 sp<ALooper> looper = info.mLooper.promote(); 145 sp<ALooper> looper = mHandlers.valueAt(index).mLooper.promote();
|
/frameworks/av/include/media/stagefright/foundation/ |
ALooperRoster.h | 46 wp<ALooper> mLooper;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
CameraTest.java | 58 private Looper mLooper = null; 88 mLooper = Looper.myLooper(); 105 mLooper.quit(); 111 mLooper.getThread().join();
|