Searched refs:legacyInt (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | FullScoreTest.kt | 66 assertEquals(10, ns.legacyInt) // -40 penalty for not being validated in <lambda>() 70 assertEquals(101, vpnNs.legacyInt) // VPNs are not subject to unvalidation penalty in <lambda>() 72 assertEquals(101, vpnNs.withPolicies(validated = true).legacyInt) in <lambda>() 76 assertEquals(50, validatedNs.legacyInt) // No penalty, this is validated in <lambda>() 80 assertEquals(10, chosenNs.legacyInt) in <lambda>() 82 assertEquals(10, chosenNs.withPolicies(acceptUnvalidated = true).legacyInt) in <lambda>()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | FullScore.java | 137 FullScore(final int legacyInt, final long policies, in FullScore() argument 139 mLegacyInt = legacyInt; in FullScore() 238 private static FullScore withPolicies(@NonNull final int legacyInt, in withPolicies() argument 249 return new FullScore(legacyInt, (externalPolicies & EXTERNAL_POLICIES_MASK) in withPolicies()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkScore.java | 90 NetworkScore(final int legacyInt, final long policies, in NetworkScore() argument 92 mLegacyInt = legacyInt; in NetworkScore()
|