Searched refs:anomalyInfo (Results 1 – 4 of 4) sorted by relevance
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/ |
D | AnomalyDetectionJobService.java | 140 final AnomalyInfo anomalyInfo = new AnomalyInfo( in saveAnomalyToDatabase() local 154 if (batteryUtils.shouldHideAnomaly(powerWhitelistBackend, 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/batterytip/ |
D | AnomalyDetectionJobService.java | 140 final AnomalyInfo anomalyInfo = new AnomalyInfo( in saveAnomalyToDatabase() local 154 if (batteryUtils.shouldHideAnomaly(powerWhitelistBackend, 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryUtils.java | 543 AnomalyInfo anomalyInfo) { in shouldHideAnomaly() argument 552 || (isExcessiveBackgroundAnomaly(anomalyInfo) && !isPreOApp(packageNames)); in shouldHideAnomaly() 555 private boolean isExcessiveBackgroundAnomaly(AnomalyInfo anomalyInfo) { in isExcessiveBackgroundAnomaly() argument 556 return anomalyInfo.anomalyType in isExcessiveBackgroundAnomaly()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryUtils.java | 582 AnomalyInfo anomalyInfo) { in shouldHideAnomaly() argument 591 || (isExcessiveBackgroundAnomaly(anomalyInfo) && !isPreOApp(packageNames)); in shouldHideAnomaly() 594 private boolean isExcessiveBackgroundAnomaly(AnomalyInfo anomalyInfo) { in isExcessiveBackgroundAnomaly() argument 595 return anomalyInfo.anomalyType in isExcessiveBackgroundAnomaly()
|