Home
last modified time | relevance | path

Searched refs:oldNetwork (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java2379 NetworkAgentInfo oldNetwork) { in updateDataActivityTracking() argument
2383 if (oldNetwork != null) { in updateDataActivityTracking()
2384 removeDataActivityTracking(oldNetwork); in updateDataActivityTracking()
6657 private void handleLingerComplete(NetworkAgentInfo oldNetwork) { in handleLingerComplete() argument
6658 if (oldNetwork == null) { in handleLingerComplete()
6662 if (DBG) log("handleLingerComplete for " + oldNetwork.toShortString()); in handleLingerComplete()
6666 oldNetwork.clearLingerState(); in handleLingerComplete()
6668 if (unneeded(oldNetwork, UnneededFor.TEARDOWN)) { in handleLingerComplete()
6670 teardownUnneededNetwork(oldNetwork); in handleLingerComplete()
6673 updateCapabilities(oldNetwork.getCurrentScore(), oldNetwork, in handleLingerComplete() local
[all …]
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1980 TestNetworkAgentWrapper oldNetwork, newNetwork; in testMultipleLingering() local
1983 oldNetwork = mWiFiNetworkAgent; in testMultipleLingering()
1987 oldNetwork = mCellNetworkAgent; in testMultipleLingering()
1991 callback.expectCallback(CallbackEntry.LOSING, oldNetwork); in testMultipleLingering()