Searched refs:kwlId (Results 1 – 2 of 2) sorted by relevance
201 WakeLockInfo WakeLockEntryList::createKernelEntry(const std::string& kwlId) const { in createKernelEntry()220 openat(mKernelWakelockStatsFd, kwlId.c_str(), O_DIRECTORY | O_CLOEXEC | O_RDONLY))}; in createKernelEntry()222 PLOG(ERROR) << "Error opening kernel wakelock stats for: " << kwlId; in createKernelEntry()238 PLOG(ERROR) << "Error opening " << statName << " for " << kwlId; in createKernelEntry()243 PLOG(ERROR) << "Error reading " << statName << " for " << kwlId; in createKernelEntry()294 std::string kwlId(de->d_name); in getKernelWakelockStats() local295 if ((kwlId == ".") || (kwlId == "..")) { in getKernelWakelockStats()298 WakeLockInfo entry = createKernelEntry(kwlId); in getKernelWakelockStats()
437 std::string kwlId = "wakeup" + std::to_string(id++); in addKernelWakelock() local439 if ((mkdirat(kernelWakelockStatsFd, kwlId.c_str(), S_IRWXU)) < 0) { in addKernelWakelock()440 PLOG(ERROR) << "SystemSuspend: Error creating directory for " << kwlId; in addKernelWakelock()445 openat(kernelWakelockStatsFd, kwlId.c_str(), O_DIRECTORY | O_CLOEXEC | O_RDONLY))}; in addKernelWakelock()447 PLOG(ERROR) << "SystemSuspend: Error opening " << kwlId; in addKernelWakelock()