Searched refs:mTestableLooper (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DIconLoggerImplTest.java57 private TestableLooper mTestableLooper; field in class:IconLoggerImplTest
64 mTestableLooper = TestableLooper.get(this);
66 mTestableLooper.setMessageHandler(mMessageHandler);
73 mIconLogger = new IconLoggerImpl(mContext, mTestableLooper.getLooper(), mMetricsLogger);
85 mTestableLooper.processAllMessages();
89 mTestableLooper.processAllMessages();
98 mTestableLooper.processAllMessages();
106 mTestableLooper.processAllMessages();
110 mTestableLooper.processAllMessages();
118 mTestableLooper
[all...]
H A DBluetoothControllerImplTest.java57 private TestableLooper mTestableLooper; field in class:BluetoothControllerImplTest
64 mTestableLooper = TestableLooper.get(this);
77 mTestableLooper.getLooper());
114 mTestableLooper.processMessages(1);
136 mTestableLooper.processMessages(1);
160 mTestableLooper.processMessages(1);
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardUpdateMonitorTest.java47 private TestableLooper mTestableLooper; field in class:KeyguardUpdateMonitorTest
51 mTestableLooper = TestableLooper.get(this);
62 mTestableLooper.processAllMessages();
68 mTestableLooper.processAllMessages();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
H A DQSDetailTest.java55 private TestableLooper mTestableLooper; field in class:QSDetailTest
59 mTestableLooper = TestableLooper.get(this);
60 mTestableLooper.runWithLooper(() -> {
77 mTestableLooper.processAllMessages();
85 mTestableLooper.processAllMessages();
91 mTestableLooper.processAllMessages();
102 mTestableLooper.processAllMessages();
/frameworks/base/tests/testables/src/android/testing/
H A DTestableLooper.java221 private final TestableLooper mTestableLooper; field in class:TestableLooper.LooperFrameworkMethod
229 mTestableLooper = new TestableLooper(mLooper, false);
233 sLoopers.put(test, mTestableLooper);
240 mTestableLooper = other;
257 boolean set = mTestableLooper.mQueueWrapper == null;
259 mTestableLooper.mQueueWrapper = acquireLooperManager(mLooper);
275 mTestableLooper.mQueueWrapper.execute(m);
292 mTestableLooper.mQueueWrapper.release();
293 mTestableLooper.mQueueWrapper = null;
/frameworks/base/tests/testables/tests/src/android/testing/
H A DTestableLooperTest.java44 private TestableLooper mTestableLooper; field in class:TestableLooperTest
48 mTestableLooper = TestableLooper.get(this);
57 mTestableLooper.processAllMessages();
68 mTestableLooper.setMessageHandler(messageHandler);
73 mTestableLooper.processAllMessages();
89 mTestableLooper.processMessages(2);
101 mTestableLooper.processAllMessages();
113 mTestableLooper.processAllMessages();
125 mTestableLooper.processAllMessages();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
H A DQSTileImplTest.java64 private TestableLooper mTestableLooper; field in class:QSTileImplTest
72 mTestableLooper = TestableLooper.get(this);
73 mDependency.injectTestDependency(Dependency.BG_LOOPER, mTestableLooper.getLooper());
80 mTile.mHandler = mTile.new H(mTestableLooper.getLooper());
120 mTestableLooper.processAllMessages();
124 mTestableLooper.processAllMessages();
131 mTestableLooper.processAllMessages();
135 mTestableLooper.processAllMessages();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationInfoTest.java99 private TestableLooper mTestableLooper; field in class:NotificationInfoTest
116 mTestableLooper = TestableLooper.get(this);
117 mDependency.injectTestDependency(Dependency.BG_LOOPER, mTestableLooper.getLooper());
385 mTestableLooper.processAllMessages();
397 mTestableLooper.processAllMessages();
410 mTestableLooper.processAllMessages();
423 mTestableLooper.processAllMessages();
438 mTestableLooper.processAllMessages();
458 mTestableLooper.processAllMessages();
479 mTestableLooper
[all...]
H A DNotificationGutsManagerTest.java83 private TestableLooper mTestableLooper; field in class:NotificationGutsManagerTest
97 mTestableLooper = TestableLooper.get(this);
98 mHandler = Handler.createAsync(mTestableLooper.getLooper());
135 mTestableLooper.processAllMessages();
175 mTestableLooper.processAllMessages();
185 mTestableLooper.processAllMessages();
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DZenModeHelperTest.java89 private TestableLooper mTestableLooper; field in class:ZenModeHelperTest
98 mTestableLooper = TestableLooper.get(this);
106 mZenModeHelperSpy = spy(new ZenModeHelper(mContext, mTestableLooper.getLooper(),
H A DNotificationManagerServiceTest.java157 private TestableLooper mTestableLooper; field in class:NotificationManagerServiceTest
237 mTestableLooper = TestableLooper.get(this);
238 mHandler = mService.new WorkerHandler(mTestableLooper.getLooper());
279 mService.init(mTestableLooper.getLooper(),
307 mTestableLooper.processAllMessages();

Completed in 401 milliseconds