Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DINetworkPolicyListener.aidl24 void onRestrictBackgroundChanged(boolean restrictBackground); in onRestrictBackgroundChanged() argument
DINetworkPolicyManager.aidl55 void setRestrictBackground(boolean restrictBackground); in setRestrictBackground() argument
DNetworkPolicyManager.java214 public void setRestrictBackground(boolean restrictBackground) { in setRestrictBackground() argument
216 mService.setRestrictBackground(restrictBackground); in setRestrictBackground()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java1969 public void setRestrictBackground(boolean restrictBackground) { in setRestrictBackground() argument
1975 if (restrictBackground == mRestrictBackground) { in setRestrictBackground()
1977 Slog.w(TAG, "setRestrictBackground: already " + restrictBackground); in setRestrictBackground()
1980 setRestrictBackgroundLocked(restrictBackground); in setRestrictBackground()
1987 mHandler.obtainMessage(MSG_RESTRICT_BACKGROUND_CHANGED, restrictBackground ? 1 : 0, 0) in setRestrictBackground()
1991 private void setRestrictBackgroundLocked(boolean restrictBackground) { in setRestrictBackgroundLocked() argument
1992 Slog.d(TAG, "setRestrictBackgroundLocked(): " + restrictBackground); in setRestrictBackgroundLocked()
1994 mRestrictBackground = restrictBackground; in setRestrictBackgroundLocked()
3087 boolean restrictBackground) { in dispatchRestrictBackgroundChanged() argument
3090 listener.onRestrictBackgroundChanged(restrictBackground); in dispatchRestrictBackgroundChanged()
[all …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DConnectivityController.java173 public void onRestrictBackgroundChanged(boolean restrictBackground) {
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1440 public void onRestrictBackgroundChanged(boolean restrictBackground) {
1443 log("onRestrictBackgroundChanged(restrictBackground=" + restrictBackground + ")");
1447 mRestrictBackground = restrictBackground;
1450 if (restrictBackground) {