[NS07] Add the rest of the scoring policy

Bug: 167544279
Test: FrameworksNetTests
Change-Id: I5ea44a94ac6f16486274e9091f15a84734db2341
This commit is contained in:
Chalard Jean
2021-03-19 13:49:56 +09:00
parent 61a9bf9f02
commit 7851544cb5
5 changed files with 223 additions and 38 deletions

View File

@@ -56,7 +56,7 @@ class FullScoreTest {
if (vpn) addTransportType(NetworkCapabilities.TRANSPORT_VPN)
if (validated) addCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)
}.build()
return mixInScore(nc, nac)
return mixInScore(nc, nac, false /* avoidBadWifi */)
}
@Test