Searched refs:shouldHideSipper (Results 1 – 9 of 9) sorted by relevance
309 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_TypeUnAccounted_ReturnTrue()315 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_TypeOverAccounted_ReturnTrue()321 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_TypeIdle_ReturnTrue()327 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_TypeCell_ReturnTrue()333 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_TypeScreen_ReturnTrue()339 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_TypeWifi_ReturnTrue()345 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_TypeBluetooth_ReturnTrue()353 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_TypeSystem_ReturnTrue()360 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isFalse(); in testShouldHideSipper_UidNormal_ReturnFalse()369 assertThat(mBatteryUtils.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_TypeService_ReturnTrue()[all …]
174 doReturn(true).when(mBatteryUtils).shouldHideSipper(mNormalBatterySipper); in testSetUsageSummary_timeMoreThanOneMinute_hiddenApp_setUsedSummary()197 assertThat(mPreferenceController.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_typeOvercounted_returnTrue()204 assertThat(mPreferenceController.shouldHideSipper(mNormalBatterySipper)).isTrue(); in testShouldHideSipper_typeUnaccounted_returnTrue()211 assertThat(mPreferenceController.shouldHideSipper(mNormalBatterySipper)).isFalse(); in testShouldHideSipper_typeNormal_returnFalse()218 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
181 if (shouldHideSipper(sipper)) { in removeHiddenBatterySippers()240 public boolean shouldHideSipper(BatterySipper sipper) { in shouldHideSipper() method in BatteryUtils
206 if (shouldHideSipper(sipper)) { in refreshAppListGroup()345 (sipper.drainType != DrainType.APP || mBatteryUtils.shouldHideSipper(sipper)) in setUsageSummary()353 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
78 if (!mBatteryUtils.shouldHideSipper(batterySipper)) { in detect()
88 if ((percent + 0.5f < 1f) || mBatteryUtils.shouldHideSipper(batterySipper)) { in detect()