Searched refs:mRestrictBackground (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 429 @GuardedBy("mUidRulesFirstLock") volatile boolean mRestrictBackground; field in NetworkPolicyManagerService 2202 final boolean oldValue = mRestrictBackground; in readPolicyAL() 2452 writeBooleanAttribute(out, ATTR_RESTRICT_BACKGROUND, mRestrictBackground); in writePolicyAL() 2622 final boolean wasBlocked = wasBlacklisted || (mRestrictBackground && !wasWhitelisted); in setUidPolicyUncheckedUL() 2623 final boolean isBlocked = isBlacklisted || (mRestrictBackground && !isWhitelisted); in setUidPolicyUncheckedUL() 2898 if (restrictBackground == mRestrictBackground) { in setRestrictBackgroundUL() 2904 final boolean oldRestrictBackground = mRestrictBackground; in setRestrictBackgroundUL() 2905 mRestrictBackground = restrictBackground; in setRestrictBackgroundUL() 2911 if (!mNetworkManager.setDataSaverModeEnabled(mRestrictBackground)) { in setRestrictBackgroundUL() 2913 "Could not change Data Saver Mode on NMS to " + mRestrictBackground); in setRestrictBackgroundUL() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 326 private boolean mRestrictBackground; field in ConnectivityService 2015 if (mRestrictBackground == restrictBackground) return; in handleRestrictBackgroundChanged() 2019 maybeNotifyNetworkBlocked(nai, curMetered, curMetered, mRestrictBackground, in handleRestrictBackgroundChanged() 2023 mRestrictBackground = restrictBackground; in handleRestrictBackgroundChanged() 2544 pw.println(mRestrictBackground); in doDump() 6364 maybeNotifyNetworkBlocked(nai, oldMetered, newMetered, mRestrictBackground, in updateCapabilities() 6365 mRestrictBackground); in updateCapabilities() 7255 metered, mRestrictBackground); in notifyNetworkAvailable() 7313 uid, mUidRules.get(uid), metered, mRestrictBackground); in maybeNotifyNetworkBlockedForNewUidRules() 7315 uid, newRules, metered, mRestrictBackground); in maybeNotifyNetworkBlockedForNewUidRules()
|