Searched refs:isBackgroundRestrictionEnabled (Results 1 – 2 of 2) sorted by relevance
307 assertThat(mBatteryUtils.isBackgroundRestrictionEnabled(SDK_VERSION, UID, in testBackgroundRestrictionOn_restrictionOn_returnTrue()316 assertThat(mBatteryUtils.isBackgroundRestrictionEnabled(SDK_VERSION, UID, PACKAGE_NAME)) in testBackgroundRestrictionOn_restrictionOff_returnFalse()
280 public boolean isBackgroundRestrictionEnabled(final int targetSdkVersion, final int uid, in isBackgroundRestrictionEnabled() method in BatteryUtils