Home
last modified time | relevance | path

Searched refs:shouldHideAnomaly (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryUtilsTest.java410 assertThat(mBatteryUtils.shouldHideAnomaly(mPowerAllowlistBackend, UID, in testShouldHideAnomaly_systemAppWithLauncher_returnTrue()
420 assertThat(mBatteryUtils.shouldHideAnomaly(mPowerAllowlistBackend, UID, in testShouldHideAnomaly_systemAppWithoutLauncher_returnTrue()
429 assertThat(mBatteryUtils.shouldHideAnomaly(mPowerAllowlistBackend, systemUid, in testShouldHideAnomaly_systemUid_returnTrue()
438 assertThat(mBatteryUtils.shouldHideAnomaly(mPowerAllowlistBackend, UID, in testShouldHideAnomaly_AppInDozeList_returnTrue()
446 assertThat(mBatteryUtils.shouldHideAnomaly(mPowerAllowlistBackend, UID, in testShouldHideAnomaly_normalApp_returnFalse()
455 assertThat(mBatteryUtils.shouldHideAnomaly(mPowerAllowlistBackend, UID, in testShouldHideAnomaly_excessivePriorOApp_returnFalse()
464 assertThat(mBatteryUtils.shouldHideAnomaly(mPowerAllowlistBackend, UID, in testShouldHideAnomaly_excessiveOApp_returnTrue()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobService.java154 if (batteryUtils.shouldHideAnomaly(powerAllowlistBackend, uid, anomalyInfo)) { in saveAnomalyToDatabase()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobServiceTest.java169 doReturn(true).when(mBatteryUtils).shouldHideAnomaly(any(), anyInt(), any()); in saveAnomalyToDatabase_systemApp_doNotSaveButLog()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryUtils.java473 public boolean shouldHideAnomaly(PowerAllowlistBackend powerAllowlistBackend, int uid, in shouldHideAnomaly() method in BatteryUtils