Home
last modified time | relevance | path

Searched refs:deviceStateEstimations (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerStatsProcessor.java67 public List<DeviceStateEstimation> deviceStateEstimations = new ArrayList<>(); field in PowerStatsProcessor.PowerEstimationPlan
82 deviceStateEstimations.add( in addDeviceStateEstimations()
119 cdse.deviceStateEstimations.add(dse); in combineDeviceStateEstimationsRecursively()
183 for (DeviceStateEstimation deviceStateEstimation : deviceStateEstimations) { in toString()
189 if (cdse.deviceStateEstimations.size() <= 1) { in toString()
194 for (int i = 0; i < cdse.deviceStateEstimations.size(); i++) { in toString()
198 sb.append(cdse.deviceStateEstimations.get(i).id); in toString()
226 for (int i = 0; i < deviceStateEstimations.size(); i++) { in getDeviceStateEstimate()
227 DeviceStateEstimation deviceStateEstimation = this.deviceStateEstimations.get(i); in getDeviceStateEstimate()
259 for (int i = deviceStateEstimations.size() - 1; i >= 0; i--) { in resetIntermediates()
[all …]
DBluetoothPowerStatsProcessor.java100 for (int i = mPlan.deviceStateEstimations.size() - 1; i >= 0; i--) { in finish()
101 DeviceStateEstimation estimation = mPlan.deviceStateEstimations.get(i); in finish()
111 for (int i = mPlan.deviceStateEstimations.size() - 1; i >= 0; i--) { in finish()
112 DeviceStateEstimation estimation = mPlan.deviceStateEstimations.get(i); in finish()
184 for (int i = mPlan.deviceStateEstimations.size() - 1; i >= 0; i--) { in computeEstimateAdjustmentRatioUsingConsumedEnergy()
186 (Intermediates) mPlan.deviceStateEstimations.get(i).intermediates; in computeEstimateAdjustmentRatioUsingConsumedEnergy()
227 List<DeviceStateEstimation> deviceStateEstimations = cdse.deviceStateEstimations; in combineDeviceStateEstimates() local
228 for (int j = deviceStateEstimations.size() - 1; j >= 0; j--) { in combineDeviceStateEstimates()
229 DeviceStateEstimation dse = deviceStateEstimations.get(j); in combineDeviceStateEstimates()
DCpuPowerStatsProcessor.java288 List<DeviceStateEstimation> deviceStateEstimations = mPlan.deviceStateEstimations; in computeTotals() local
289 for (int i = deviceStateEstimations.size() - 1; i >= 0; i--) { in computeTotals()
290 DeviceStateEstimation deviceStateEstimation = deviceStateEstimations.get(i); in computeTotals()
353 List<DeviceStateEstimation> deviceStateEstimations = mPlan.deviceStateEstimations; in estimatePowerByDeviceState() local
354 for (int dse = deviceStateEstimations.size() - 1; dse >= 0; dse--) { in estimatePowerByDeviceState()
355 DeviceStateEstimation deviceStateEstimation = deviceStateEstimations.get(dse); in estimatePowerByDeviceState()
442 List<DeviceStateEstimation> deviceStateEstimations = cdse.deviceStateEstimations; in combineDeviceStateEstimates() local
443 for (int j = deviceStateEstimations.size() - 1; j >= 0; j--) { in combineDeviceStateEstimates()
444 DeviceStateEstimation dse = deviceStateEstimations.get(j); in combineDeviceStateEstimates()
DWifiPowerStatsProcessor.java128 for (int i = mPlan.deviceStateEstimations.size() - 1; i >= 0; i--) { in finish()
129 DeviceStateEstimation estimation = mPlan.deviceStateEstimations.get(i); in finish()
139 for (int i = mPlan.deviceStateEstimations.size() - 1; i >= 0; i--) { in finish()
140 DeviceStateEstimation estimation = mPlan.deviceStateEstimations.get(i); in finish()
231 for (int i = mPlan.deviceStateEstimations.size() - 1; i >= 0; i--) { in computeEstimateAdjustmentRatioUsingConsumedEnergy()
233 (Intermediates) mPlan.deviceStateEstimations.get(i).intermediates; in computeEstimateAdjustmentRatioUsingConsumedEnergy()
291 List<DeviceStateEstimation> deviceStateEstimations = cdse.deviceStateEstimations; in combineDeviceStateEstimates() local
292 for (int j = deviceStateEstimations.size() - 1; j >= 0; j--) { in combineDeviceStateEstimates()
293 DeviceStateEstimation dse = deviceStateEstimations.get(j); in combineDeviceStateEstimates()
DMobileRadioPowerStatsProcessor.java180 for (int i = mPlan.deviceStateEstimations.size() - 1; i >= 0; i--) { in finish()
181 DeviceStateEstimation estimation = mPlan.deviceStateEstimations.get(i); in finish()
190 for (int i = mPlan.deviceStateEstimations.size() - 1; i >= 0; i--) { in finish()
191 DeviceStateEstimation estimation = mPlan.deviceStateEstimations.get(i); in finish()
289 for (int i = mPlan.deviceStateEstimations.size() - 1; i >= 0; i--) { in computeEstimateAdjustmentRatioUsingConsumedEnergy()
291 (Intermediates) mPlan.deviceStateEstimations.get(i).intermediates; in computeEstimateAdjustmentRatioUsingConsumedEnergy()
337 List<DeviceStateEstimation> deviceStateEstimations = cdse.deviceStateEstimations; in combineDeviceStateEstimates() local
338 for (int j = deviceStateEstimations.size() - 1; j >= 0; j--) { in combineDeviceStateEstimates()
339 DeviceStateEstimation dse = deviceStateEstimations.get(j); in combineDeviceStateEstimates()
DBinaryStatePowerStatsProcessor.java190 for (int i = mPlan.deviceStateEstimations.size() - 1; i >= 0; i--) { in computeDevicePowerEstimates()
191 DeviceStateEstimation estimation = mPlan.deviceStateEstimations.get(i); in computeDevicePowerEstimates()
216 for (int j = estimation.deviceStateEstimations.size() - 1; j >= 0; j--) { in combineDevicePowerEstimates()
218 estimation.deviceStateEstimations.get(j); in combineDevicePowerEstimates()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsProcessorTest.java85 return plan.deviceStateEstimations.stream() in deviceStateEstimatesToStrings()
92 .map(cds -> cds.deviceStateEstimations) in combinedDeviceStatsToStrings()
105 use.combinedDeviceStateEstimate.deviceStateEstimations.stream() in uidStateEstimatesToStrings()