Home
last modified time | relevance | path

Searched refs:namespaces (Results 1 – 25 of 117) sorted by relevance

12345

/system/linkerconfig/modules/tests/
Dsection_test.cc125 std::vector<Namespace> namespaces; in TEST() local
127 namespaces.emplace_back(CreateNamespaceWithLinks( in TEST()
129 namespaces.emplace_back(CreateNamespaceWithLinks( in TEST()
131 namespaces.emplace_back(CreateNamespaceWithPaths("namespace2", false, false)); in TEST()
133 Section section("test_section", std::move(namespaces)); in TEST()
143 std::vector<Namespace> namespaces; in TEST() local
144 namespaces.emplace_back(CreateNamespaceWithPaths("default", false, false)); in TEST()
146 Section section("test_section", std::move(namespaces)); in TEST()
154 std::vector<Namespace> namespaces; in TEST() local
155 Namespace& foo = namespaces.emplace_back("foo"); in TEST()
[all …]
Dapex_test.cc112 std::vector<Namespace> namespaces; in TEST() local
113 namespaces.push_back(std::move(foo)); in TEST()
114 namespaces.push_back(std::move(bar)); in TEST()
115 Section section("section", std::move(namespaces)); in TEST()
/system/linkerconfig/contents/section/
Dsystem.cc34 std::vector<Namespace> namespaces; in BuildSystemSection() local
36 namespaces.emplace_back(BuildSystemDefaultNamespace(ctx)); in BuildSystemSection()
38 namespaces.emplace_back(BuildSphalNamespace(ctx)); in BuildSystemSection()
39 namespaces.emplace_back(BuildRsNamespace(ctx)); in BuildSystemSection()
40 namespaces.emplace_back(BuildVndkNamespace(ctx, VndkUserPartition::Vendor)); in BuildSystemSection()
42 namespaces.emplace_back(BuildProductNamespace(ctx, "product")); in BuildSystemSection()
43 namespaces.emplace_back( in BuildSystemSection()
57 return BuildSection(ctx, "system", std::move(namespaces), visible_apexes); in BuildSystemSection()
Dapexdefault.cc66 std::vector<Namespace> namespaces; in BuildApexDefaultSection() local
74 namespaces.emplace_back(BuildApexEmptyDefaultNamespace(ctx, apex_info)); in BuildApexDefaultSection()
76 namespaces.emplace_back(BuildApexDefaultNamespace(ctx, apex_info)); in BuildApexDefaultSection()
78 namespaces.emplace_back(BuildApexPlatformNamespace(ctx)); in BuildApexDefaultSection()
84 namespaces.emplace_back(BuildRsNamespace(ctx)); in BuildApexDefaultSection()
87 namespaces.emplace_back(std::move(vendor)); in BuildApexDefaultSection()
90 namespaces.emplace_back(BuildVndkInSystemNamespace(ctx)); in BuildApexDefaultSection()
92 namespaces.emplace_back( in BuildApexDefaultSection()
98 namespaces.emplace_back(std::move(product)); in BuildApexDefaultSection()
102 namespaces.emplace_back(BuildVndkInSystemNamespace(ctx)); in BuildApexDefaultSection()
[all …]
Dvendor.cc37 std::vector<Namespace> namespaces; in BuildVendorSection() local
39 namespaces.emplace_back(BuildVendorDefaultNamespace(ctx)); in BuildVendorSection()
40 namespaces.emplace_back(BuildVndkNamespace(ctx, VndkUserPartition::Vendor)); in BuildVendorSection()
41 namespaces.emplace_back(BuildSystemNamespace(ctx)); in BuildVendorSection()
42 namespaces.emplace_back(BuildRsNamespace(ctx)); in BuildVendorSection()
45 namespaces.emplace_back(BuildVndkInSystemNamespace(ctx)); in BuildVendorSection()
63 ctx, "vendor", std::move(namespaces), visible_apexes, libs_providers); in BuildVendorSection()
Dproduct.cc35 std::vector<Namespace> namespaces; in BuildProductSection() local
37 namespaces.emplace_back(BuildProductDefaultNamespace(ctx)); in BuildProductSection()
38 namespaces.emplace_back(BuildVndkNamespace(ctx, VndkUserPartition::Product)); in BuildProductSection()
39 namespaces.emplace_back(BuildSystemNamespace(ctx)); in BuildProductSection()
42 namespaces.emplace_back(BuildVndkInSystemNamespace(ctx)); in BuildProductSection()
54 return BuildSection(ctx, "product", std::move(namespaces), visible_apexes); in BuildProductSection()
Dunrestricted.cc38 std::vector<Namespace> namespaces; in BuildUnrestrictedSection() local
40 namespaces.emplace_back(BuildUnrestrictedDefaultNamespace(ctx)); in BuildUnrestrictedSection()
42 namespaces.emplace_back(BuildSphalNamespace(ctx)); in BuildUnrestrictedSection()
43 namespaces.emplace_back(BuildVndkNamespace(ctx, VndkUserPartition::Vendor)); in BuildUnrestrictedSection()
44 namespaces.emplace_back(BuildRsNamespace(ctx)); in BuildUnrestrictedSection()
57 ctx, "unrestricted", std::move(namespaces), visible_apexes); in BuildUnrestrictedSection()
Dsectionbuilder.cc37 std::vector<Namespace>&& namespaces, in BuildSection() argument
47 namespaces.begin(), in BuildSection()
48 namespaces.end(), in BuildSection()
50 it == namespaces.end()) { in BuildSection()
52 namespaces.push_back(std::move(ns)); in BuildSection()
60 Section section(std::move(name), std::move(namespaces)); in BuildSection()
Disolated.cc33 std::vector<Namespace> namespaces; in BuildIsolatedSection() local
35 namespaces.emplace_back(BuildIsolatedDefaultNamespace(ctx)); in BuildIsolatedSection()
36 namespaces.emplace_back(BuildSystemNamespace(ctx)); in BuildIsolatedSection()
47 return BuildSection(ctx, "isolated", std::move(namespaces), visible_apexes); in BuildIsolatedSection()
Drecovery.cc29 std::vector<Namespace> namespaces; in BuildRecoverySection() local
30 namespaces.emplace_back(BuildRecoveryDefaultNamespace(ctx)); in BuildRecoverySection()
31 Section section("recovery", std::move(namespaces)); in BuildRecoverySection()
Dpostinstall.cc37 std::vector<Namespace> namespaces; in BuildPostInstallSection() local
39 namespaces.emplace_back(BuildPostInstallNamespace(ctx)); in BuildPostInstallSection()
41 return Section("postinstall", std::move(namespaces)); in BuildPostInstallSection()
Dlegacy.cc32 std::vector<Namespace> namespaces; in BuildLegacySection() local
34 namespaces.emplace_back(BuildSystemDefaultNamespace(ctx)); in BuildLegacySection()
45 return BuildSection(ctx, "legacy", std::move(namespaces), visible_apexes); in BuildLegacySection()
/system/linkerconfig/contents/tests/configuration/include/
Dlinkerconfigparser.h45 conf.sections[section_name].namespaces["default"].name = "default"; in ParseDirPath()
55 std::stringstream namespaces(match[1]); in ParseAdditionalNamespaces()
57 std::getline(namespaces, namespace_name, ',');) { in ParseAdditionalNamespaces()
58 EXPECT_FALSE(MapContainsKey(current_section.namespaces, namespace_name)) in ParseAdditionalNamespaces()
62 current_section.namespaces[namespace_name] = new_namespace; in ParseAdditionalNamespaces()
105 std::stringstream namespaces(target_namespaces); in ParseLinkList()
106 for (std::string namespace_to; std::getline(namespaces, namespace_to, ',');) { in ParseLinkList()
109 EXPECT_TRUE(MapContainsKey(current_section.namespaces, namespace_to)) in ParseLinkList()
115 &current_section.namespaces[namespace_to]; in ParseLinkList()
132 ASSERT_TRUE(MapContainsKey(current_section.namespaces, namespace_to)) in ParseLink()
[all …]
Dconfigurationtest.h39 for (auto& [_, ns] : section.namespaces) { in ValidateAllNamespacesAreVisible()
45 for (auto& [_, ns] : section.namespaces) { in ValidateAllNamespacesAreVisible()
61 EXPECT_NE(0u, section.namespaces.size()) in ValidateSection()
65 EXPECT_TRUE(MapContainsKey(section.namespaces, std::string("default"))) in ValidateSection()
68 for (auto& [_, target_namespace] : section.namespaces) { in ValidateSection()
Dmodules.h48 std::map<std::string, Namespace> namespaces; member
/system/media/camera/docs/
Dmetadata_model_test.py35 combined_ins = [i for i in combined_children_namespace.namespaces]
80 self.assertIn(ins1, combined_kind.namespaces)
81 self.assertIn(ins2, combined_kind.namespaces)
115 combined_ins = [i for i in combined_children_kind.namespaces]
Dmetadata_model.py531 ins_dict = self._dictionary_by_name(parent.namespaces)
554 if ins not in parent.namespaces:
714 for namespace in i.namespaces:
778 combined._namespaces.extend(k.namespaces)
804 def namespaces(self): member in Kind
821 for i in self.namespaces:
867 for ins in self.namespaces:
870 new_ins._namespaces.extend(ins.namespaces)
904 def namespaces(self): member in InnerNamespace
916 for namespace in self.namespaces:
[all …]
/system/linkerconfig/modules/include/linkerconfig/
Dsection.h53 Section(std::string name, std::vector<Namespace> namespaces) in Section() argument
54 : name_(std::move(name)), namespaces_(std::move(namespaces)) { in Section()
/system/linkerconfig/contents/include/linkerconfig/
Dsectionbuilder.h39 std::vector<modules::Namespace>&& namespaces,
/system/sepolicy/prebuilts/api/34.0/private/
Dkeystore_keys.te1 # Specify keystore2_key namespaces in this file.
/system/sepolicy/private/
Dkeystore_keys.te1 # Specify keystore2_key namespaces in this file.
/system/sepolicy/prebuilts/api/33.0/private/
Dkeystore_keys.te1 # Specify keystore2_key namespaces in this file.
/system/sepolicy/prebuilts/api/31.0/private/
Dkeystore_keys.te1 # Specify keystore2_key namespaces in this file.
/system/sepolicy/prebuilts/api/32.0/private/
Dkeystore_keys.te1 # Specify keystore2_key namespaces in this file.
Dkeystore2_key_contexts2 # This file defines Keystore 2.0 namespaces and maps them to labels.

12345