Searched refs:setRestrictBackground (Results 1 – 6 of 6) sorted by relevance
52 void setRestrictBackground(boolean restrictBackground); in setRestrictBackground() method
223 public void setRestrictBackground(boolean restrictBackground) { in setRestrictBackground() method in NetworkPolicyManager225 mService.setRestrictBackground(restrictBackground); in setRestrictBackground()
137 return setRestrictBackground(); in runSet()230 private int setRestrictBackground() throws RemoteException { in setRestrictBackground() method in NetworkPolicyManagerShellCommand235 mInterface.setRestrictBackground(enabled > 0); in setRestrictBackground()
941 setRestrictBackground(false);2372 setRestrictBackground(false); in onTetheringChanged()2378 public void setRestrictBackground(boolean restrictBackground) { in setRestrictBackground() method4002 setRestrictBackground(restrictBackground); in updateRestrictBackgroundByLowPowerModeUL()4037 setRestrictBackground(false); in factoryReset()
70 mPolicyManager.setRestrictBackground(enabled); in setDataSaverEnabled()
400 setRestrictBackground(true); in testTurnRestrictBackgroundOn()410 setRestrictBackground(false); in testTurnRestrictBackgroundOff()487 setRestrictBackground(true); in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm()510 setRestrictBackground(false); in updateRestrictBackgroundByLowPowerMode_RestrictOffBeforeBsm_RestrictOffAfterBsm()535 setRestrictBackground(true); in updateRestrictBackgroundByLowPowerMode_StatusChangedInBsm_DoNotRestore()546 setRestrictBackground(false); in updateRestrictBackgroundByLowPowerMode_StatusChangedInBsm_DoNotRestore()659 setRestrictBackground(true); in testBlacklistedAppIsNotNotifiedWhenRestrictBackgroundIsOn()672 setRestrictBackground(true); in testWhitelistedAppIsNotNotifiedWhenRestrictBackgroundIsOn()1660 private void setRestrictBackground(boolean flag) throws Exception { in setRestrictBackground() method in NetworkPolicyManagerServiceTest1663 mService.setRestrictBackground(flag); in setRestrictBackground()