Searched refs:sendNetworkScore (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NetworkScoreTest.kt | 115 fun sendNetworkScore(s: NetworkScore) = agent.sendNetworkScore(s) in <lambda>() method 171 agent1.sendNetworkScore(score(exiting = true)) in <lambda>() 174 agent1.sendNetworkScore(score(exiting = false)) in <lambda>() 224 agent2.sendNetworkScore(score(primary = true)) in <lambda>() 227 agent1.sendNetworkScore(score(primary = true)) in <lambda>() 230 agent2.sendNetworkScore(score(primary = false)) in <lambda>()
|
D | NetworkAgentTest.kt | 881 agent1.sendNetworkScore(NetworkScore.Builder().setLegacyInt(BETTER_NETWORK_SCORE) in testSendScore() 891 agent1.sendNetworkScore(NetworkScore.Builder() in testSendScore() 1110 agentWeaker.sendNetworkScore(NetworkScore.Builder().setLegacyInt(WORSE_NETWORK_SCORE) in testSetLingerDuration() 1194 agent1.sendNetworkScore(NetworkScore.Builder().setExiting(true).build()) in testRegisterBestMatchingNetworkCallback() 1208 agent1.sendNetworkScore(NetworkScore.Builder() in testRegisterBestMatchingNetworkCallback() 1571 agent4.sendNetworkScore(NetworkScore.Builder().setTransportPrimary(true).build()) in testUnregisterAfterReplacement()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiScoreReportTest.java | 297 verify(mNetworkAgent, mode).sendNetworkScore(argThat( in verifySentNetworkScore() 309 verify(mNetworkAgent, mode).sendNetworkScore(score); in verifySentNetworkScore() 319 verify(mNetworkAgent, mode).sendNetworkScore(any(NetworkScore.class)); in verifySentAnyNetworkScore() 321 verify(mNetworkAgent, mode).sendNetworkScore(anyInt()); in verifySentAnyNetworkScore() 367 verify(mNetworkAgent).sendNetworkScore(networkScoreCaptor.capture()); in mbbNetworkForceKeepUp() 380 verify(mNetworkAgent, times(2)).sendNetworkScore(networkScoreCaptor.capture()); in mbbNetworkForceKeepUp() 402 verify(mNetworkAgent).sendNetworkScore(networkScoreCaptor.capture()); in calculateAndReportScoreWhileLingering_sendLingeringScore() 416 verify(mNetworkAgent, times(3)).sendNetworkScore(networkScoreCaptor.capture()); in calculateAndReportScoreWhileLingering_sendLingeringScore() 428 verify(mNetworkAgent, times(3)).sendNetworkScore(any()); in calculateAndReportScoreWhileLingering_sendLingeringScore() 438 verify(mNetworkAgent, times(6)).sendNetworkScore(networkScoreCaptor.capture()); in calculateAndReportScoreWhileLingering_sendLingeringScore() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiScoreReport.java | 285 mNetworkAgent.sendNetworkScore( in notifyStatusUpdate() 294 mNetworkAgent.sendNetworkScore(mIsUsable ? ConnectedScore.WIFI_TRANSITION_SCORE + 1 in notifyStatusUpdate() 363 sendNetworkScore(); in setShouldReduceNetworkScore() 422 sendNetworkScore(); in reportNetworkScoreToConnectivityServiceIfNecessary() 1130 sendNetworkScore(); in setNetworkAgent() 1192 private void sendNetworkScore() { 1198 mNetworkAgent.sendNetworkScore(getScore()); 1200 mNetworkAgent.sendNetworkScore(getLegacyIntScore()); 1209 sendNetworkScore();
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkProviderTest.kt | 179 agent.sendNetworkScore(updatedScore) in <lambda>() 328 agent.sendNetworkScore(scoreStronger) in <lambda>()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkAgent.java | 1164 public void sendNetworkScore(@NonNull NetworkScore score) { in sendNetworkScore() method in NetworkAgent 1175 public void sendNetworkScore(@IntRange(from = 0, to = 99) int score) { in sendNetworkScore() method in NetworkAgent 1176 sendNetworkScore(new NetworkScore.Builder().setLegacyInt(score).build()); in sendNetworkScore()
|
/packages/modules/Connectivity/tests/integration/util/com/android/server/ |
D | NetworkAgentWrapper.java | 284 mNetworkAgent.sendNetworkScore(score); in setScore() 296 mNetworkAgent.sendNetworkScore(mScore); in adjustScore()
|
/packages/modules/Connectivity/framework/api/ |
D | system-current.txt | 256 method public void sendNetworkScore(@NonNull android.net.NetworkScore); 257 method public void sendNetworkScore(@IntRange(from=0, to=99) int);
|
/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 564 Landroid/net/NetworkAgent;->sendNetworkScore(I)V
|