Searched refs:anomalyInfo (Results 1 – 2 of 2) sorted by relevance
140 final AnomalyInfo anomalyInfo = new AnomalyInfo( in saveAnomalyToDatabase() local154 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()
474 AnomalyInfo anomalyInfo) { in shouldHideAnomaly() argument483 || (isExcessiveBackgroundAnomaly(anomalyInfo) && !isPreOApp(packageNames)); in shouldHideAnomaly()486 private boolean isExcessiveBackgroundAnomaly(AnomalyInfo anomalyInfo) { in isExcessiveBackgroundAnomaly() argument487 return anomalyInfo.anomalyType in isExcessiveBackgroundAnomaly()