Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerShellCommand.java112 return getRestrictBackground(); in runGet()
217 private int getRestrictBackground() throws RemoteException { in getRestrictBackground() method in NetworkPolicyManagerShellCommand
220 pw.println(mInterface.getRestrictBackground() ? "enabled" : "disabled"); in getRestrictBackground()
DNetworkPolicyManagerService.java2872 public boolean getRestrictBackground() { in getRestrictBackground() method
/frameworks/base/core/java/android/net/
DINetworkPolicyManager.aidl52 boolean getRestrictBackground(); in getRestrictBackground() method
DNetworkPolicyManager.java240 public boolean getRestrictBackground() { in getRestrictBackground() method in NetworkPolicyManager
242 return mService.getRestrictBackground(); in getRestrictBackground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDataSaverControllerImpl.java66 return mPolicyManager.getRestrictBackground(); in isDataSaverEnabled()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java549 assertTrue(mService.getRestrictBackground()); in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm()
558 assertTrue(mService.getRestrictBackground()); in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm()
573 assertTrue(mService.getRestrictBackground()); in updateRestrictBackgroundByLowPowerMode_RestrictOffBeforeBsm_RestrictOffAfterBsm()
582 assertFalse(mService.getRestrictBackground()); in updateRestrictBackgroundByLowPowerMode_RestrictOffBeforeBsm_RestrictOffAfterBsm()
596 assertTrue(mService.getRestrictBackground()); in updateRestrictBackgroundByLowPowerMode_StatusChangedInBsm_DoNotRestore()
605 assertFalse(mService.getRestrictBackground()); in updateRestrictBackgroundByLowPowerMode_StatusChangedInBsm_DoNotRestore()
1806 assertTrue("restrictBackground should be set", mService.getRestrictBackground()); in assertRestrictBackgroundOn()
1810 assertFalse("restrictBackground should not be set", mService.getRestrictBackground()); in assertRestrictBackgroundOff()
1872 assertEquals("restrictBackground not set", flag, mService.getRestrictBackground()); in setRestrictBackground()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt3390 Landroid/net/INetworkPolicyManager;->getRestrictBackground()Z
3482 Landroid/net/NetworkPolicyManager;->getRestrictBackground()Z
Dboot-image-profile.txt25908 HSPLandroid/net/INetworkPolicyManager$Stub$Proxy;->getRestrictBackground()Z
25918 HSPLandroid/net/INetworkPolicyManager;->getRestrictBackground()Z
26199 HSPLandroid/net/NetworkPolicyManager;->getRestrictBackground()Z