/system/extras/libperfmgr/tests/ |
D | HintManagerTest.cc | 273 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/ |
D | HintManager.cc | 114 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/ |
D | topological_sort.cc | 32 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/ |
D | ufdt_types.h | 25 for ((it) = (node)->nodes; (it) != (node)->nodes + (node)->mem_size; ++(it)) \
|
/system/extras/libperfmgr/include/perfmgr/ |
D | NodeLooperThread.h | 56 explicit NodeLooperThread(std::vector<std::unique_ptr<Node>> nodes) in NodeLooperThread() argument 57 : Thread(false), nodes_(std::move(nodes)) {} in NodeLooperThread()
|
D | HintManager.h | 78 const std::vector<std::unique_ptr<Node>>& nodes);
|
/system/extras/libperfmgr/tools/ |
D | ConfigVerifier.cc | 41 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/ |
D | report_html.js | 908 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/ |
D | callchain.h | 107 const std::vector<std::unique_ptr<NodeT>>& nodes, const EntryT* sample, in FindMatchingNode() 109 for (auto& node : nodes) { in FindMatchingNode()
|
/system/libvintf/ |
D | parse_xml.cpp | 302 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/ |
D | ueventd.rc | 20 # ueventd can only set permissions on device nodes and their associated
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | ueventd.te | 35 # Get file contexts for new device nodes
|
D | file.te | 7 # 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/ |
D | ueventd.te | 33 # Get file contexts for new device nodes
|
D | file.te | 7 # 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/ |
D | ueventd.te | 33 # Get file contexts for new device nodes
|
D | vendor_init.te | 139 # Write to sysfs nodes.
|
D | file.te | 7 # 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/ |
D | coredomain.te | 181 # Following /dev nodes must not be directly accessed by coredomain, but should
|
D | gsid.te | 14 # Needed to create/delete device-mapper nodes, and read/write to them.
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | coredomain.te | 181 # Following /dev nodes must not be directly accessed by coredomain, but should
|
D | gsid.te | 14 # Needed to create/delete device-mapper nodes, and read/write to them.
|
/system/sepolicy/public/ |
D | ueventd.te | 34 # Get file contexts for new device nodes
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | ueventd.te | 34 # Get file contexts for new device nodes
|
D | vendor_init.te | 164 # Write to sysfs nodes.
|