Searched refs:defaultNetworkCallback (Results 1 – 1 of 1) sorted by relevance
3149 final TestNetworkCallback defaultNetworkCallback = new TestNetworkCallback(); in testRegisterDefaultNetworkCallback() local3150 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 …]