Searched refs:setDataSaverEnabled (Results 1 – 1 of 1) sorted by relevance
99 setDataSaverEnabled(mInitialRestrictBackground); in tearDown()166 setDataSaverEnabled(true); in testConnectivityConstraintExecutes_withWifi_DataSaverOn()212 setDataSaverEnabled(false); in testConnectivityConstraintExecutes_transitionNetworks()240 setDataSaverEnabled(false); in testConnectivityConstraintExecutes_metered()262 setDataSaverEnabled(false); in testCellularConstraintExecutedAndStopped_Foreground()273 setDataSaverEnabled(true); in testCellularConstraintExecutedAndStopped_Foreground()293 setDataSaverEnabled(false); in testCellularConstraintExecutedAndStopped()307 setDataSaverEnabled(true); in testCellularConstraintExecutedAndStopped()350 setDataSaverEnabled(true); in testMeteredConstraintFails_withMobile_DataSaverOn()486 private void setDataSaverEnabled(boolean enabled) throws Exception { in setDataSaverEnabled() method in ConnectivityConstraintTest