Home
last modified time | relevance | path

Searched refs:POLICY_EXITING (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DNetworkScore.java91 public static final int POLICY_EXITING = 3; field in NetworkScore
96 public static final int MAX_AGENT_MANAGED_POLICY = POLICY_EXITING;
193 return hasPolicy(POLICY_EXITING); in isExiting()
315 mPolicies |= (1L << POLICY_EXITING); in setExiting()
317 mPolicies &= ~(1L << POLICY_EXITING); in setExiting()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkRanker.java24 import static android.net.NetworkScore.POLICY_EXITING;
282 partitionInto(candidates, nai -> !nai.getScore().hasPolicy(POLICY_EXITING), in getBestNetworkByPolicy()
/packages/modules/Connectivity/tests/unit/java/com/android/metrics/
DConnectivitySampleMetricsTest.kt22 import android.net.NetworkScore.POLICY_EXITING in <lambda>()
181 val expectedWifi1Policies = flags(POLICY_EXITING, POLICY_IS_UNMETERED) in testSampleConnectivityState_Network()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetworkRankerTest.kt24 import android.net.NetworkScore.POLICY_EXITING as EXITING in <lambda>()