Searched defs:mTestLooper (Results 1 - 5 of 5) sorted by relevance

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

Completed in 181 milliseconds