Searched refs:shouldHideAnomaly (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryUtilsTest.java | 410 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/ |
D | AnomalyDetectionJobService.java | 154 if (batteryUtils.shouldHideAnomaly(powerAllowlistBackend, uid, anomalyInfo)) { in saveAnomalyToDatabase()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/ |
D | AnomalyDetectionJobServiceTest.java | 169 doReturn(true).when(mBatteryUtils).shouldHideAnomaly(any(), anyInt(), any()); in saveAnomalyToDatabase_systemApp_doNotSaveButLog()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryUtils.java | 473 public boolean shouldHideAnomaly(PowerAllowlistBackend powerAllowlistBackend, int uid, in shouldHideAnomaly() method in BatteryUtils
|