Home
last modified time | relevance | path

Searched refs:setLegacyInt (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Connectivity/tests/integration/util/com/android/server/
DNetworkAgentWrapper.java134 mScore = new NetworkScore.Builder().setLegacyInt(100).build(); in NetworkAgentWrapper()
137 mScore = new NetworkScore.Builder().setLegacyInt(70).build(); in NetworkAgentWrapper()
140 mScore = new NetworkScore.Builder().setLegacyInt(60).build(); in NetworkAgentWrapper()
143 mScore = new NetworkScore.Builder().setLegacyInt(50).build(); in NetworkAgentWrapper()
146 mScore = new NetworkScore.Builder().setLegacyInt(20).build(); in NetworkAgentWrapper()
156 mScore = new NetworkScore.Builder().setLegacyInt(101).build(); in NetworkAgentWrapper()
291 .setLegacyInt(newLegacyScore); in adjustScore()
/packages/modules/Connectivity/staticlibs/device/android/net/
DNetworkFactoryImpl.java57 new NetworkScore.Builder().setLegacyInt(1000).build();
112 @NonNull private NetworkScore mScore = new NetworkScore.Builder().setLegacyInt(0).build();
285 setScoreFilter(new NetworkScore.Builder().setLegacyInt(score).build()); in setScoreFilter()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkScore.java248 public Builder setLegacyInt(final int score) { in setLegacyInt() method in NetworkScore.Builder
DNetworkAgent.java509 new NetworkScore.Builder().setLegacyInt(score).build(), config, provider); in NetworkAgent()
1176 sendNetworkScore(new NetworkScore.Builder().setLegacyInt(score).build()); in sendNetworkScore()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DFullScoreTest.kt148 val ns4 = NetworkScore.Builder().setLegacyInt(50).build() in <lambda>()
DLingerMonitorTest.java376 new NetworkScore.Builder().setLegacyInt(50).build(), mCtx, null, in nai()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java287 .setLegacyInt(mLegacyIntScore) in notifyStatusUpdate()
1154 .setLegacyInt(mShouldReduceNetworkScore ? LINGERING_SCORE : mLegacyIntScore) in getScoreBuilder()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkAgentTest.kt881 agent1.sendNetworkScore(NetworkScore.Builder().setLegacyInt(BETTER_NETWORK_SCORE) in testSendScore()
892 .setLegacyInt(WORSE_NETWORK_SCORE) in testSendScore()
1110 agentWeaker.sendNetworkScore(NetworkScore.Builder().setLegacyInt(WORSE_NETWORK_SCORE) in testSetLingerDuration()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java4305 testAgent.setScore(new NetworkScore.Builder().setLegacyInt(2).setExiting(true).build());
4337 testAgent.setScore(new NetworkScore.Builder().setLegacyInt(50).build());
4384 mWiFiAgent.setScore(new NetworkScore.Builder().setLegacyInt(90).build());
4408 mWiFiAgent.setScore(new NetworkScore.Builder().setLegacyInt(110)
8075 new NetworkScore.Builder().setLegacyInt(30).setExiting(true).build());
12974 new NetworkScore.Builder().setLegacyInt(0).build(),
13692 final NetworkScore score = new NetworkScore.Builder().setLegacyInt(30).build();
13704 final NetworkScore scoreKeepup = new NetworkScore.Builder().setLegacyInt(30)
13727 mCellAgent.setScore(new NetworkScore.Builder().setLegacyInt(30).build());
15469 oemPaidAgent.setScore(new NetworkScore.Builder().setLegacyInt(20).setExiting(true).build());
[all …]
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt394 method @NonNull public android.net.NetworkScore.Builder setLegacyInt(int);
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java2018 new NetworkScore.Builder().setLegacyInt(0).build(), mContext, null,