Searched refs:trackDefaultCallback (Results 1 – 1 of 1) sorted by relevance
2151 TestNetworkCallback trackDefaultCallback = new TestNetworkCallback(); in testMultipleLingering() local2152 mCm.registerDefaultNetworkCallback(trackDefaultCallback); in testMultipleLingering()2153 trackDefaultCallback.expectAvailableCallbacksValidated(mWiFiNetworkAgent); in testMultipleLingering()2159 trackDefaultCallback.expectAvailableDoubleValidatedCallbacks(mEthernetNetworkAgent); in testMultipleLingering()2170 trackDefaultCallback.expectCallback(CallbackEntry.LOST, mEthernetNetworkAgent); in testMultipleLingering()2174 mCm.unregisterNetworkCallback(trackDefaultCallback); in testMultipleLingering()