Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkAgentInfo.java423 private int getCurrentScore(boolean pretendValidated) { in getCurrentScore() method in NetworkAgentInfo
457 public int getCurrentScore() { in getCurrentScore() method in NetworkAgentInfo
458 return getCurrentScore(false); in getCurrentScore()
464 return getCurrentScore(true); in getCurrentScoreAsValidated()
602 "nc{" + networkCapabilities + "} Score{" + getCurrentScore() + "} " + in toString()
621 return other.getCurrentScore() - getCurrentScore(); in compareTo()
DDefaultNetworkMetrics.java132 ev.finalScore = oldNai.getCurrentScore(); in logCurrentDefaultNetwork()
151 ev.initialScore = newNai.getCurrentScore(); in newDefaultNetwork()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java2190 updateCapabilities(nai.getCurrentScore(), nai, networkCapabilities); in maybeHandleNetworkAgentMessage()
2247 final int oldScore = nai.getCurrentScore(); in maybeHandleNetworkMonitorMessage()
2252 if (oldScore != nai.getCurrentScore()) sendUpdatedScoreToFactories(nai); in maybeHandleNetworkMonitorMessage()
2273 final int oldScore = nai.getCurrentScore(); in maybeHandleNetworkMonitorMessage()
2417 (nai != null ? nai.getCurrentScore() : 0), 0, nri.request); in handleAsyncChannelHalfConnect()
2640 getNetworkForRequest(nri.request.requestId).getCurrentScore() < in unneeded()
2729 updateCapabilities(nai.getCurrentScore(), nai, nai.networkCapabilities); in handleRemoveNetworkRequest()
2822 int oldScore = nai.getCurrentScore(); in handleSetAcceptUnvalidated()
2849 int oldScore = nai.getCurrentScore(); in handleSetAvoidUnvalidated()
4952 if (nai.getCurrentScore() == oldScore && newNc.equalRequestableCapabilities(prevNc)) { in updateCapabilities()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DConnectivityServiceMock.java209 (nai != null ? nai.getCurrentScore() : 0), 0, nri.request); in handleAsyncChannelHalfConnect()
901 sendUpdatedScoreToFactories(nr, nai.getCurrentScore()); in sendUpdatedScoreToFactories()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DIpConnectivityMetricsTest.java632 when(nai.getCurrentScore()).thenReturn(score); in makeNai()