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.java433 @GuardedBy("mUidRulesFirstLock") volatile boolean mRestrictBackground; field in NetworkPolicyManagerService
2209 final boolean oldValue = mRestrictBackground; in readPolicyAL()
2459 writeBooleanAttribute(out, ATTR_RESTRICT_BACKGROUND, mRestrictBackground); in writePolicyAL()
2629 final boolean wasBlocked = wasBlacklisted || (mRestrictBackground && !wasWhitelisted); in setUidPolicyUncheckedUL()
2630 final boolean isBlocked = isBlacklisted || (mRestrictBackground && !isWhitelisted); in setUidPolicyUncheckedUL()
2908 if (restrictBackground == mRestrictBackground) { in setRestrictBackgroundUL()
2914 final boolean oldRestrictBackground = mRestrictBackground; in setRestrictBackgroundUL()
2915 mRestrictBackground = restrictBackground; in setRestrictBackgroundUL()
2921 if (!mNetworkManager.setDataSaverModeEnabled(mRestrictBackground)) { in setRestrictBackgroundUL()
2923 "Could not change Data Saver Mode on NMS to " + mRestrictBackground); in setRestrictBackgroundUL()
[all …]
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java326 private boolean mRestrictBackground; field in ConnectivityService
2014 if (mRestrictBackground == restrictBackground) return; in handleRestrictBackgroundChanged()
2018 maybeNotifyNetworkBlocked(nai, curMetered, curMetered, mRestrictBackground, in handleRestrictBackgroundChanged()
2022 mRestrictBackground = restrictBackground; in handleRestrictBackgroundChanged()
2552 pw.println(mRestrictBackground); in doDump()
6379 maybeNotifyNetworkBlocked(nai, oldMetered, newMetered, mRestrictBackground, in updateCapabilities()
6380 mRestrictBackground); in updateCapabilities()
7270 metered, mRestrictBackground); in notifyNetworkAvailable()
7328 uid, mUidRules.get(uid), metered, mRestrictBackground); in maybeNotifyNetworkBlockedForNewUidRules()
7330 uid, newRules, metered, mRestrictBackground); in maybeNotifyNetworkBlockedForNewUidRules()