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

1234567

/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.cpp32 : mLooper(new ALooper),
34 mLooper->setName("wfd_looper");
37 mLooper->registerHandler(mSource);
40 mLooper->start();
60 mLooper->stop();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DCameraTestThread.java34 private Looper mLooper = null; field in class:CameraTestThread
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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiControllerTest.java85 TestLooper mLooper; field in class:WifiControllerTest
104 mLooper = new TestLooper();
113 mSettingsStore, mWifiLockManager, mLooper.getLooper(), mFacade);
123 mLooper.dispatchAll();
128 mLooper.dispatchAll();
137 mLooper.dispatchAll();
142 mLooper.dispatchAll();
147 mLooper.dispatchAll();
182 mLooper.dispatchAll();
186 mLooper
[all...]
H A DWifiStateMachinePrimeTest.java56 TestLooper mLooper; field in class:WifiStateMachinePrimeTest
72 mLooper = new TestLooper();
80 return new WifiStateMachinePrime(mWifiInjector, mLooper.getLooper(), mNMService);
119 mLooper.dispatchAll();
138 new WifiStateMachinePrime(mWifiInjector, mLooper.getLooper(), mNMService);
160 mLooper.dispatchAll();
173 mLooper.dispatchAll();
187 mLooper.dispatchAll();
191 mLooper.dispatchAll();
206 mLooper
[all...]
H A DWifiStateMachineTest.java328 TestLooper mLooper; field in class:WifiStateMachineTest
366 mLooper = new TestLooper();
434 mWsm = new WifiStateMachine(mContext, factory, mLooper.getLooper(),
439 Handler handler = new Handler(mLooper.getLooper()) {
458 mLooper.dispatchAll();
484 mLooper.dispatchAll();
516 mLooper.dispatchAll();
562 mLooper.dispatchAll();
577 mLooper.dispatchAll();
583 mLooper
[all...]
H A DSoftApManagerTest.java69 TestLooper mLooper; field in class:SoftApManagerTest
89 mLooper = new TestLooper();
112 SoftApManager newSoftApManager = new SoftApManager(mLooper.getLooper(),
121 mLooper.dispatchAll();
147 SoftApManager newSoftApManager = new SoftApManager(mLooper.getLooper(),
156 mLooper.dispatchAll();
158 mLooper.dispatchAll();
168 mLooper.dispatchAll();
181 mLooper.dispatchAll();
193 mLooper
[all...]
H A DWifiMonitorTest.java58 private TestLooper mLooper; field in class:WifiMonitorTest
65 mLooper = new TestLooper();
66 mHandlerSpy = spy(new Handler(mLooper.getLooper()));
67 mSecondHandlerSpy = spy(new Handler(mLooper.getLooper()));
81 mLooper.dispatchAll();
99 mLooper.dispatchAll();
118 mLooper.dispatchAll();
135 mLooper.dispatchAll();
153 mLooper.dispatchAll();
170 mLooper
[all...]
/frameworks/base/wifi/tests/src/android/net/wifi/
H A DWifiScannerTest.java47 private TestLooper mLooper; field in class:WifiScannerTest
56 mLooper = new TestLooper();
59 mContext, mLooper.getLooper(), mHandler);
61 mWifiScanner = new WifiScanner(mContext, mService, mLooper.getLooper());
62 mLooper.dispatchAll();
/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
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
H A DWifiP2pMonitorTest.java43 private TestLooper mLooper; field in class:WifiP2pMonitorTest
50 mLooper = new TestLooper();
51 mHandlerSpy = spy(new Handler(mLooper.getLooper()));
52 mSecondHandlerSpy = spy(new Handler(mLooper.getLooper()));
64 mLooper.dispatchAll();
80 mLooper.dispatchAll();
96 mLooper.dispatchAll();
110 mLooper.dispatchAll();
/frameworks/base/tests/testables/src/android/testing/
H A DTestableLooper.java42 private Looper mLooper; field in class:TestableLooper
66 return mLooper;
70 mLooper = l;
71 mQueue = mLooper.getQueue();
72 mHandler = new Handler(mLooper);
81 Field field = mLooper.getClass().getDeclaredField("sMainLooper");
86 field.set(null, mLooper);
97 Field field = mLooper.getClass().getDeclaredField("sMainLooper");
217 private final Looper mLooper; field in class:TestableLooper.LooperFrameworkMethod
223 mLooper
[all...]
/frameworks/av/include/media/stagefright/foundation/
H A DAHandler.h41 return mLooper.promote();
45 return mLooper;
61 wp<ALooper> mLooper; member in struct:android::AHandler
65 mLooper = looper;
/frameworks/av/media/libstagefright/foundation/include/foundation/
H A DAHandler.h41 return mLooper.promote();
45 return mLooper;
61 wp<ALooper> mLooper; member in struct:android::AHandler
65 mLooper = looper;
/frameworks/av/media/libstagefright/include/foundation/
H A DAHandler.h41 return mLooper.promote();
45 return mLooper;
61 wp<ALooper> mLooper; member in struct:android::AHandler
65 mLooper = looper;
/frameworks/base/core/java/android/os/
H A DHandlerThread.java29 Looper mLooper; field in class:HandlerThread
60 mLooper = Looper.myLooper();
82 while (isAlive() && mLooper == null) {
89 return mLooper;
H A DTestLooperManager.java36 private final Looper mLooper; field in class:TestLooperManager
52 mLooper = looper;
53 mQueue = mLooper.getQueue();
101 sHeldLoopers.remove(mLooper);
118 if (Looper.myLooper() == mLooper) {
/frameworks/native/services/surfaceflinger/
H A DMessageQueue.cpp53 mQueue.mLooper->sendMessage(this, Message(MessageQueue::REFRESH));
59 mQueue.mLooper->sendMessage(this, Message(MessageQueue::INVALIDATE));
88 mLooper = new Looper(true);
97 mLooper->addFd(mEventTube.getFd(), 0, Looper::EVENT_INPUT,
104 int32_t ret = mLooper->pollOnce(-1);
128 mLooper->sendMessageDelayed(relTime, messageHandler, dummyMessage);
130 mLooper->sendMessage(messageHandler, dummyMessage);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
H A DHalWifiScannerTest.java37 mScanner = new HalWifiScannerImpl(mContext, mWifiNative, mWifiMonitor, mLooper.getLooper(),
/frameworks/native/services/sensorservice/hidl/
H A DEventQueue.cpp63 : mLooper(looper),
66 mLooper->addFd(internalQueue->getFd(), ALOOPER_POLL_CALLBACK, ALOOPER_EVENT_INPUT,
72 mLooper->removeFd(mInternalQueue->getFd());
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
H A DWifiHandlerTest.java40 TestLooper mLooper; field in class:WifiHandlerTest
51 mLooper = new TestLooper();
52 mCodeUnderTest = new WifiHandlerTestClass(TAG, mLooper.getLooper());
/frameworks/av/media/libstagefright/wifi-display/source/
H A DRepeaterSource.cpp63 mLooper = new ALooper;
64 mLooper->setName("repeater_looper");
65 mLooper->start();
68 mLooper->registerHandler(mReflector);
84 if (mLooper != NULL) {
85 mLooper->stop();
86 mLooper.clear();
/frameworks/base/tests/utils/testutils/java/android/os/test/
H A DTestLooper.java38 protected final Looper mLooper; field in class:TestLooper
72 mLooper = LOOPER_CONSTRUCTOR.newInstance(false);
76 threadLocalLooper.set(mLooper);
83 return mLooper;
88 MessageQueue queue = mLooper.getQueue();
132 MESSAGE_QUEUE_MESSAGES_FIELD.set(mLooper.getQueue(),

Completed in 509 milliseconds

1234567