Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/
DRestrictAppDetector.java70 final List<AppInfo> highUsageApps = BatteryTipUtils.detectAnomalies(mContext, in detect() local
72 if (!highUsageApps.isEmpty()) { in detect()
74 return new RestrictAppTip(BatteryTip.StateType.NEW, highUsageApps); in detect()
90 final List<AppInfo> highUsageApps = new ArrayList<>(); in getFakeData() local
91 highUsageApps.add(new AppInfo.Builder() in getFakeData()
94 return new RestrictAppTip(BatteryTip.StateType.NEW, highUsageApps); in getFakeData()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipUtils.java134 final List<AppInfo> highUsageApps = BatteryDatabaseManager.getInstance(context) in detectAnomalies() local
137 highUsageApps.removeIf(AppLabelPredicate.getInstance(context) in detectAnomalies()
140 return highUsageApps; in detectAnomalies()