Home
last modified time | relevance | path

Searched refs:mTestLooper (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooperTest.java48 private TestLooper mTestLooper; field in TestLooperTest
59 mTestLooper = new TestLooper(); in setUp()
60 mHandler = new Handler(mTestLooper.getLooper()); in setUp()
81 mTestLooper.dispatchAll(); in testNoTimeMovement()
113 mTestLooper.dispatchAll(); in testDelayedDispatchNoTimeMove()
141 mTestLooper.moveTimeForward(5000); in testDelayedDispatchAdvanceTimeOnce()
142 mTestLooper.dispatchAll(); in testDelayedDispatchAdvanceTimeOnce()
172 mTestLooper.moveTimeForward(4000); in testDelayedDispatchAdvanceTimeTwice()
175 mTestLooper.moveTimeForward(1000); in testDelayedDispatchAdvanceTimeTwice()
176 mTestLooper.dispatchAll(); in testDelayedDispatchAdvanceTimeTwice()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareRttStateManagerTest.java52 private TestLooper mTestLooper; field in WifiAwareRttStateManagerTest
74 mTestLooper = new TestLooper(); in setUp()
76 mMockContext, mTestLooper.getLooper(), mMockHandler); in setUp()
79 mDut.startWithRttService(mMockContext, mTestLooper.getLooper(), mMockRttService); in setUp()
108 mTestLooper.dispatchAll(); in testStartRanging()
123 mTestLooper.dispatchAll(); in testStartRanging()
137 mTestLooper.dispatchAll(); in testStartRanging()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DHalDeviceManagerTest.java85 private TestLooper mTestLooper; field in HalDeviceManagerTest
113 mTestLooper = new TestLooper(); in before()
157 mTestLooper.dispatchAll(); in testStartStopFlow()
180 mDut.registerStatusListener(callback2, mTestLooper.getLooper()); in testMultipleCallbackRegistrations()
181 mDut.registerStatusListener(callback1, mTestLooper.getLooper()); in testMultipleCallbackRegistrations()
182 mDut.registerStatusListener(callback2, mTestLooper.getLooper()); in testMultipleCallbackRegistrations()
205 mTestLooper.dispatchAll(); in testWifiDeathAndRegistration()
220 mTestLooper.dispatchAll(); in testWifiDeathAndRegistration()
240 mTestLooper.dispatchAll(); in testWifiFail()
248 mTestLooper.dispatchAll(); in testWifiFail()
[all …]
DLocalOnlyHotspotRequestInfoTest.java49 private TestLooper mTestLooper; field in LocalOnlyHotspotRequestInfoTest
59 mTestLooper = new TestLooper(); in setUp()
60 mHandler = new Handler(mTestLooper.getLooper()); in setUp()
147 Message message = mTestLooper.nextMessage(); in verifySendFailedMessage()
160 Message message = mTestLooper.nextMessage(); in verifySendStartedMessage()
172 Message message = mTestLooper.nextMessage(); in verifySendStoppedMessage()
DWifiMetricsTest.java61 TestLooper mTestLooper; field in WifiMetricsTest
69 mTestLooper = new TestLooper(); in setUp()
70 mWifiMetrics = new WifiMetrics(mClock, mTestLooper.getLooper()); in setUp()
982 mTestLooper.dispatchAll(); in generateStaEvents()