Searched refs:mLooper (Results 1 - 25 of 67) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/view/
H A DWindowManagerPolicyThread.java27 static Looper mLooper; field in class:WindowManagerPolicyThread
31 mLooper = looper;
39 return mLooper;
/frameworks/av/media/libmediaplayerservice/
H A DRemoteDisplay.cpp28 : mLooper(new ALooper),
31 mLooper->setName("wfd_looper");
32 mLooper->registerHandler(mSource);
35 mLooper->start();
46 mLooper->stop();
H A DRemoteDisplay.h43 sp<ALooper> mLooper; member in struct:android::RemoteDisplay
/frameworks/native/libs/utils/tests/
H A DLooper_test.cpp27 sp<Looper> mLooper; member in class:android::DelayedWake
31 DelayedTask(delayMillis), mLooper(looper) {
36 mLooper->wake();
103 sp<Looper> mLooper; member in class:android::LooperTest
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/android/os/
H A DHandlerThread.java26 Looper mLooper; field in class:HandlerThread
55 mLooper = Looper.myLooper();
77 while (isAlive() && mLooper == null) {
84 return mLooper;
H A DHandler.java195 mLooper = Looper.myLooper();
196 if (mLooper == null) {
200 mQueue = mLooper.mQueue;
225 mLooper = looper;
457 if (Looper.myLooper() == mLooper) {
676 return mLooper;
681 if (mLooper == null) {
684 mLooper.dump(pw, prefix + " ");
729 final Looper mLooper; field in class:Handler
/frameworks/base/core/tests/coretests/src/android/os/
H A DHandlerTester.java62 mLooper = Looper.myLooper();
82 mLooper.quit();
87 private Looper mLooper; field in class:HandlerTester
H A DTestHandlerThread.java28 private Looper mLooper; field in class:TestHandlerThread
51 mLooper.quit();
62 return mLooper;
83 mLooper = Looper.myLooper();
/frameworks/base/core/jni/
H A Dandroid_os_MessageQueue.h29 return mLooper;
62 sp<Looper> mLooper; member in class:android::MessageQueue
H A Dandroid_os_MessageQueue.cpp68 mLooper = Looper::getForThread();
69 if (mLooper == NULL) {
70 mLooper = new Looper(false);
71 Looper::setForThread(mLooper);
97 mLooper->pollOnce(timeoutMillis);
107 mLooper->wake();
/frameworks/native/services/surfaceflinger/
H A DMessageQueue.cpp54 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/libstagefright/wifi-display/source/
H A DRepeaterSource.cpp44 mLooper = new ALooper;
45 mLooper->setName("repeater_looper");
46 mLooper->start();
49 mLooper->registerHandler(mReflector);
63 if (mLooper != NULL) {
64 mLooper->stop();
65 mLooper.clear();
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DNotificationPlayer.java64 private Looper mLooper; field in class:NotificationPlayer
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
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/mp4/
H A DMP4Source.cpp109 mLooper(new ALooper),
112 mLooper->registerHandler(mParser);
119 mLooper->start(false /* runOnCallingThread */);
H A DMP4Source.h43 sp<ALooper> mLooper; member in struct:android::MP4Source
/frameworks/native/libs/gui/
H A DSensorEventQueue.cpp70 if (mLooper == 0) {
71 mLooper = new Looper(true);
72 mLooper->addFd(getFd(), getFd(), ALOOPER_EVENT_INPUT, NULL, NULL);
74 return mLooper;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCallerInfoTest.java169 private Looper mLooper; field in class:CallerInfoTest.QueryRunner
188 mLooper = Looper.myLooper();
192 mLooper.loop();
204 mLooper.quit();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DCameraTest.java58 private Looper mLooper = null; field in class:CameraTest
88 mLooper = Looper.myLooper();
105 mLooper.quit();
111 mLooper.getThread().join();
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DRTSPSource.cpp60 if (mLooper != NULL) {
61 mLooper->stop();
66 if (mLooper == NULL) {
67 mLooper = new ALooper;
68 mLooper->setName("rtsp");
69 mLooper->start();
72 mLooper->registerHandler(mReflector);
80 mLooper->registerHandler(mHandler);
466 mLooper->unregisterHandler(mHandler->id());
H A DNuPlayerDriver.cpp36 mLooper(new ALooper),
40 mLooper->setName("NuPlayerDriver Looper");
42 mLooper->start(
48 mLooper->registerHandler(mPlayer);
54 mLooper->stop();
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextDriver.cpp44 : mLooper(new ALooper),
48 mLooper->setName("TimedTextDriver");
49 mLooper->start();
51 mLooper->registerHandler(mPlayer);
57 mLooper->stop();
/frameworks/av/media/libstagefright/foundation/
H A DALooper.cpp36 mLooper(looper),
47 return mLooper->loop();
58 ALooper *mLooper; member in struct:android::ALooper::LooperThread
H A DALooperRoster.cpp44 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/
H A DALooperRoster.h46 wp<ALooper> mLooper; member in struct:android::ALooperRoster::HandlerInfo
/frameworks/av/media/libstagefright/include/
H A DFragmentedMP4Extractor.h49 sp<ALooper> mLooper; member in class:android::FragmentedMP4Extractor

Completed in 162 milliseconds

123