Searched refs:FileNode (Results 1 – 7 of 7) sorted by relevance
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/ |
D | FileNode.h | 32 class FileNode : public Node { 34 FileNode(std::string name, std::string node_path, 45 FileNode(const Node& other) = delete; 46 FileNode& operator=(Node const&) = delete;
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/ |
D | FileNodeTest.cc | 44 FileNode t("t", tf.path, {{"value0"}, {"value1"}, {"value2"}}, 1, false); in TEST() 52 FileNode t("t", tf.path, {{"value0"}, {"value1"}, {"value2"}}, 1, true); in TEST() 56 FileNode t2("t2", tf2.path, {{"value0"}, {"value1"}, {"value2"}}, 0, true); in TEST() 64 FileNode t("test_dump", tf.path, {{"value0"}, {"value1"}, {"value2"}}, 1, in TEST() 78 FileNode t("t", tf.path, {{"value0"}, {"value1"}, {"value2"}}, 1, false); in TEST() 90 FileNode t("t", tf.path, {{"value0"}, {"value1"}, {"value2"}}, 1, false); in TEST() 102 FileNode t(test_name, test_path, {}, 0, false, true); in TEST() 113 FileNode t("t", "/sys/android/nonexist_node_test", in TEST() 132 FileNode t("t", tf.path, {{"value0"}, {"value1"}, {"value2"}}, 2, true); in TEST() 162 FileNode t("t", tf.path, {{"value0"}, {"value1"}, {"value2"}}, 2, true); in TEST() [all …]
|
D | HintManagerTest.cc | 135 nodes_.emplace_back(new FileNode( in SetUp() 140 nodes_.emplace_back(new FileNode( in SetUp() 331 EXPECT_FALSE(reinterpret_cast<FileNode*>(nodes[0].get())->GetHoldFd()); in TEST_F() 332 EXPECT_TRUE(reinterpret_cast<FileNode*>(nodes[1].get())->GetHoldFd()); in TEST_F() 424 EXPECT_FALSE(reinterpret_cast<FileNode*>(nodes[0].get())->GetHoldFd()); in TEST_F() 425 EXPECT_TRUE(reinterpret_cast<FileNode*>(nodes[1].get())->GetHoldFd()); in TEST_F()
|
D | NodeLooperThreadTest.cc | 37 nodes_.emplace_back(new FileNode( in SetUp() 42 nodes_.emplace_back(new FileNode( in SetUp()
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/ |
D | FileNode.cc | 33 FileNode::FileNode(std::string name, std::string node_path, in FileNode() function in android::perfmgr::FileNode 44 std::chrono::milliseconds FileNode::Update(bool log_error) { in Update() 99 bool FileNode::GetHoldFd() const { in GetHoldFd() 103 void FileNode::DumpToFd(int fd) const { in DumpToFd()
|
D | Android.bp | 51 "FileNode.cc",
|
D | HintManager.cc | 280 nodes_parsed.emplace_back(std::make_unique<FileNode>( in ParseNodes()
|