Searched refs:defaultCallback (Results 1 – 1 of 1) sorted by relevance
2094 TestNetworkCallback defaultCallback = new TestNetworkCallback(); in testMultipleLingering() local2095 mCm.registerDefaultNetworkCallback(defaultCallback); in testMultipleLingering()2107 defaultCallback.expectAvailableThenValidatedCallbacks(mCellNetworkAgent); in testMultipleLingering()2109 assertEquals(defaultCallback.getLastAvailableNetwork(), mCm.getActiveNetwork()); in testMultipleLingering()2118 defaultCallback.expectAvailableDoubleValidatedCallbacks(mWiFiNetworkAgent); in testMultipleLingering()2120 assertEquals(defaultCallback.getLastAvailableNetwork(), mCm.getActiveNetwork()); in testMultipleLingering()2127 defaultCallback.expectAvailableDoubleValidatedCallbacks(mEthernetNetworkAgent); in testMultipleLingering()2129 assertEquals(defaultCallback.getLastAvailableNetwork(), mCm.getActiveNetwork()); in testMultipleLingering()2133 defaultCallback.expectCallback(CallbackState.LOST, mEthernetNetworkAgent); in testMultipleLingering()2134 defaultCallback.expectAvailableCallbacksValidated(mWiFiNetworkAgent); in testMultipleLingering()[all …]