Home
last modified time | relevance | path

Searched refs:restrictBackground (Results 1 – 7 of 7) sorted by relevance

/aosp12/frameworks/base/core/java/android/net/
H A DINetworkPolicyListener.aidl24 void onRestrictBackgroundChanged(boolean restrictBackground); in onRestrictBackgroundChanged() argument
H A DINetworkPolicyManager.aidl55 void setRestrictBackground(boolean restrictBackground); in setRestrictBackground() argument
H A DNetworkPolicyManager.java435 public void setRestrictBackground(boolean restrictBackground) { in setRestrictBackground() argument
437 mService.setRestrictBackground(restrictBackground); in setRestrictBackground()
923 @Override public void onRestrictBackgroundChanged(boolean restrictBackground) { }
/aosp12/packages/apps/Settings/src/com/android/settings/datausage/
H A DAppDataUsage.java279 private void updatePrefs(boolean restrictBackground, boolean unrestrictData) { in updatePrefs() argument
283 mRestrictBackground.setChecked(!restrictBackground); in updatePrefs()
287 if (restrictBackground) { in updatePrefs()
/aosp12/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyManagerService.java3109 public void setRestrictBackground(boolean restrictBackground) {
3117 setRestrictBackgroundUL(restrictBackground, "uid:" + callingUid);
3128 private void setRestrictBackgroundUL(boolean restrictBackground, String reason) {
3131 if (restrictBackground == mRestrictBackground) {
3138 mRestrictBackground = restrictBackground;
4992 boolean restrictBackground) {
4994 listener.onRestrictBackgroundChanged(restrictBackground);
5089 final boolean restrictBackground = msg.arg1 != 0;
5578 boolean restrictBackground = mRestrictBackgroundLowPowerMode;
5592 restrictBackground = mRestrictBackgroundBeforeBsm;
[all …]
/aosp12/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadThread.java873 public void onRestrictBackgroundChanged(boolean restrictBackground) {
/aosp12/packages/modules/Connectivity/services/core/java/com/android/server/
H A DConnectivityService.java1990 public void onRestrictBackgroundChanged(boolean restrictBackground) {
1993 log("onRestrictBackgroundChanged(restrictBackground=" + restrictBackground + ")");