Home
last modified time | relevance | path

Searched refs:getRestrictBackground (Results 1 – 9 of 9) 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.java2972 public boolean getRestrictBackground() { in getRestrictBackground() method
/frameworks/base/core/java/android/net/
DINetworkPolicyManager.aidl58 boolean getRestrictBackground(); in getRestrictBackground() method
DNetworkPolicyManager.java353 public boolean getRestrictBackground() { in getRestrictBackground() method in NetworkPolicyManager
355 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.java555 assertTrue(mService.getRestrictBackground()); in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm()
564 assertTrue(mService.getRestrictBackground()); in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm()
579 assertTrue(mService.getRestrictBackground()); in updateRestrictBackgroundByLowPowerMode_RestrictOffBeforeBsm_RestrictOffAfterBsm()
588 assertFalse(mService.getRestrictBackground()); in updateRestrictBackgroundByLowPowerMode_RestrictOffBeforeBsm_RestrictOffAfterBsm()
602 assertTrue(mService.getRestrictBackground()); in updateRestrictBackgroundByLowPowerMode_StatusChangedInBsm_DoNotRestore()
611 assertFalse(mService.getRestrictBackground()); in updateRestrictBackgroundByLowPowerMode_StatusChangedInBsm_DoNotRestore()
1979 assertTrue("restrictBackground should be set", mService.getRestrictBackground()); in assertRestrictBackgroundOn()
1983 assertFalse("restrictBackground should not be set", mService.getRestrictBackground()); in assertRestrictBackgroundOff()
2063 assertEquals("restrictBackground not set", flag, mService.getRestrictBackground()); in setRestrictBackground()
/frameworks/base/config/
Dboot-image-profile.txt10029 HSPLandroid/net/INetworkPolicyManager$Stub$Proxy;->getRestrictBackground()Z
10380 HSPLandroid/net/NetworkPolicyManager;->getRestrictBackground()Z
Dhiddenapi-greylist-max-o.txt43358 Landroid/net/INetworkPolicyManager$Stub$Proxy;->getRestrictBackground()Z
/frameworks/base/services/
Dart-profile8889 HSPLcom/android/server/net/NetworkPolicyManagerService;->getRestrictBackground()Z