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.java289 volatile boolean mRestrictBackground; field in NetworkPolicyManagerService
1420 final boolean oldValue = mRestrictBackground; in readPolicyLocked()
1423 mRestrictBackground = readBooleanAttribute( in readPolicyLocked()
1426 mRestrictBackground = false; in readPolicyLocked()
1428 if (mRestrictBackground != oldValue) { in readPolicyLocked()
1432 mRestrictBackground ? 1 : 0, 0).sendToTarget(); in readPolicyLocked()
1551 mRestrictBackground = Settings.Secure.getInt( in upgradeLegacyBackgroundData()
1555 if (mRestrictBackground) { in upgradeLegacyBackgroundData()
1575 writeBooleanAttribute(out, ATTR_RESTRICT_BACKGROUND, mRestrictBackground); in writePolicyLocked()
1961 if (mRestrictBackground && tethering) { in onTetheringChanged()
[all …]
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java219 private boolean mRestrictBackground; field in ConnectivityService
678 mRestrictBackground = mPolicyManager.getRestrictBackground(); in ConnectivityService()
948 allowed = !mRestrictBackground in isNetworkWithLinkPropertiesBlocked()
952 + " mRestrictBackground=" + mRestrictBackground in isNetworkWithLinkPropertiesBlocked()
1447 mRestrictBackground = restrictBackground;
1902 pw.println(mRestrictBackground); in dump()
4048 if (mRestrictBackground && (uidRules & RULE_ALLOW_METERED) == 0 in enforceMeteredApnPolicy()