/frameworks/base/tests/utils/testutils/java/android/os/test/ |
D | TestLooperTest.java | 48 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/ |
D | WifiAwareRttStateManagerTest.java | 52 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/base/wifi/tests/src/android/net/wifi/p2p/ |
D | WifiP2pManagerTest.java | 38 private TestLooper mTestLooper; field in WifiP2pManagerTest 54 mTestLooper = new TestLooper(); in setUp() 63 mTestLooper.getLooper(), null, null, mDut); in testChannelFinalize() 75 mTestLooper.getLooper(), null, null, mDut); in testChannelClose()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | LocalOnlyHotspotRequestInfoTest.java | 49 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()
|
D | HalDeviceManagerTest.java | 85 private TestLooper mTestLooper; field in HalDeviceManagerTest 113 mTestLooper = new TestLooper(); in before() 160 mTestLooper.dispatchAll(); in testStartStopFlow() 199 mDut.registerStatusListener(callback2, mTestLooper.getLooper()); in testMultipleCallbackRegistrations() 200 mDut.registerStatusListener(callback1, mTestLooper.getLooper()); in testMultipleCallbackRegistrations() 201 mDut.registerStatusListener(callback2, mTestLooper.getLooper()); in testMultipleCallbackRegistrations() 224 mTestLooper.dispatchAll(); in testWifiDeathAndRegistration() 239 mTestLooper.dispatchAll(); in testWifiDeathAndRegistration() 259 mTestLooper.dispatchAll(); in testWifiFail() 267 mTestLooper.dispatchAll(); in testWifiFail() [all …]
|
D | WifiMetricsTest.java | 68 TestLooper mTestLooper; field in WifiMetricsTest 79 mTestLooper = new TestLooper(); in setUp() 80 mWifiMetrics = new WifiMetrics(mClock, mTestLooper.getLooper(), in setUp() 1138 mTestLooper.dispatchAll(); in generateStaEvents()
|
/frameworks/base/lowpan/tests/src/android/net/lowpan/ |
D | LowpanManagerTest.java | 52 private final TestLooper mTestLooper = new TestLooper(); field in LowpanManagerTest 64 mLowpanManager = new LowpanManager(mContext, mLowpanService, mTestLooper.getLooper()); in setUp() 106 mTestLooper.dispatchAll(); in testRegisterCallback() 129 mTestLooper.dispatchAll(); in testRegisterCallback() 154 mTestLooper.dispatchAll(); in testUnregisterCallback()
|
D | LowpanInterfaceTest.java | 49 private final TestLooper mTestLooper = new TestLooper(); field in LowpanInterfaceTest 63 new LowpanInterface(mContext, mLowpanInterfaceService, mTestLooper.getLooper()); in setUp() 82 mTestLooper.dispatchAll(); in testStateChangedCallback()
|