Searched refs:isBatterySaverSupported (Results 1 – 5 of 5) sorted by relevance
21 import static com.android.cts.net.hostside.NetworkPolicyTestUtils.isBatterySaverSupported;28 public boolean isSupported() { return isBatterySaverSupported(); } in isSupported()
70 public static boolean isBatterySaverSupported() { in isBatterySaverSupported() method in NetworkPolicyTestUtils72 mBatterySaverSupported = BatteryUtils.isBatterySaverSupported(); in isBatterySaverSupported()
130 public static boolean isBatterySaverSupported() { in isBatterySaverSupported() method in BatteryUtils137 Assume.assumeTrue("Device doesn't support battery saver", isBatterySaverSupported()); in assumeBatterySaverFeature()
133 public static boolean isBatterySaverSupported() { in isBatterySaverSupported() method in BatteryUtils148 Assume.assumeTrue("Device doesn't support battery saver", isBatterySaverSupported()); in assumeBatterySaverFeature()
110 if (mUiModeManager.isNightModeLocked() || !BatteryUtils.isBatterySaverSupported()) { in testNightModeInCarModeOnPowerSaveIsTransient()