Searched refs:oldNetwork (Results 1 – 2 of 2) sorted by relevance
4801 private void handleLingerComplete(NetworkAgentInfo oldNetwork) { in handleLingerComplete() argument4802 if (oldNetwork == null) { in handleLingerComplete()4806 if (DBG) log("handleLingerComplete for " + oldNetwork.name()); in handleLingerComplete()4810 oldNetwork.clearLingerState(); in handleLingerComplete()4812 if (unneeded(oldNetwork, UnneededFor.TEARDOWN)) { in handleLingerComplete()4814 teardownUnneededNetwork(oldNetwork); in handleLingerComplete()4817 updateCapabilities(oldNetwork.getCurrentScore(), oldNetwork, in handleLingerComplete() local4818 oldNetwork.networkCapabilities); in handleLingerComplete()
1311 MockNetworkAgent oldNetwork, newNetwork; in testMultipleLingering() local1314 oldNetwork = mWiFiNetworkAgent; in testMultipleLingering()1318 oldNetwork = mCellNetworkAgent; in testMultipleLingering()1322 callback.expectCallback(CallbackState.LOSING, oldNetwork); in testMultipleLingering()