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.java3260 final TestNetworkCallback defaultNetworkCallback = new TestNetworkCallback(); in testRegisterDefaultNetworkCallback() local
3261 mCm.registerDefaultNetworkCallback(defaultNetworkCallback); in testRegisterDefaultNetworkCallback()
3262 defaultNetworkCallback.assertNoCallback(); in testRegisterDefaultNetworkCallback()
3277 defaultNetworkCallback.expectAvailableThenValidatedCallbacks(mCellNetworkAgent); in testRegisterDefaultNetworkCallback()
3278 assertEquals(defaultNetworkCallback.getLastAvailableNetwork(), mCm.getActiveNetwork()); in testRegisterDefaultNetworkCallback()
3284 defaultNetworkCallback.expectAvailableDoubleValidatedCallbacks(mWiFiNetworkAgent); in testRegisterDefaultNetworkCallback()
3285 assertEquals(defaultNetworkCallback.getLastAvailableNetwork(), mCm.getActiveNetwork()); in testRegisterDefaultNetworkCallback()
3290 defaultNetworkCallback.assertNoCallback(); in testRegisterDefaultNetworkCallback()
3291 assertEquals(defaultNetworkCallback.getLastAvailableNetwork(), mCm.getActiveNetwork()); in testRegisterDefaultNetworkCallback()
3297 defaultNetworkCallback.assertNoCallback(); in testRegisterDefaultNetworkCallback()
[all …]