Home
last modified time | relevance | path

Searched refs:mPolicies (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DNetworkScore.java85 private final long mPolicies; field in NetworkScore
93 mPolicies = policies; in NetworkScore()
99 mPolicies = in.readLong(); in NetworkScore()
125 return 0 != (mPolicies & (1L << policy)); in hasPolicy()
133 return mPolicies; in getPolicies()
184 return "Score(" + mLegacyInt + " ; Policies : " + mPolicies + ")"; in toString()
190 dest.writeLong(mPolicies); in writeToParcel()
221 private int mPolicies = 0; field in NetworkScore.Builder
255 mPolicies |= (1L << POLICY_YIELD_TO_BAD_WIFI); in setShouldYieldToBadWifi()
257 mPolicies &= ~(1L << POLICY_YIELD_TO_BAD_WIFI); in setShouldYieldToBadWifi()
[all …]
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DFullScore.java133 private final long mPolicies; field in FullScore
140 mPolicies = policies; in FullScore()
224 return withPolicies(mLegacyInt, mPolicies, mKeepConnectedReason, in mixInScore()
265 return new FullScore(mLegacyInt, mPolicies | (1L << POLICY_IS_VALIDATED), in asValidated()
315 return 0 != (mPolicies & (1L << policy)); in hasPolicy()