Searched refs:energyMeasurementList (Results 1 – 2 of 2) sorted by relevance
262 EnergyMeasurement[] energyMeasurementList = new EnergyMeasurement[ENERGY_METER_COUNT]; in readEnergyMeter() local263 for (int i = 0; i < energyMeasurementList.length; i++) { in readEnergyMeter()264 energyMeasurementList[i] = new EnergyMeasurement(); in readEnergyMeter()265 energyMeasurementList[i].id = i; in readEnergyMeter()266 energyMeasurementList[i].timestampMs = i; in readEnergyMeter()267 energyMeasurementList[i].durationMs = i; in readEnergyMeter()268 energyMeasurementList[i].energyUWs = i; in readEnergyMeter()270 return energyMeasurementList; in readEnergyMeter()
354 List<EnergyMeasurement> energyMeasurementList = new ArrayList<EnergyMeasurement>(); in unpackProtoMessage() local363 energyMeasurementList.add(unpackEnergyMeasurementProto(pis)); in unpackProtoMessage()366 return energyMeasurementList.toArray( in unpackProtoMessage()367 new EnergyMeasurement[energyMeasurementList.size()]); in unpackProtoMessage()