/system/extras/simpleperf/ |
D | callchain.h | 36 std::vector<EntryT*> chain; member 66 if (match_length < p->chain.size()) { in AddCallChain() 107 if (is_same_sample(node->chain.front(), sample)) { in FindMatchingNode() 114 size_t GetMatchingLengthInNode(NodeT* node, const std::vector<EntryT*>& chain, size_t chain_start, in GetMatchingLengthInNode() 117 for (i = 0, j = chain_start; i < node->chain.size() && j < chain.size(); ++i, ++j) { in GetMatchingLengthInNode() 118 if (!is_same_sample(node->chain[i], chain[j])) { in GetMatchingLengthInNode() 127 AllocateNode(parent->chain, parent_length, parent->period, parent->children_period); in SplitNode() 131 parent->chain.resize(parent_length); in SplitNode() 136 std::unique_ptr<NodeT> AllocateNode(const std::vector<EntryT*>& chain, size_t chain_start, in AllocateNode() 139 for (size_t i = chain_start; i < chain.size(); ++i) { in AllocateNode() [all …]
|
D | CallChainJoiner.cpp | 47 std::vector<CacheNode*> chain; in AddCallChain() local 50 chain.push_back(node); in AddCallChain() 57 if (chain.size() < cache_stat_.matched_node_count_to_extend_callchain) { in AddCallChain() 60 size_t chain_pos = chain.size() - 2; in AddCallChain() 62 if (GetParent(chain[chain_pos]) != chain[chain_pos + 1]) { in AddCallChain() 71 for (size_t i = 0; i + 1 < chain.size(); ++i) { in AddCallChain() 72 LinkParent(chain[i], chain[i + 1]); in AddCallChain() 76 CacheNode* top = chain.back(); in AddCallChain() 78 if (top->sp == chain.back()->sp) { in AddCallChain() 83 for (auto it = chain.rbegin(); it != chain.rend() && (*it)->sp == top->sp; ++it) { in AddCallChain() [all …]
|
D | SampleDisplayer.h | 155 PrintSampleName(node->chain[0]).c_str()); in DisplayCallGraphEntry() 156 for (size_t i = 1; i < node->chain.size(); ++i) { in DisplayCallGraphEntry() 158 PrintSampleName(node->chain[i]).c_str()); in DisplayCallGraphEntry()
|
/system/netd/server/ |
D | BandwidthController.cpp | 323 constexpr char chain[] = "bw_costly_shared"; in setInterfaceSharedQuota() local 343 StringPrintf("-I bw_INPUT %d -i %s -j %s", ruleInsertPos, iface.c_str(), chain), in setInterfaceSharedQuota() 344 StringPrintf("-I bw_OUTPUT %d -o %s -j %s", ruleInsertPos, iface.c_str(), chain), in setInterfaceSharedQuota() 345 StringPrintf("-A bw_FORWARD -i %s -j %s", iface.c_str(), chain), in setInterfaceSharedQuota() 346 StringPrintf("-A bw_FORWARD -o %s -j %s", iface.c_str(), chain), in setInterfaceSharedQuota() 350 chain, maxBytes, cost)); in setInterfaceSharedQuota() 379 constexpr char chain[] = "bw_costly_shared"; in removeInterfaceSharedQuota() local 393 StringPrintf("-D bw_INPUT -i %s -j %s", iface.c_str(), chain), in removeInterfaceSharedQuota() 394 StringPrintf("-D bw_OUTPUT -o %s -j %s", iface.c_str(), chain), in removeInterfaceSharedQuota() 395 StringPrintf("-D bw_FORWARD -i %s -j %s", iface.c_str(), chain), in removeInterfaceSharedQuota() [all …]
|
D | BandwidthControllerTest.cpp | 264 const std::string chain = "bw_costly_" + iface; in makeInterfaceQuotaCommands() local 265 const char* c_chain = chain.c_str(); in makeInterfaceQuotaCommands() 283 const std::string chain = "bw_costly_" + iface; in removeInterfaceQuotaCommands() local 284 const char* c_chain = chain.c_str(); in removeInterfaceQuotaCommands() 321 const std::string chain = "bw_costly_shared"; in makeInterfaceSharedQuotaCommands() local 322 const char* c_chain = chain.c_str(); in makeInterfaceSharedQuotaCommands() 341 const std::string chain = "bw_costly_shared"; in removeInterfaceSharedQuotaCommands() local 342 const char* c_chain = chain.c_str(); in removeInterfaceSharedQuotaCommands()
|
/system/extras/simpleperf/scripts/inferno/ |
D | data_types.py | 40 chain = [] 45 chain.append(CallSite(entry.symbol.symbol_name, entry.symbol.dso_name)) 47 chain.append(CallSite(symbol.symbol_name, symbol.dso_name)) 48 self.flamegraph.add_callchain(chain, sample.period) 101 def add_callchain(self, chain, num_events): argument 104 for callsite in chain:
|
/system/tools/hidl/ |
D | EnumType.cpp | 44 std::vector<const EnumType*> chain = typeChain(); in forEachValueFromRoot() local 45 for (auto it = chain.rbegin(); it != chain.rend(); ++it) { in forEachValueFromRoot() 218 std::vector<const EnumType*> chain = typeChain(); in lookupIdentifier() local 219 for (auto it = chain.begin(); it != chain.end(); ++it) { in lookupIdentifier() 306 std::vector<const EnumType*> chain = typeChain(); in emitTypeDeclarations() local 308 for (auto it = chain.rbegin(); it != chain.rend(); ++it) { in emitTypeDeclarations() 523 std::vector<const EnumType*> chain = typeChain(); in emitJavaTypeDeclarations() local 525 for (auto it = chain.rbegin(); it != chain.rend(); ++it) { in emitJavaTypeDeclarations() 598 std::vector<const EnumType*> chain = typeChain(); in emitVtsTypeDeclarations() local 600 for (auto it = chain.rbegin(); it != chain.rend(); ++it) { in emitVtsTypeDeclarations() [all …]
|
D | Interface.cpp | 244 std::vector<const Interface *> chain = typeChain(); in fillDescriptorChainMethod() local 247 for (const Interface *iface : chain) { in fillDescriptorChainMethod() 255 std::vector<const Interface *> chain = typeChain(); in fillDescriptorChainMethod() local 258 for (size_t i = 0; i < chain.size(); ++i) { in fillDescriptorChainMethod() 261 out << chain[i]->fullJavaName() << ".kInterfaceName"; in fillDescriptorChainMethod() 271 Formatter& out, const std::string& prefix, const std::vector<const Interface*>& chain, in emitDigestChain() argument 273 out.join(chain.begin(), chain.end(), ",\n", [&](const auto& iface) { in emitDigestChain() 299 std::vector<const Interface *> chain = typeChain(); in fillHashChainMethod() local 302 emitDigestChain(out, "(" + digestType->getInternalDataCppType() + ")", chain, in fillHashChainMethod() 309 std::vector<const Interface *> chain = typeChain(); in fillHashChainMethod() local [all …]
|
D | Interface.h | 160 Formatter& out, const std::string& prefix, const std::vector<const Interface*>& chain,
|
/system/security/keystore/include/keystore/ |
D | KeymasterCertificateChain.h | 29 : chain(std::move(other)) {} in KeymasterCertificateChain() 36 hardware::hidl_vec<hardware::hidl_vec<uint8_t>> chain;
|
/system/keymaster/tests/ |
D | android_keymaster_messages_test.cpp | 127 keymaster_cert_chain_t* chain = &deserialized->certificate_chain; in TEST() local 129 EXPECT_EQ(nullptr, chain->entries); in TEST() 131 EXPECT_NE(nullptr, chain->entries); in TEST() 132 EXPECT_EQ(3U, chain->entry_count); in TEST() 133 EXPECT_EQ(3U, chain->entries[0].data_length); in TEST() 134 EXPECT_EQ(0, memcmp("foo", chain->entries[0].data, 3)); in TEST() 135 EXPECT_EQ(3U, chain->entries[1].data_length); in TEST() 136 EXPECT_EQ(0, memcmp("bar", chain->entries[1].data, 3)); in TEST() 137 EXPECT_EQ(3U, chain->entries[2].data_length); in TEST() 138 EXPECT_EQ(0, memcmp("baz", chain->entries[2].data, 3)); in TEST() [all …]
|
/system/keymint/ta/src/ |
D | keys.rs | 84 pub chain: Vec<keymint::Certificate>, field 99 let chain = self.dev.sign_info.cert_chain(key_type)?; in get_signing_info() localVariable 101 chain.get(0).ok_or_else(|| km_err!(UnknownError, "empty attestation chain"))?, in get_signing_info() 103 e.insert(AttestationChainInfo { chain, issuer }) in get_signing_info() 113 chain: chain_info.chain.clone(), in get_signing_info() 384 chain: Vec::new(), in finish_keyblob_creation() 437 chain: Vec::new(), in finish_keyblob_creation() 450 for cert in info.chain { in finish_keyblob_creation()
|
/system/keymaster/km_openssl/ |
D | attestation_utils.cpp | 37 CertificateChain make_cert_chain(X509* certificate, CertificateChain chain, in make_cert_chain() argument 43 if (!chain.push_front(blob)) { in make_cert_chain() 47 return chain; in make_cert_chain()
|
/system/keymaster/ng/ |
D | AndroidKeyMintDevice.cpp | 194 vector<Certificate> convertCertificateChain(const CertificateChain& chain) { in convertCertificateChain() argument 196 retval.reserve(chain.entry_count); in convertCertificateChain() 197 std::transform(chain.begin(), chain.end(), std::back_inserter(retval), convertCertificate); in convertCertificateChain()
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | netutils_wrapper.te | 24 # the whole chain including the xt_bpf rules. They need to access to the pinned
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | netutils_wrapper.te | 24 # the whole chain including the xt_bpf rules. They need to access to the pinned
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | netutils_wrapper.te | 24 # the whole chain including the xt_bpf rules. They need to access to the pinned
|
/system/sepolicy/prebuilts/api/32.0/private/ |
D | netutils_wrapper.te | 24 # the whole chain including the xt_bpf rules. They need to access to the pinned
|
/system/sepolicy/private/ |
D | netutils_wrapper.te | 26 # the whole chain including the xt_bpf rules. They need to access to the pinned
|
/system/sepolicy/prebuilts/api/33.0/private/ |
D | netutils_wrapper.te | 26 # the whole chain including the xt_bpf rules. They need to access to the pinned
|
/system/sepolicy/prebuilts/api/34.0/private/ |
D | netutils_wrapper.te | 26 # the whole chain including the xt_bpf rules. They need to access to the pinned
|
/system/core/trusty/keymaster/keymint/ |
D | TrustyKeyMintDevice.cpp | 78 vector<Certificate> convertCertificateChain(const keymaster::CertificateChain& chain) { in convertCertificateChain() argument 80 std::transform(chain.begin(), chain.end(), std::back_inserter(retval), convertCertificate); in convertCertificateChain()
|
/system/libhidl/transport/manager/1.2/ |
D | IServiceManager.hal | 65 * @param chain service->interfaceChain 69 addWithChain(string name, interface service, vec<string> chain) generates (bool success);
|
/system/core/fs_mgr/libfs_avb/ |
D | avb_util.cpp | 578 for (auto& chain : chain_partitions) { in LoadAndVerifyVbmetaByPartition() local 580 chain.partition_name, ab_suffix, ab_other_suffix, chain.public_key_blob, in LoadAndVerifyVbmetaByPartition()
|
/system/hwservicemanager/ |
D | ServiceManager.h | 79 const hidl_vec<hidl_string>& chain) override;
|