Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java771 public static String blockedReasonsToString(int blockedReasons) {
772 return DebugUtils.flagsToString(ConnectivityManager.class, "BLOCKED_", blockedReasons);
841 default void onUidBlockedReasonChanged(int uid, int blockedReasons) {}
864 @NonNull NetworkPolicyCallback callback, int uid, int blockedReasons) {
866 callback.onUidBlockedReasonChanged(uid, blockedReasons);
870 callback, uid, blockedReasons).recycleOnUse());
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java4069 uidBlockedState.blockedReasons |= BLOCKED_REASON_RESTRICTED_MODE;
4071 uidBlockedState.blockedReasons &= ~BLOCKED_REASON_RESTRICTED_MODE;
4718 uidBlockedState.blockedReasons & BLOCKED_METERED_REASON_MASK)
4788 uidBlockedState.blockedReasons = (uidBlockedState.blockedReasons
4894 newBlockedReasons |= (uidBlockedState.blockedReasons & BLOCKED_REASON_RESTRICTED_MODE);
4935 uidBlockedState.blockedReasons = (uidBlockedState.blockedReasons
5950 public int blockedReasons;
5955 blockedReasons = BLOCKED_REASON_NONE;
5961 if (LOGV && blockedReasons == BLOCKED_REASON_NONE) {
5964 effectiveBlockedReasons = getEffectiveBlockedReasons(blockedReasons, allowedReasons);
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DConnectivityController.java1142 public void onBlockedStatusChanged(Network network, int blockedReasons) { in onBlockedStatusChanged() argument
1145 + network + " -> " + blockedReasons); in onBlockedStatusChanged()
1152 mBlockedReasons = blockedReasons; in onBlockedStatusChanged()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1968 final int blockedReasons = effectiveBlockedReasons.valueAt(i).first; in testUpdateEffectiveBlockedReasons() local
1972 + "; blockedReasons=" + blockedReasonsToString(blockedReasons) in testUpdateEffectiveBlockedReasons()
1975 getEffectiveBlockedReasons(blockedReasons, allowedReasons)); in testUpdateEffectiveBlockedReasons()