Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DINetworkPolicyListener.aidl23 void onRestrictBackgroundChanged(boolean restrictBackground); in onRestrictBackgroundChanged() argument
DNetworkPolicyManager.java233 public void setRestrictBackground(boolean restrictBackground) { in setRestrictBackground() argument
235 mService.setRestrictBackground(restrictBackground); in setRestrictBackground()
381 @Override public void onRestrictBackgroundChanged(boolean restrictBackground) { }
DINetworkPolicyManager.aidl56 void setRestrictBackground(boolean restrictBackground); in setRestrictBackground() argument
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java2851 public void setRestrictBackground(boolean restrictBackground) { in setRestrictBackground() argument
2858 setRestrictBackgroundUL(restrictBackground); in setRestrictBackground()
2869 private void setRestrictBackgroundUL(boolean restrictBackground) { in setRestrictBackgroundUL() argument
2872 if (restrictBackground == mRestrictBackground) { in setRestrictBackgroundUL()
2874 Slog.w(TAG, "setRestrictBackgroundUL: already " + restrictBackground); in setRestrictBackgroundUL()
2877 Slog.d(TAG, "setRestrictBackgroundUL(): " + restrictBackground); in setRestrictBackgroundUL()
2879 mRestrictBackground = restrictBackground; in setRestrictBackgroundUL()
4418 boolean restrictBackground) { in dispatchRestrictBackgroundChanged() argument
4421 listener.onRestrictBackgroundChanged(restrictBackground); in dispatchRestrictBackgroundChanged()
4488 final boolean restrictBackground = msg.arg1 != 0;
[all …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DConnectivityController.java557 public void onRestrictBackgroundChanged(boolean restrictBackground) {
559 Slog.v(TAG, "onRestrictBackgroundChanged: " + restrictBackground);
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1827 public void onRestrictBackgroundChanged(boolean restrictBackground) {
1830 log("onRestrictBackgroundChanged(restrictBackground=" + restrictBackground + ")");
1833 EVENT_DATA_SAVER_CHANGED, restrictBackground ? 1 : 0, 0));
1836 if (restrictBackground) {
1857 void handleRestrictBackgroundChanged(boolean restrictBackground) { in handleRestrictBackgroundChanged() argument
1858 if (mRestrictBackground == restrictBackground) return; in handleRestrictBackgroundChanged()
1863 restrictBackground); in handleRestrictBackgroundChanged()
1866 mRestrictBackground = restrictBackground; in handleRestrictBackgroundChanged()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1252 public void setRestrictBackgroundChanged(boolean restrictBackground) { in setRestrictBackgroundChanged() argument
1254 mPolicyListener.onRestrictBackgroundChanged(restrictBackground); in setRestrictBackgroundChanged()