Lines Matching refs:string
61 std::string name) : kType(type), kName(name), mPowerStats(p), mChannelId(-1) { in PlaceholderEnergyConsumer()
72 std::pair<EnergyConsumerType, std::string> getInfo() override { return {kType, kName}; } in getInfo()
94 std::string getConsumerName() override { in getConsumerName()
100 const std::string kName;
115 std::string base = "/sys/devices/platform/17000000.aoc/"; in addAoC()
116 std::string prefix = base + "control/"; in addAoC()
119 std::vector<std::pair<std::string, std::string>> coreIds = { in addAoC()
125 std::vector<std::pair<std::string, std::string>> coreStates = { in addAoC()
131 std::vector<std::pair<std::string, std::string>> voltageIds = { in addAoC()
134 std::vector<std::pair<std::string, std::string>> voltageStates = {{"NOM", "nominal"}, in addAoC()
142 std::vector<std::pair<std::string, std::string>> monitorIds = { in addAoC()
145 std::vector<std::pair<std::string, std::string>> monitorStates = { in addAoC()
158 const std::vector<std::pair<std::string, std::string>> restartCountHeaders = { in addAoC()
172 std::string path = "/sys/devices/platform/acpm_stats/fvp_stats"; in addDvfsStats()
174 std::vector<std::pair<std::string, std::string>> adpCfgs = { in addDvfsStats()
200 std::vector<std::string> freqs = { in addDvfsStats()
251 const std::vector<std::pair<std::string, std::string>> powerStateHeaders = { in addSoC()
258 const std::vector<std::pair<std::string, std::string>> mifReqStateHeaders = { in addSoC()
264 const std::vector<std::pair<std::string, std::string>> slcReqStateHeaders = { in addSoC()
285 std::vector<const std::string> deviceNames { "s2mpg14-odpm", "s2mpg15-odpm" }; in setEnergyMeter()
305 const std::vector<std::pair<std::string, std::string>> cpuStateHeaders = { in addCPUclusters()
310 for (std::string name : { in addCPUclusters()
350 std::map<std::string, int32_t> stateCoeffs; in addGPU()
351 std::string path = "/sys/devices/platform/1f000000.mali"; in addGPU()
394 const std::vector<std::pair<std::string, std::string>> powerStateHeaders = { in addMobileRadio()
434 const std::vector<std::pair<std::string, std::string>> gnssStateHeaders = { in addGNSS()
456 const std::vector<std::pair<std::string, std::string>> pcieStateHeaders = { in addPCIe()
486 const std::vector<std::pair<std::string, std::string>> modemGenStateHeaders = { in addPCIe()
520 const std::vector<std::pair<std::string, std::string>> stateHeaders = { in addWifi()
525 const std::vector<std::pair<std::string, std::string>> pcieStateHeaders = { in addWifi()
564 const std::vector<std::pair<std::string, std::string>> cpuStateHeaders = { in addPowerDomains()
569 for (std::string name : { in addPowerDomains()
636 std::map<std::string, int32_t> stateCoeffs; in addTPU()
660 void addPixelStateResidencyDataProvider(std::shared_ptr<PowerStats> p, std::string displayName) { in addPixelStateResidencyDataProvider()
678 void addDisplayMrrByEntity(std::shared_ptr<PowerStats> p, std::string name, std::string path) { in addDisplayMrrByEntity()
716 const std::vector<std::pair<std::string, std::string>> nfcStateHeaders = { in addNFC()
726 std::string path; in addNFC()
729 std::string idx = std::to_string(i); in addNFC()