Searched refs:energyUWs (Results 1 – 10 of 10) sorted by relevance
154 energyUWs = 1000; in mockEnergyConsumers()158 energyUWs = 2000; in mockEnergyConsumers()167 energyUWs = 1500; in mockEnergyConsumers()171 energyUWs = 2700; in mockEnergyConsumers()
279 int id, long energyUWs, int[] uids, long[] uidEnergies) { in createEnergyConsumerResult() argument282 ecr.energyUWs = energyUWs; in createEnergyConsumerResult()288 ecr.attribution[i].energyUWs = uidEnergies[i]; in createEnergyConsumerResult()
315 result.energyUWs = 0; in addEnergyConsumer()320 public void incrementEnergyConsumption(int id, long energyUWs) { in incrementEnergyConsumption() argument323 result.energyUWs += energyUWs; in incrementEnergyConsumption()
347 pos.write(EnergyMeasurementProto.ENERGY_UWS, energyMeasurement[i].energyUWs); in packProtoMessage()402 energyMeasurement.energyUWs = in unpackEnergyMeasurementProto()428 + ", Energy (uWs): " + energyMeasurement[i].energyUWs); in print()569 pos.write(EnergyConsumerResultProto.ENERGY_UWS, energyConsumerResult[i].energyUWs); in packProtoMessage()581 energyConsumerAttribution.energyUWs); in packProtoMessage()631 energyConsumerAttribution.energyUWs = in unpackEnergyConsumerAttributionProto()670 energyConsumerResult.energyUWs = in unpackEnergyConsumerResultProto()707 + ", Energy (uWs): " + result.energyUWs); in print()712 + " Energy (uWs): " + attribution.energyUWs); in print()
101 energyMeasurement.energyUWs)); in pullOnDevicePowerMeasurement()
749 powerMonitorState.energyUws = energyConsumerResult.energyUWs; in updateEnergyConsumers()775 powerMonitorState.energyUws = energyMeasurement.energyUWs; in updateEnergyMeasurements()
134 float energyConsumed = (displayResults[0].energyUWs - mLastEnergyConsumed); in capturePeriodicDisplayPower()146 mLastEnergyConsumed = displayResults[0].energyUWs; in capturePeriodicDisplayPower()
188 final long newEnergyUJ = ecr.energyUWs; in updateAndGetDelta()315 uidOldEnergyMap.put(newAttribution.uid, newAttribution.energyUWs); in updateAndGetDeltaForTypeOther()325 final long newEnergyUJ = newAttribution.energyUWs; in updateAndGetDeltaForTypeOther()
298 energy[i] = result.energyUWs; in getConsumedEnergyUws()
278 energyConsumerResults[i].energyUWs = i; in buildEnergyConsumerResult()284 energyConsumerResults[i].attribution[j].energyUWs = j; in buildEnergyConsumerResult()313 energyMeasurements[i].energyUWs = i; in buildEnergyMeasurements()1117 energyConsumerResults[i].energyUWs = 42 + 100 * i; in getPowerMonitors()1124 energyMeasurements[i].energyUWs = 314 + 200 * i; in getPowerMonitors()1151 energyConsumerResult.energyUWs = 300; in getPowerMonitors()1156 energyMeasurement.energyUWs = 400; in getPowerMonitors()