Searched refs:ecr (Results 1 – 2 of 2) sorted by relevance
280 final EnergyConsumerResult ecr = new EnergyConsumerResult(); in createEnergyConsumerResult() local281 ecr.id = id; in createEnergyConsumerResult()282 ecr.energyUWs = energyUWs; in createEnergyConsumerResult()284 ecr.attribution = new EnergyConsumerAttribution[uids.length]; in createEnergyConsumerResult()286 ecr.attribution[i] = new EnergyConsumerAttribution(); in createEnergyConsumerResult()287 ecr.attribution[i].uid = uids[i]; in createEnergyConsumerResult()288 ecr.attribution[i].energyUWs = uidEnergies[i]; in createEnergyConsumerResult()291 return ecr; in createEnergyConsumerResult()
185 for (final EnergyConsumerResult ecr : ecrs) { in updateAndGetDelta()187 final int consumerId = ecr.id; in updateAndGetDelta()188 final long newEnergyUJ = ecr.energyUWs; in updateAndGetDelta()189 final EnergyConsumerAttribution[] newAttributions = ecr.attribution; in updateAndGetDelta()