Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java3149 final TestNetworkCallback defaultNetworkCallback = new TestNetworkCallback(); in testRegisterDefaultNetworkCallback() local
3150 mCm.registerDefaultNetworkCallback(defaultNetworkCallback); in testRegisterDefaultNetworkCallback()
3151 defaultNetworkCallback.assertNoCallback(); in testRegisterDefaultNetworkCallback()
3166 defaultNetworkCallback.expectAvailableThenValidatedCallbacks(mCellNetworkAgent); in testRegisterDefaultNetworkCallback()
3167 assertEquals(defaultNetworkCallback.getLastAvailableNetwork(), mCm.getActiveNetwork()); in testRegisterDefaultNetworkCallback()
3173 defaultNetworkCallback.expectAvailableDoubleValidatedCallbacks(mWiFiNetworkAgent); in testRegisterDefaultNetworkCallback()
3174 assertEquals(defaultNetworkCallback.getLastAvailableNetwork(), mCm.getActiveNetwork()); in testRegisterDefaultNetworkCallback()
3179 defaultNetworkCallback.assertNoCallback(); in testRegisterDefaultNetworkCallback()
3180 assertEquals(defaultNetworkCallback.getLastAvailableNetwork(), mCm.getActiveNetwork()); in testRegisterDefaultNetworkCallback()
3186 defaultNetworkCallback.assertNoCallback(); in testRegisterDefaultNetworkCallback()
[all …]