Searched refs:shouldHideSipper (Results 1 – 9 of 9) sorted by relevance
308 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_TypeUnAccounted_ReturnTrue()314 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_TypeOverAccounted_ReturnTrue()320 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_TypeIdle_ReturnTrue()326 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_TypeCell_ReturnTrue()332 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_TypeScreen_ReturnTrue()338 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_TypeWifi_ReturnTrue()344 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_TypeBluetooth_ReturnTrue()352 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_TypeSystem_ReturnTrue()359 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isFalse(); in testShouldHideSipper_UidNormal_ReturnFalse()368 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_TypeService_ReturnTrue()[all …]
167 doReturn(true).when(mBatteryUtils).shouldHideSipper(mNormalBatterySipper); in testSetUsageSummary_timeMoreThanOneMinute_hiddenApp_setUsedSummary()190 assertThat(mPreferenceController.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_typeOvercounted_returnTrue()197 assertThat(mPreferenceController.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_typeUnaccounted_returnTrue()204 assertThat(mPreferenceController.shouldHideSipper(mNormalBatterySipper)).isFalse(); in testShouldHideSipper_typeNormal_returnFalse()211 assertThat(mPreferenceController.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_hiddenSystemModule_returnTrue()
99 when(mBatteryUtils.shouldHideSipper(mSystemBatterySipper)).thenReturn(true); in setUp()100 when(mBatteryUtils.shouldHideSipper(mHighBatterySipper)).thenReturn(false); in setUp()101 when(mBatteryUtils.shouldHideSipper(mLowBatterySipper)).thenReturn(false); in setUp()
207 if (shouldHideSipper(sipper)) { in refreshAppListGroup()346 (sipper.drainType != DrainType.APP || mBatteryUtils.shouldHideSipper(sipper)) in setUsageSummary()354 boolean shouldHideSipper(BatterySipper sipper) { in shouldHideSipper() method in BatteryAppListPreferenceController
186 if (shouldHideSipper(sipper)) { in removeHiddenBatterySippers()247 public boolean shouldHideSipper(BatterySipper sipper) { in shouldHideSipper() method in BatteryUtils
181 if (shouldHideSipper(sipper)) { in removeHiddenBatterySippers()240 public boolean shouldHideSipper(BatterySipper sipper) { in shouldHideSipper() method in BatteryUtils
78 if (!mBatteryUtils.shouldHideSipper(batterySipper)) { in detect()
88 if ((percent + 0.5f < 1f) || mBatteryUtils.shouldHideSipper(batterySipper)) { in detect()