Home
last modified time | relevance | path

Searched refs:isBatterySaverSupported (Results 1 – 5 of 5) sorted by relevance

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DProperty.java21 import static com.android.cts.net.hostside.NetworkPolicyTestUtils.isBatterySaverSupported;
28 public boolean isSupported() { return isBatterySaverSupported(); } in isSupported()
DNetworkPolicyTestUtils.java70 public static boolean isBatterySaverSupported() { in isBatterySaverSupported() method in NetworkPolicyTestUtils
72 mBatterySaverSupported = BatteryUtils.isBatterySaverSupported(); in isBatterySaverSupported()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DBatteryUtils.java130 public static boolean isBatterySaverSupported() { in isBatterySaverSupported() method in BatteryUtils
137 Assume.assumeTrue("Device doesn't support battery saver", isBatterySaverSupported()); in assumeBatterySaverFeature()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBatteryUtils.java133 public static boolean isBatterySaverSupported() { in isBatterySaverSupported() method in BatteryUtils
148 Assume.assumeTrue("Device doesn't support battery saver", isBatterySaverSupported()); in assumeBatterySaverFeature()
/cts/tests/app/src/android/app/cts/
DUiModeManagerTest.java110 if (mUiModeManager.isNightModeLocked() || !BatteryUtils.isBatterySaverSupported()) { in testNightModeInCarModeOnPowerSaveIsTransient()