Home
last modified time | relevance | path

Searched refs:valStr (Results 1 – 2 of 2) sorted by relevance

/system/hardware/interfaces/suspend/1.0/default/
DSystemSuspend.cpp265 std::string valStr; in getSuspendStats() local
266 if (!ReadFdToString(statFd.get(), &valStr)) { in getSuspendStats()
271 valStr.erase(std::remove(valStr.begin(), valStr.end(), '\n'), valStr.end()); in getSuspendStats()
274 stats.lastFailedDev = valStr; in getSuspendStats()
276 stats.lastFailedStep = valStr; in getSuspendStats()
278 int statVal = std::stoi(valStr); in getSuspendStats()
DWakeLockEntryList.cpp241 std::string valStr; in createKernelEntry() local
242 if (!ReadFdToString(statFd.get(), &valStr)) { in createKernelEntry()
248 valStr.erase(std::remove(valStr.begin(), valStr.end(), '\n'), valStr.end()); in createKernelEntry()
251 info.name = valStr; in createKernelEntry()
255 int64_t statVal = std::stoll(valStr); in createKernelEntry()