Searched refs:oldNetwork (Results 1 – 2 of 2) sorted by relevance
5149 private void handleLingerComplete(NetworkAgentInfo oldNetwork) { in handleLingerComplete() argument5150 if (oldNetwork == null) { in handleLingerComplete()5154 if (DBG) log("handleLingerComplete for " + oldNetwork.name()); in handleLingerComplete()5158 oldNetwork.clearLingerState(); in handleLingerComplete()5160 if (unneeded(oldNetwork, UnneededFor.TEARDOWN)) { in handleLingerComplete()5162 teardownUnneededNetwork(oldNetwork); in handleLingerComplete()5165 updateCapabilities(oldNetwork.getCurrentScore(), oldNetwork, in handleLingerComplete() local5166 oldNetwork.networkCapabilities); in handleLingerComplete()
1809 MockNetworkAgent oldNetwork, newNetwork; in testMultipleLingering() local1812 oldNetwork = mWiFiNetworkAgent; in testMultipleLingering()1816 oldNetwork = mCellNetworkAgent; in testMultipleLingering()1820 callback.expectCallback(CallbackState.LOSING, oldNetwork); in testMultipleLingering()