Lines Matching refs:reading
153 mPm.reading[index].index = index; in parseIioEnergyNode()
154 mPm.reading[index].timestamp = timestamp; in parseIioEnergyNode()
155 mPm.reading[index].energy = strtoull(words[1].c_str(), NULL, 10); in parseIioEnergyNode()
156 if (mPm.reading[index].energy == ULLONG_MAX) { in parseIioEnergyNode()
157 ALOGW("Potentially wrong energy value: %" PRIu64, mPm.reading[index].energy); in parseIioEnergyNode()
192 mPm.reading.resize(numRails); in PowerStats()
231 memcpy(&eVal[0], &mPm.reading[0], mPm.reading.size() * sizeof(EnergyData)); in getEnergyData()
236 if (railIndex >= mPm.reading.size()) { in getEnergyData()
241 memcpy(&eVal[i], &mPm.reading[railIndex], sizeof(EnergyData)); in getEnergyData()
270 mPm.fmqSynchronized->writeBlocking(&mPm.reading[0], mPm.reading.size(), in streamEnergyData()
289 _hidl_cb(*(mPm.fmqSynchronized)->getDesc(), numSamples, mPm.reading.size(), Status::SUCCESS); in streamEnergyData()