Home
last modified time | relevance | path

Searched refs:nodes (Results 1 – 25 of 44) sorted by relevance

12

/system/extras/libperfmgr/tests/
DHintManagerTest.cc273 std::vector<std::unique_ptr<Node>> nodes = in TEST_F() local
275 EXPECT_EQ(3u, nodes.size()); in TEST_F()
276 EXPECT_EQ("CPUCluster0MinFreq", nodes[0]->GetName()); in TEST_F()
277 EXPECT_EQ("CPUCluster1MinFreq", nodes[1]->GetName()); in TEST_F()
278 EXPECT_EQ(files_[0 + 2]->path, nodes[0]->GetPath()); in TEST_F()
279 EXPECT_EQ(files_[1 + 2]->path, nodes[1]->GetPath()); in TEST_F()
280 EXPECT_EQ("1512000", nodes[0]->GetValues()[0]); in TEST_F()
281 EXPECT_EQ("1134000", nodes[0]->GetValues()[1]); in TEST_F()
282 EXPECT_EQ("384000", nodes[0]->GetValues()[2]); in TEST_F()
283 EXPECT_EQ("1512000", nodes[1]->GetValues()[0]); in TEST_F()
[all …]
/system/extras/libperfmgr/
DHintManager.cc114 std::vector<std::unique_ptr<Node>> nodes = ParseNodes(json_doc); in GetFromJSON() local
115 if (nodes.empty()) { in GetFromJSON()
120 HintManager::ParseActions(json_doc, nodes); in GetFromJSON()
127 sp<NodeLooperThread> nm = new NodeLooperThread(std::move(nodes)); in GetFromJSON()
149 Json::Value nodes = root["Nodes"]; in ParseNodes() local
150 for (Json::Value::ArrayIndex i = 0; i < nodes.size(); ++i) { in ParseNodes()
151 std::string name = nodes[i]["Name"].asString(); in ParseNodes()
167 std::string path = nodes[i]["Path"].asString(); in ParseNodes()
184 std::string node_type = nodes[i]["Type"].asString(); in ParseNodes()
202 Json::Value values = nodes[i]["Values"]; in ParseNodes()
[all …]
/system/update_engine/payload_generator/
Dtopological_sort.cc32 vector<Vertex::Index>* nodes, in TopologicalSortVisit() argument
42 TopologicalSortVisit(graph, visited_nodes, nodes, it->first); in TopologicalSortVisit()
45 nodes->push_back(node); in TopologicalSortVisit()
/system/libufdt/include/
Dufdt_types.h25 for ((it) = (node)->nodes; (it) != (node)->nodes + (node)->mem_size; ++(it)) \
/system/extras/libperfmgr/include/perfmgr/
DNodeLooperThread.h56 explicit NodeLooperThread(std::vector<std::unique_ptr<Node>> nodes) in NodeLooperThread() argument
57 : Thread(false), nodes_(std::move(nodes)) {} in NodeLooperThread()
DHintManager.h78 const std::vector<std::unique_ptr<Node>>& nodes);
/system/extras/libperfmgr/tools/
DConfigVerifier.cc41 std::vector<std::unique_ptr<Node>> nodes = ParseNodes(json_doc); in VerifyNodes() local
42 if (nodes.empty()) { in VerifyNodes()
47 for (const auto& node : nodes) { in VerifyNodes()
/system/extras/simpleperf/scripts/
Dreport_html.js908 let nodes = [];
911 nodes.push(node);
919 return nodes;
1111 _getMaxDepth(nodes) { argument
1112 let isArray = Array.isArray(nodes);
1115 sumCount = nodes.reduce((acc, cur) => acc + cur.s, 0);
1117 sumCount = nodes.s;
1123 let children = isArray ? this._splitChildrenForNodes(nodes) : nodes.c;
1208 _splitChildrenForNodes(nodes) { argument
1210 for (let node of nodes) {
[all …]
/system/extras/simpleperf/
Dcallchain.h107 const std::vector<std::unique_ptr<NodeT>>& nodes, const EntryT* sample, in FindMatchingNode()
109 for (auto& node : nodes) { in FindMatchingNode()
/system/libvintf/
Dparse_xml.cpp302 auto nodes = getChildren(root, elementName); in parseTextElements() local
303 v->resize(nodes.size()); in parseTextElements()
304 for (size_t i = 0; i < nodes.size(); ++i) { in parseTextElements()
305 v->at(i) = getText(nodes[i]); in parseTextElements()
348 auto nodes = getChildren(root, conv.elementName()); in parseChildren() local
349 v->resize(nodes.size()); in parseChildren()
350 for (size_t i = 0; i < nodes.size(); ++i) { in parseChildren()
351 if (!conv.deserialize(&v->at(i), nodes[i], error)) { in parseChildren()
/system/core/rootdir/
Dueventd.rc20 # ueventd can only set permissions on device nodes and their associated
/system/sepolicy/prebuilts/api/26.0/public/
Dueventd.te35 # Get file contexts for new device nodes
Dfile.te7 # Security-sensitive proc nodes that should not be writable to most.
11 # proc, sysfs, or other nodes that permit configuration of kernel usermodehelpers.
/system/sepolicy/prebuilts/api/27.0/public/
Dueventd.te33 # Get file contexts for new device nodes
Dfile.te7 # Security-sensitive proc nodes that should not be writable to most.
11 # proc, sysfs, or other nodes that permit configuration of kernel usermodehelpers.
/system/sepolicy/prebuilts/api/28.0/public/
Dueventd.te33 # Get file contexts for new device nodes
Dvendor_init.te139 # Write to sysfs nodes.
Dfile.te7 # Security-sensitive proc nodes that should not be writable to most.
12 # proc, sysfs, or other nodes that permit configuration of kernel usermodehelpers.
/system/sepolicy/private/
Dcoredomain.te181 # Following /dev nodes must not be directly accessed by coredomain, but should
Dgsid.te14 # Needed to create/delete device-mapper nodes, and read/write to them.
/system/sepolicy/prebuilts/api/29.0/private/
Dcoredomain.te181 # Following /dev nodes must not be directly accessed by coredomain, but should
Dgsid.te14 # Needed to create/delete device-mapper nodes, and read/write to them.
/system/sepolicy/public/
Dueventd.te34 # Get file contexts for new device nodes
/system/sepolicy/prebuilts/api/29.0/public/
Dueventd.te34 # Get file contexts for new device nodes
Dvendor_init.te164 # Write to sysfs nodes.

12