Home
last modified time | relevance | path

Searched refs:policyNameOf (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DFullScore.java127 public static @NonNull String policyNameOf(final int policy) { in policyNameOf() method in FullScore
360 return describeDifferences(oldPolicies, mPolicies, FullScore::policyNameOf); in describeDifferencesFrom()
373 if (hasPolicy(i)) sj.add(policyNameOf(i)); in toString()
376 if (hasPolicy(i)) sj.add(policyNameOf(i)); in toString()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DFullScoreTest.kt102 val name = FullScore.policyNameOf(it.get() as Int) in <lambda>()
107 assertEquals("IS_UNMETERED", FullScore.policyNameOf(POLICY_IS_UNMETERED)) in <lambda>()
109 assertEquals(Integer.toString(invalidPolicy), FullScore.policyNameOf(invalidPolicy)) in <lambda>()
/packages/modules/Connectivity/tests/unit/java/com/android/metrics/
DConnectivitySampleMetricsTest.kt68 { FullScore.policyNameOf(it) }, "|") }.toString() in Number()