Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerShellCommand.java116 return getRestrictBackground(); in runGet()
237 private int getRestrictBackground() throws RemoteException { in getRestrictBackground() method in NetworkPolicyManagerShellCommand
240 pw.println(mInterface.getRestrictBackground() ? "enabled" : "disabled"); in getRestrictBackground()
DNetworkPolicyManagerService.java2946 public boolean getRestrictBackground() { in getRestrictBackground() method
/frameworks/base/core/java/android/net/
DINetworkPolicyManager.aidl58 boolean getRestrictBackground(); in getRestrictBackground() method
DNetworkPolicyManager.java242 public boolean getRestrictBackground() { in getRestrictBackground() method in NetworkPolicyManager
244 return mService.getRestrictBackground(); in getRestrictBackground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDataSaverControllerImpl.java64 return mPolicyManager.getRestrictBackground(); in isDataSaverEnabled()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java554 assertTrue(mService.getRestrictBackground()); in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm()
563 assertTrue(mService.getRestrictBackground()); in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm()
578 assertTrue(mService.getRestrictBackground()); in updateRestrictBackgroundByLowPowerMode_RestrictOffBeforeBsm_RestrictOffAfterBsm()
587 assertFalse(mService.getRestrictBackground()); in updateRestrictBackgroundByLowPowerMode_RestrictOffBeforeBsm_RestrictOffAfterBsm()
601 assertTrue(mService.getRestrictBackground()); in updateRestrictBackgroundByLowPowerMode_StatusChangedInBsm_DoNotRestore()
610 assertFalse(mService.getRestrictBackground()); in updateRestrictBackgroundByLowPowerMode_StatusChangedInBsm_DoNotRestore()
1918 assertTrue("restrictBackground should be set", mService.getRestrictBackground()); in assertRestrictBackgroundOn()
1922 assertFalse("restrictBackground should not be set", mService.getRestrictBackground()); in assertRestrictBackgroundOff()
1985 assertEquals("restrictBackground not set", flag, mService.getRestrictBackground()); in setRestrictBackground()
/frameworks/base/services/
Dart-profile8889 HSPLcom/android/server/net/NetworkPolicyManagerService;->getRestrictBackground()Z