/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryInfo.java | 149 @Nullable final BatteryUsageStats batteryUsageStats, in getBatteryInfo() argument 155 if (batteryUsageStats != null) { in getBatteryInfo() 156 stats = batteryUsageStats; in getBatteryInfo() 178 @NonNull final BatteryUsageStats batteryUsageStats, boolean shortString) { in getBatteryInfo() argument 201 return BatteryInfo.getBatteryInfo(context, batteryBroadcast, batteryUsageStats, in getBatteryInfo() 205 final long prediction = discharging ? batteryUsageStats.getBatteryTimeRemainingMs() : 0; in getBatteryInfo() 211 return BatteryInfo.getBatteryInfo(context, batteryBroadcast, batteryUsageStats, in getBatteryInfo() 217 BatteryUsageStats batteryUsageStats, long elapsedRealtimeUs, boolean shortString) { in getBatteryInfoOld() argument 219 batteryUsageStats.getBatteryTimeRemainingMs(), in getBatteryInfoOld() 222 return getBatteryInfo(context, batteryBroadcast, batteryUsageStats, estimate, in getBatteryInfoOld() [all …]
|
D | BatteryAppListPreferenceController.java | 200 public void refreshAppListGroup(BatteryUsageStats batteryUsageStats, boolean showAllApps) { in refreshAppListGroup() argument 205 mBatteryUsageStats = USE_FAKE_DATA ? getFakeStats() : batteryUsageStats; in refreshAppListGroup() 214 final int dischargePercentage = getDischargePercentage(batteryUsageStats); in refreshAppListGroup() 217 final double totalPower = batteryUsageStats.getConsumedPower(); in refreshAppListGroup() 268 BatteryUsageStats batteryUsageStats, boolean showAllApps) { in getBatteryEntryList() argument 269 mBatteryUsageStats = USE_FAKE_DATA ? getFakeStats() : batteryUsageStats; in getBatteryEntryList() 273 final int dischargePercentage = getDischargePercentage(batteryUsageStats); in getBatteryEntryList() 276 final double totalPower = batteryUsageStats.getConsumedPower(); in getBatteryEntryList() 286 private int getDischargePercentage(BatteryUsageStats batteryUsageStats) { in getDischargePercentage() argument 287 int dischargePercentage = batteryUsageStats.getDischargePercentage(); in getDischargePercentage()
|
D | DebugEstimatesLoader.java | 61 BatteryUsageStats batteryUsageStats = in loadInBackground() local 64 batteryUsageStats, elapsedRealtimeUs, false); in loadInBackground() 71 batteryUsageStats, in loadInBackground()
|
D | BatteryUtils.java | 297 public long calculateLastFullChargeTime(BatteryUsageStats batteryUsageStats, in calculateLastFullChargeTime() argument 299 return currentTimeMs - batteryUsageStats.getStatsStartTimestamp(); in calculateLastFullChargeTime() 371 final BatteryUsageStats batteryUsageStats = systemService.getBatteryUsageStats( in getBatteryInfo() local 389 batteryUsageStats.getBatteryTimeRemainingMs(), in getBatteryInfo() 396 batteryUsageStats, estimate, elapsedRealtimeUs, false /* shortString */); in getBatteryInfo()
|
D | PowerUsageBase.java | 121 BatteryUsageStats batteryUsageStats) { in onLoadFinished() argument 122 mBatteryUsageStats = batteryUsageStats; in onLoadFinished()
|
D | BatteryHistoryPreference.java | 80 void setBatteryUsageStats(@NonNull BatteryUsageStats batteryUsageStats) { in setBatteryUsageStats() argument 84 }, batteryUsageStats, false); in setBatteryUsageStats()
|
D | ConvertUtils.java | 96 BatteryUsageStats batteryUsageStats, in convert() argument 103 if (entry != null && batteryUsageStats != null) { in convert() 112 Double.valueOf(batteryUsageStats.getConsumedPower())); in convert()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppBatteryPreferenceController.java | 290 UidBatteryConsumer findTargetUidBatteryConsumer(BatteryUsageStats batteryUsageStats, int uid) { 291 final List<UidBatteryConsumer> usageList = batteryUsageStats.getUidBatteryConsumers(); 311 BatteryUsageStats batteryUsageStats) { 312 mBatteryUsageStats = batteryUsageStats;
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | BatteryTipLoader.java | 54 public BatteryTipLoader(Context context, BatteryUsageStats batteryUsageStats) { in BatteryTipLoader() argument 56 mBatteryUsageStats = batteryUsageStats; in BatteryTipLoader()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/ |
D | HighUsageDetector.java | 56 BatteryUsageStats batteryUsageStats, BatteryInfo batteryInfo) { in HighUsageDetector() argument 58 mBatteryUsageStats = batteryUsageStats; in HighUsageDetector()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | BatteryFixSlice.java | 211 final BatteryUsageStats batteryUsageStats = statsLoader.loadInBackground(); in refreshBatteryTips() local 212 final BatteryTipLoader loader = new BatteryTipLoader(context, batteryUsageStats); in refreshBatteryTips()
|