Home
last modified time | relevance | path

Searched refs:highUsageApps (Results 1 – 4 of 4) 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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.java136 final List<AppInfo> highUsageApps = BatteryDatabaseManager.getInstance(context) in detectAnomalies() local
139 highUsageApps.removeIf(AppLabelPredicate.getInstance(context) in detectAnomalies()
142 return highUsageApps; in detectAnomalies()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DBatteryTipUtils.java136 final List<AppInfo> highUsageApps = BatteryDatabaseManager.getInstance(context) in detectAnomalies() local
139 highUsageApps.removeIf(AppLabelPredicate.getInstance(context) in detectAnomalies()
142 return highUsageApps; in detectAnomalies()