/frameworks/base/libs/utils/tests/ |
Looper_test.cpp | 20 sp<Looper> mLooper; 24 DelayedTask(delayMillis), mLooper(looper) { 29 mLooper->wake(); 87 sp<Looper> mLooper; 90 mLooper = new Looper(true); 94 mLooper.clear(); 101 int result = mLooper->pollOnce(100); 111 mLooper->wake(); 114 int result = mLooper->pollOnce(1000); 124 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;
|
/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/telephony/src/android/telephony/cts/ |
PhoneStateListenerTest.java | 47 private Looper mLooper; 59 if (mLooper != null) { 60 mLooper.quit(); 97 mLooper = Looper.myLooper(); 127 mLooper.quit(); 128 mLooper = null; 144 mLooper = Looper.myLooper(); 186 mLooper = Looper.myLooper(); 229 mLooper = Looper.myLooper(); 272 mLooper = Looper.myLooper() [all...] |
CellLocationTest.java | 37 private Looper mLooper; 49 if (mLooper != null) { 50 mLooper.quit(); 84 mLooper = Looper.myLooper();
|
/frameworks/base/core/java/android/os/ |
HandlerThread.java | 26 private Looper mLooper; 55 mLooper = Looper.myLooper(); 77 while (isAlive() && mLooper == null) { 84 return mLooper;
|
/frameworks/base/core/jni/ |
android_os_MessageQueue.cpp | 42 inline sp<Looper> getLooper() { return mLooper; } 48 sp<Looper> mLooper; 54 mLooper = Looper::getForThread(); 55 if (mLooper == NULL) { 56 mLooper = new Looper(false); 57 Looper::setForThread(mLooper); 65 mLooper->pollOnce(timeoutMillis); 69 mLooper->wake();
|
/cts/tests/tests/os/src/android/os/cts/ |
HandlerThreadTest.java | 109 private Looper mLooper; 124 mLooper = getLooper(); 143 return mLooper;
|
MessageQueueTest.java | 163 private Looper mLooper; 176 mLooper.quit(); 188 mLooper = getLooper(); 229 private Looper mLooper; 266 mLooper.quit(); 284 mLooper = getLooper();
|
LooperTest.java | 39 private Looper mLooper = null; 197 mLooper = Looper.myLooper(); 207 assertSame(t, mLooper.getThread()); 213 mLooper.quit();
|
TokenWatcherTest.java | 52 private Looper mLooper; 59 mLooper = Looper.myLooper(); 69 mHandler = new Handler(mLooper); 105 mLooper.quit();
|
/frameworks/base/media/libstagefright/ |
ThreadedSource.cpp | 35 mLooper(new ALooper), 37 mLooper->registerHandler(mReflector); 62 CHECK_EQ(mLooper->start(), (status_t)OK); 72 CHECK_EQ(mLooper->stop(), (status_t)OK);
|
NuCachedSource2.cpp | 176 mLooper(new ALooper), 184 mLooper->setName("NuCachedSource2"); 185 mLooper->registerHandler(mReflector); 186 mLooper->start(); 193 mLooper->stop(); 194 mLooper->unregisterHandler(mReflector->id());
|
/frameworks/base/services/java/com/android/server/ |
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...] |
/frameworks/base/media/libstagefright/foundation/ |
ALooper.cpp | 36 mLooper(looper) { 40 return mLooper->loop(); 47 ALooper *mLooper;
|
ALooperRoster.cpp | 43 info.mLooper = looper; 86 sp<ALooper> looper = info.mLooper.promote(); 138 sp<ALooper> looper = mHandlers.valueAt(index).mLooper.promote();
|
/frameworks/base/media/libstagefright/rtsp/ |
ARTSPController.cpp | 30 mLooper(looper), 40 mLooper->unregisterHandler(mReflector->id()); 52 mHandler = new MyHandler(url, mLooper);
|
/frameworks/base/include/media/stagefright/ |
MPEG2TSWriter.h | 54 sp<ALooper> mLooper;
|
/frameworks/base/include/media/stagefright/foundation/ |
ALooperRoster.h | 41 wp<ALooper> mLooper;
|
/frameworks/base/libs/gui/ |
SensorEventQueue.cpp | 91 if (mLooper == 0) { 92 mLooper = new Looper(true); 93 mLooper->addFd(getFd(), getFd(), ALOOPER_EVENT_INPUT, NULL, NULL); 95 return mLooper;
|
/frameworks/base/media/libstagefright/include/ |
ThreadedSource.h | 53 sp<ALooper> mLooper;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
CameraTest.java | 57 private Looper mLooper = null; 87 mLooper = Looper.myLooper(); 104 mLooper.quit(); 110 mLooper.getThread().join();
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
CallerInfoTest.java | 169 private Looper mLooper; 188 mLooper = Looper.myLooper(); 192 mLooper.loop(); 204 mLooper.quit();
|
/packages/apps/Phone/src/com/android/phone/ |
Ringer.java | 231 private Looper mLooper; 237 while (mLooper == null) { 247 return mLooper; 253 mLooper = Looper.myLooper(); 260 mLooper.quit();
|