Home
last modified time | relevance | path

Searched refs:node_path_ (Results 1 – 4 of 4) sorted by relevance

/hardware/google/pixel/power-libperfmgr/libperfmgr/
DFileNode.cc66 open(node_path_.c_str(), O_WRONLY | O_CLOEXEC | O_TRUNC))); in Update()
70 LOG(WARNING) << "Failed to write to node: " << node_path_ in Update()
88 LOG(WARNING) << "Slow writing to file: '" << node_path_ in Update()
109 if (!android::base::ReadFileToString(node_path_, &node_value)) { in DumpToFd()
110 LOG(ERROR) << "Failed to read node path: " << node_path_; in DumpToFd()
114 "%s\t%s\t%zu\t%s\n", name_.c_str(), node_path_.c_str(), in DumpToFd()
DPropertyNode.cc58 if (!android::base::SetProperty(node_path_, req_value)) { in Update()
59 LOG(WARNING) << "Failed to set property to : " << node_path_ in Update()
74 std::string node_value = android::base::GetProperty(node_path_, ""); in DumpToFd()
76 "%s\t%s\t%zu\t%s\n", name_.c_str(), node_path_.c_str(), in DumpToFd()
DNode.cc33 node_path_(std::move(node_path)), in Node()
65 return node_path_; in GetPath()
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/
DNode.h80 const std::string node_path_; variable