Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java424 @GuardedBy("mUidRulesFirstLock") volatile boolean mRestrictBackground; field in NetworkPolicyManagerService
2183 final boolean oldValue = mRestrictBackground; in readPolicyAL()
2433 writeBooleanAttribute(out, ATTR_RESTRICT_BACKGROUND, mRestrictBackground); in writePolicyAL()
2603 final boolean wasBlocked = wasBlacklisted || (mRestrictBackground && !wasWhitelisted); in setUidPolicyUncheckedUL()
2604 final boolean isBlocked = isBlacklisted || (mRestrictBackground && !isWhitelisted); in setUidPolicyUncheckedUL()
2843 if (mRestrictBackground && tethering) { in onTetheringChanged()
2872 if (restrictBackground == mRestrictBackground) { in setRestrictBackgroundUL()
2878 final boolean oldRestrictBackground = mRestrictBackground; in setRestrictBackgroundUL()
2879 mRestrictBackground = restrictBackground; in setRestrictBackgroundUL()
2885 if (!mNetworkManager.setDataSaverModeEnabled(mRestrictBackground)) { in setRestrictBackgroundUL()
[all …]
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java306 private boolean mRestrictBackground; field in ConnectivityService
1858 if (mRestrictBackground == restrictBackground) return; in handleRestrictBackgroundChanged()
1862 maybeNotifyNetworkBlocked(nai, curMetered, curMetered, mRestrictBackground, in handleRestrictBackgroundChanged()
1866 mRestrictBackground = restrictBackground; in handleRestrictBackgroundChanged()
2368 pw.println(mRestrictBackground); in doDump()
5848 maybeNotifyNetworkBlocked(nai, oldMetered, newMetered, mRestrictBackground, in updateCapabilities()
5849 mRestrictBackground); in updateCapabilities()
6634 metered, mRestrictBackground); in notifyNetworkAvailable()
6686 uid, mUidRules.get(uid), metered, mRestrictBackground); in maybeNotifyNetworkBlockedForNewUidRules()
6688 uid, newRules, metered, mRestrictBackground); in maybeNotifyNetworkBlockedForNewUidRules()