Home
last modified time | relevance | path

Searched refs:getCurrentScore (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DIpConnectivityMetricsTest.java141 final int score = (nai != null) ? nai.getCurrentScore() : 0; in logDefaultNetworkEvent()
147 final int prevScore = (oldNai != null) ? oldNai.getCurrentScore() : 0; in logDefaultNetworkEvent()
617 when(nai.getCurrentScore()).thenReturn(score); in makeNai()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkAgentInfo.java923 public int getCurrentScore() { in getCurrentScore() method in NetworkAgentInfo
1208 return other.getCurrentScore() - getCurrentScore();
DNetworkRanker.java289 final int naiScore = nai.getCurrentScore(); in getBestNetworkByLegacyInt()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java3257 updateCapabilities(nai.getCurrentScore(), nai, networkCapabilities); in maybeHandleNetworkAgentMessage()
3455 final int oldScore = nai.getCurrentScore(); in handleNetworkTested()
7400 if (nai.getCurrentScore() == oldScore && newNc.equalRequestableCapabilities(prevNc)) { in updateCapabilities()
7444 updateCapabilities(nai.getCurrentScore(), nai, nai.networkCapabilities); in updateCapabilitiesForNetwork()