Home
last modified time | relevance | path

Searched refs:Namespace (Results 1 – 25 of 54) sorted by relevance

123

/system/linkerconfig/modules/tests/
Dsection_test.cc97 std::vector<Namespace> namespaces; in TEST()
115 std::vector<Namespace> namespaces; in TEST()
126 std::vector<Namespace> namespaces; in TEST()
127 Namespace& foo = namespaces.emplace_back("foo"); in TEST()
130 Namespace& bar = namespaces.emplace_back("bar"); in TEST()
132 Namespace& baz = namespaces.emplace_back("baz"); in TEST()
156 std::vector<Namespace> namespaces; in TEST()
157 Namespace& foo1 = namespaces.emplace_back("foo1"); in TEST()
159 Namespace& foo2 = namespaces.emplace_back("foo2"); in TEST()
161 Namespace& bar = namespaces.emplace_back("bar"); in TEST()
[all …]
Dmodules_testbase.h22 inline Namespace CreateNamespaceWithPaths(const std::string& name, in CreateNamespaceWithPaths()
24 Namespace ns(name, is_isolated, is_visible); in CreateNamespaceWithPaths()
33 inline Namespace CreateNamespaceWithLinks(const std::string& name, in CreateNamespaceWithLinks()
37 Namespace ns = CreateNamespaceWithPaths(name, is_isolated, is_visible); in CreateNamespaceWithLinks()
Dapex_test.cc38 using ::android::linkerconfig::modules::Namespace;
45 Namespace ns("foo"); in TEST()
74 Namespace foo("foo"), bar("bar"); in TEST()
98 std::vector<Namespace> namespaces; in TEST()
112 Namespace ns("foo"); in TEST()
/system/linkerconfig/modules/
Dnamespace.cc30 const android::linkerconfig::modules::Namespace& ns) { in VerifyIfApexNamespaceContainsAllSharedLink()
55 void InitializeWithApex(Namespace& ns, const ApexInfo& apex_info) { in InitializeWithApex()
70 Link& Namespace::GetLink(const std::string& target_namespace) { in GetLink()
79 void Namespace::WriteConfig(ConfigWriter& writer) { in WriteConfig()
116 void Namespace::AddSearchPath(const std::string& path) { in AddSearchPath()
125 void Namespace::AddPermittedPath(const std::string& path) { in AddPermittedPath()
134 void Namespace::AddAllowedLib(const std::string& path) { in AddAllowedLib()
138 std::string Namespace::GetName() const { in GetName()
142 bool Namespace::RequiresAsanPath(const std::string& path) { in RequiresAsanPath()
146 const std::string Namespace::CreateAsanPath(const std::string& path) { in CreateAsanPath()
[all …]
/system/linkerconfig/modules/include/linkerconfig/
Dnamespace.h32 class Namespace {
34 explicit Namespace(std::string name, bool is_isolated = false,
41 Namespace(const Namespace& ns) = delete;
42 Namespace(Namespace&& ns) = default;
43 Namespace& operator=(Namespace&& ns) = default;
128 void InitializeWithApex(Namespace& ns, const ApexInfo& apex_info);
Dsection.h44 std::function<Namespace()> ns_builder;
52 Section(std::string name, std::vector<Namespace> namespaces) in Section()
65 Namespace* GetNamespace(const std::string& namespace_name);
76 std::vector<Namespace> namespaces_;
/system/linkerconfig/contents/namespace/
Drecoverydefault.cc21 using android::linkerconfig::modules::Namespace;
26 Namespace BuildRecoveryDefaultNamespace([[maybe_unused]] const Context& ctx) { in BuildRecoveryDefaultNamespace()
27 Namespace ns("default"); in BuildRecoveryDefaultNamespace()
Disolateddefault.cc22 using android::linkerconfig::modules::Namespace;
27 Namespace BuildIsolatedDefaultNamespace([[maybe_unused]] const Context& ctx) { in BuildIsolatedDefaultNamespace()
28 Namespace ns("default", /*is_isolated=*/true, /*is_visible=*/false); in BuildIsolatedDefaultNamespace()
Dpostinstall.cc19 using android::linkerconfig::modules::Namespace;
24 Namespace BuildPostInstallNamespace([[maybe_unused]] const Context& ctx) { in BuildPostInstallNamespace()
25 Namespace ns("default", /*is_isolated=*/false, in BuildPostInstallNamespace()
Dapexemptydefault.cc23 using android::linkerconfig::modules::Namespace;
28 Namespace BuildApexEmptyDefaultNamespace([[maybe_unused]] const Context& ctx, in BuildApexEmptyDefaultNamespace()
30 Namespace ns("default", /*is_isolated=*/true, /*is_visible=*/false); in BuildApexEmptyDefaultNamespace()
Dapexdefault.cc26 using android::linkerconfig::modules::Namespace;
31 Namespace BuildApexDefaultNamespace([[maybe_unused]] const Context& ctx, in BuildApexDefaultNamespace()
33 Namespace ns("default", /*is_isolated=*/true, /*is_visible=*/false); in BuildApexDefaultNamespace()
Dunrestricteddefault.cc23 using android::linkerconfig::modules::Namespace;
28 Namespace BuildUnrestrictedDefaultNamespace([[maybe_unused]] const Context& ctx) { in BuildUnrestrictedDefaultNamespace()
29 Namespace ns("default", /*is_isolated=*/false, /*is_visible=*/true); in BuildUnrestrictedDefaultNamespace()
Dsystem.cc25 using android::linkerconfig::modules::Namespace;
30 Namespace BuildSystemNamespace([[maybe_unused]] const Context& ctx) { in BuildSystemNamespace()
31 Namespace ns("system", /*is_isolated=*/false, /*is_visible=*/false); in BuildSystemNamespace()
Dsystemdefault.cc26 using android::linkerconfig::modules::Namespace;
32 void SetupSystemPermittedPaths(Namespace* ns) { in SetupSystemPermittedPaths()
86 Namespace BuildSystemDefaultNamespace([[maybe_unused]] const Context& ctx) { in BuildSystemDefaultNamespace()
93 Namespace ns("default", in BuildSystemDefaultNamespace()
Dapexplatform.cc28 using android::linkerconfig::modules::Namespace;
33 Namespace BuildApexPlatformNamespace([[maybe_unused]] const Context& ctx) { in BuildApexPlatformNamespace()
34 Namespace ns("system", /*is_isolated=*/true, /*is_visible=*/true); in BuildApexPlatformNamespace()
Dproductdefault.cc23 using android::linkerconfig::modules::Namespace;
28 Namespace BuildProductDefaultNamespace([[maybe_unused]] const Context& ctx) { in BuildProductDefaultNamespace()
29 Namespace ns("default", /*is_isolated=*/true, /*is_visible=*/true); in BuildProductDefaultNamespace()
Drs.cc24 using android::linkerconfig::modules::Namespace;
29 Namespace BuildRsNamespace([[maybe_unused]] const Context& ctx) { in BuildRsNamespace()
30 Namespace ns( in BuildRsNamespace()
Dvndkinsystem.cc33 using android::linkerconfig::modules::Namespace;
38 Namespace BuildVndkInSystemNamespace([[maybe_unused]] const Context& ctx) { in BuildVndkInSystemNamespace()
39 Namespace ns("vndk_in_system", in BuildVndkInSystemNamespace()
Dvendordefault.cc26 using android::linkerconfig::modules::Namespace;
31 Namespace BuildVendorDefaultNamespace([[maybe_unused]] const Context& ctx) { in BuildVendorDefaultNamespace()
32 Namespace ns("default", /*is_isolated=*/true, /*is_visible=*/true); in BuildVendorDefaultNamespace()
Dsphal.cc29 using android::linkerconfig::modules::Namespace;
34 Namespace BuildSphalNamespace([[maybe_unused]] const Context& ctx) { in BuildSphalNamespace()
37 Namespace ns("sphal", in BuildSphalNamespace()
/system/linkerconfig/contents/include/linkerconfig/
Dnamespacebuilder.h31 typedef modules::Namespace NamespaceBuilder(const Context& ctx);
45 modules::Namespace BuildVndkNamespace(const Context& ctx,
49 modules::Namespace BuildApexDefaultNamespace(const Context& ctx,
51 modules::Namespace BuildApexEmptyDefaultNamespace(
/system/linkerconfig/contents/tests/configuration/include/
Dmodules.h23 struct Namespace;
26 Namespace *from, *to;
31 struct Namespace { struct
46 std::map<std::string, Namespace> namespaces; argument
/system/extras/perf2cfg/
Dperf2cfg.py32 def parse_arguments() -> argparse.Namespace:
86 def analyze_record_files(args: argparse.Namespace) -> analyze.RecordAnalyzer: argument
103 args: argparse.Namespace) -> None: argument
122 args: argparse.Namespace) -> None: argument
/system/linkerconfig/contents/section/
Drecovery.cc22 using android::linkerconfig::modules::Namespace;
29 std::vector<Namespace> namespaces; in BuildRecoverySection()
Dpostinstall.cc29 using android::linkerconfig::modules::Namespace;
37 std::vector<Namespace> namespaces; in BuildPostInstallSection()

123