Home
last modified time | relevance | path

Searched refs:anomalyInfo (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobService.java140 final AnomalyInfo anomalyInfo = new AnomalyInfo( in saveAnomalyToDatabase() local
154 if (batteryUtils.shouldHideAnomaly(powerAllowlistBackend, uid, anomalyInfo)) { in saveAnomalyToDatabase()
159 anomalyInfo.anomalyType); in saveAnomalyToDatabase()
161 if (autoFeatureOn && anomalyInfo.autoRestriction) { in saveAnomalyToDatabase()
165 databaseManager.insertAnomaly(uid, packageName, anomalyInfo.anomalyType, in saveAnomalyToDatabase()
169 databaseManager.insertAnomaly(uid, packageName, anomalyInfo.anomalyType, in saveAnomalyToDatabase()
177 anomalyInfo.anomalyType); in saveAnomalyToDatabase()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryUtils.java474 AnomalyInfo anomalyInfo) { in shouldHideAnomaly() argument
483 || (isExcessiveBackgroundAnomaly(anomalyInfo) && !isPreOApp(packageNames)); in shouldHideAnomaly()
486 private boolean isExcessiveBackgroundAnomaly(AnomalyInfo anomalyInfo) { in isExcessiveBackgroundAnomaly() argument
487 return anomalyInfo.anomalyType in isExcessiveBackgroundAnomaly()