Home
last modified time | relevance | path

Searched refs:start_pos (Results 1 – 3 of 3) sorted by relevance

/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/
DHintManagerTest.cc166 size_t start_pos = json_doc_.find(from); in SetUp() local
167 json_doc_.replace(start_pos, from.length(), files_[0 + 2]->path); in SetUp()
169 start_pos = json_doc_.find(from); in SetUp()
170 json_doc_.replace(start_pos, from.length(), files_[1 + 2]->path); in SetUp()
411 size_t start_pos = json_doc_.find(from); in TEST_F() local
412 json_doc_.replace(start_pos, from.length(), "CPUCluster1MinFreq"); in TEST_F()
420 size_t start_pos = json_doc_.find(from); in TEST_F() local
421 json_doc_.replace(start_pos, from.length(), "CPUCluster1MinFreq"); in TEST_F()
430 size_t start_pos = json_doc_.find(from); in TEST_F() local
431 json_doc_.replace(start_pos, from.length(), files_[1 + 2]->path); in TEST_F()
[all …]
/hardware/google/pixel/thermal/utils/
Dpower_files.cpp198 auto start_pos = line.find("T="); in updateEnergyValues() local
200 if (start_pos != std::string::npos) { in updateEnergyValues()
202 strtoul(line.substr(start_pos + 2, end_pos - start_pos - 2).c_str(), NULL, 10); in updateEnergyValues()
207 start_pos = line.find(")["); in updateEnergyValues()
210 if (start_pos != std::string::npos) { in updateEnergyValues()
211 railName = line.substr(start_pos + 2, end_pos - start_pos - 2); in updateEnergyValues()
216 start_pos = line.find("],"); in updateEnergyValues()
217 if (start_pos != std::string::npos) { in updateEnergyValues()
218 energy_counter = strtoul(line.substr(start_pos + 2).c_str(), NULL, 10); in updateEnergyValues()
Dthermal_watcher.cpp449 auto start_pos = uevent.find("NAME="); in parseUevent() local
450 if (start_pos != std::string::npos) { in parseUevent()
451 start_pos += 5; in parseUevent()
452 std::string name = uevent.substr(start_pos); in parseUevent()