Searched refs:trackDefaultCallback (Results 1 – 1 of 1) sorted by relevance
2309 TestNetworkCallback trackDefaultCallback = new TestNetworkCallback(); in testMultipleLingering() local2310 mCm.registerDefaultNetworkCallback(trackDefaultCallback); in testMultipleLingering()2311 trackDefaultCallback.expectAvailableCallbacksValidated(mWiFiNetworkAgent); in testMultipleLingering()2317 trackDefaultCallback.expectAvailableDoubleValidatedCallbacks(mEthernetNetworkAgent); in testMultipleLingering()2328 trackDefaultCallback.expectCallback(CallbackState.LOST, mEthernetNetworkAgent); in testMultipleLingering()2332 mCm.unregisterNetworkCallback(trackDefaultCallback); in testMultipleLingering()