Home
last modified time | relevance | path

Searched refs:isBackgroundRestrictionEnabled (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryUtilsTest.java307 assertThat(mBatteryUtils.isBackgroundRestrictionEnabled(SDK_VERSION, UID, in testBackgroundRestrictionOn_restrictionOn_returnTrue()
316 assertThat(mBatteryUtils.isBackgroundRestrictionEnabled(SDK_VERSION, UID, PACKAGE_NAME)) in testBackgroundRestrictionOn_restrictionOff_returnFalse()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryUtils.java280 public boolean isBackgroundRestrictionEnabled(final int targetSdkVersion, final int uid, in isBackgroundRestrictionEnabled() method in BatteryUtils