Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DINetworkPolicyListener.aidl24 void onRestrictBackgroundChanged(boolean restrictBackground); in onRestrictBackgroundChanged() argument
DNetworkPolicyManager.java343 public void setRestrictBackground(boolean restrictBackground) { in setRestrictBackground() argument
345 mService.setRestrictBackground(restrictBackground); in setRestrictBackground()
600 @Override public void onRestrictBackgroundChanged(boolean restrictBackground) { }
DINetworkPolicyManager.aidl56 void setRestrictBackground(boolean restrictBackground); in setRestrictBackground() argument
/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/net/
DNetworkPolicyManagerService.java2877 public void setRestrictBackground(boolean restrictBackground) { in setRestrictBackground() argument
2884 setRestrictBackgroundUL(restrictBackground); in setRestrictBackground()
2895 private void setRestrictBackgroundUL(boolean restrictBackground) { in setRestrictBackgroundUL() argument
2898 if (restrictBackground == mRestrictBackground) { in setRestrictBackgroundUL()
2900 Slog.w(TAG, "setRestrictBackgroundUL: already " + restrictBackground); in setRestrictBackgroundUL()
2903 Slog.d(TAG, "setRestrictBackgroundUL(): " + restrictBackground); in setRestrictBackgroundUL()
2905 mRestrictBackground = restrictBackground; in setRestrictBackgroundUL()
4511 boolean restrictBackground) { in dispatchRestrictBackgroundChanged() argument
4514 listener.onRestrictBackgroundChanged(restrictBackground); in dispatchRestrictBackgroundChanged()
4608 final boolean restrictBackground = msg.arg1 != 0;
[all …]
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1990 public void onRestrictBackgroundChanged(boolean restrictBackground) {
1993 log("onRestrictBackgroundChanged(restrictBackground=" + restrictBackground + ")");
1996 EVENT_DATA_SAVER_CHANGED, restrictBackground ? 1 : 0, 0));
2014 void handleRestrictBackgroundChanged(boolean restrictBackground) { in handleRestrictBackgroundChanged() argument
2015 if (mRestrictBackground == restrictBackground) return; in handleRestrictBackgroundChanged()
2020 restrictBackground); in handleRestrictBackgroundChanged()
2023 mRestrictBackground = restrictBackground; in handleRestrictBackgroundChanged()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1152 private void setRestrictBackgroundChanged(boolean restrictBackground) throws RemoteException { in setRestrictBackgroundChanged() argument
1153 mPolicyListener.onRestrictBackgroundChanged(restrictBackground); in setRestrictBackgroundChanged()