Home
last modified time | relevance | path

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

123

/system/linkerconfig/modules/tests/
Dsection_test.cc126 std::vector<Namespace> namespaces; in TEST()
144 std::vector<Namespace> namespaces; in TEST()
155 std::vector<Namespace> namespaces; in TEST()
156 Namespace& foo = namespaces.emplace_back("foo"); in TEST()
159 Namespace& bar = namespaces.emplace_back("bar"); in TEST()
161 Namespace& baz = namespaces.emplace_back("baz"); in TEST()
189 std::vector<Namespace> namespaces; in TEST()
190 Namespace& foo1 = namespaces.emplace_back("foo1"); in TEST()
192 Namespace& foo2 = namespaces.emplace_back("foo2"); in TEST()
194 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()
/system/linkerconfig/modules/
Dnamespace.cc31 const android::linkerconfig::modules::Namespace& ns) { in VerifyIfApexNamespaceContainsAllSharedLink()
57 void InitializeWithApex(Namespace& ns, const ApexInfo& apex_info) { in InitializeWithApex()
78 Link& Namespace::GetLink(const std::string& target_namespace) { in GetLink()
87 void Namespace::WriteConfig(ConfigWriter& writer) const { in WriteConfig()
132 void Namespace::AddSearchPath(const std::string& path) { in AddSearchPath()
141 void Namespace::AddPermittedPath(const std::string& path) { in AddPermittedPath()
150 void Namespace::AddAllowedLib(const std::string& path) { in AddAllowedLib()
154 std::string Namespace::GetName() const { in GetName()
158 bool Namespace::RequiresAsanPath(const std::string& path) { in RequiresAsanPath()
162 const std::string Namespace::CreateAsanPath(const std::string& path) { in CreateAsanPath()
[all …]
/system/linkerconfig/contents/include/linkerconfig/
Dnamespacebuilder.h27 typedef modules::Namespace NamespaceBuilder(const Context& ctx);
41 modules::Namespace BuildVendorNamespace(const Context& ctx,
43 modules::Namespace BuildProductNamespace(const Context& ctx,
46 modules::Namespace BuildVndkNamespace(const Context& ctx,
50 modules::Namespace BuildApexDefaultNamespace(const Context& ctx,
52 modules::Namespace BuildApexEmptyDefaultNamespace(
Dcommon.h40 void AddLlndkLibraries(const Context& ctx, modules::Namespace* ns,
43 void SetupSystemPermittedPaths(modules::Namespace* ns);
/system/linkerconfig/modules/include/linkerconfig/
Dnamespace.h37 class Namespace {
39 explicit Namespace(std::string name, bool is_isolated = false,
46 Namespace(const Namespace& ns) = delete;
47 Namespace(Namespace&& ns) = default;
48 Namespace& operator=(Namespace&& ns) = default;
134 void InitializeWithApex(Namespace& ns, const ApexInfo& apex_info);
Dsection.h63 std::function<Namespace()> ns_builder;
72 Section(std::string name, std::vector<Namespace> namespaces) in Section()
84 Namespace* GetNamespace(const std::string& namespace_name);
95 std::vector<Namespace> namespaces_;
/system/linkerconfig/contents/namespace/
Dvendordefault.cc30 using android::linkerconfig::modules::Namespace;
35 Namespace BuildVendorDefaultNamespace(const Context& ctx) { in BuildVendorDefaultNamespace()
39 Namespace BuildVendorNamespace([[maybe_unused]] const Context& ctx, in BuildVendorNamespace()
41 Namespace ns(name, /*is_isolated=*/true, /*is_visible=*/true); in BuildVendorNamespace()
71 static Namespace BuildVendorSubdirNamespace(const Context&, in BuildVendorSubdirNamespace()
74 Namespace ns(name, /*is_isolated=*/true, /*is_visible=*/true); in BuildVendorSubdirNamespace()
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()
Dproductdefault.cc26 using android::linkerconfig::modules::Namespace;
31 Namespace BuildProductDefaultNamespace(const Context& ctx) { in BuildProductDefaultNamespace()
35 Namespace BuildProductNamespace(const Context& ctx, const std::string& name) { in BuildProductNamespace()
36 Namespace ns(name, /*is_isolated=*/true, /*is_visible=*/true); in BuildProductNamespace()
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()
Dsystemdefault.cc25 using android::linkerconfig::modules::Namespace;
31 void SetupSystemPermittedPaths(Namespace* ns) { in SetupSystemPermittedPaths()
85 Namespace BuildSystemDefaultNamespace([[maybe_unused]] const Context& ctx) { in BuildSystemDefaultNamespace()
93 Namespace ns("default", in BuildSystemDefaultNamespace()
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.cc24 using android::linkerconfig::modules::Namespace;
29 Namespace BuildSystemNamespace([[maybe_unused]] const Context& ctx) { in BuildSystemNamespace()
30 Namespace ns("system", /*is_isolated=*/false, /*is_visible=*/false); in BuildSystemNamespace()
Dapexplatform.cc27 using android::linkerconfig::modules::Namespace;
32 Namespace BuildApexPlatformNamespace([[maybe_unused]] const Context& ctx) { in BuildApexPlatformNamespace()
33 Namespace ns("system", /*is_isolated=*/true, /*is_visible=*/true); in BuildApexPlatformNamespace()
Dvndkinsystem.cc34 using android::linkerconfig::modules::Namespace;
39 Namespace BuildVndkInSystemNamespace([[maybe_unused]] const Context& ctx) { in BuildVndkInSystemNamespace()
40 Namespace ns("vndk_in_system", in BuildVndkInSystemNamespace()
Drs.cc28 using android::linkerconfig::modules::Namespace;
33 Namespace BuildRsNamespace([[maybe_unused]] const Context& ctx) { in BuildRsNamespace()
34 Namespace ns( in BuildRsNamespace()
Dsphal.cc33 using android::linkerconfig::modules::Namespace;
38 Namespace BuildSphalNamespace([[maybe_unused]] const Context& ctx) { in BuildSphalNamespace()
41 Namespace ns("sphal", in BuildSphalNamespace()
/system/linkerconfig/devicetest/src/android/linkerconfig/gts/utils/elements/
DSection.java30 Namespace defaultNamespace = new Namespace(); in Section()
45 public Map<String, Namespace> namespaces = new HashMap<>();
48 public Namespace getNamespaceFromName(String namespace) { in getNamespaceFromName()
61 Namespace ns = new Namespace(); in parseConfiguration()
79 Namespace ns = getNamespaceFromName(targetNamespace); in parseConfiguration()
/system/linkerconfig/contents/tests/configuration/include/
Dmodules.h23 struct Namespace;
26 Namespace *from, *to;
31 struct Namespace { struct
48 std::map<std::string, Namespace> namespaces; argument
/system/linkerconfig/contents/common/
Dsystem_links.cc41 using android::linkerconfig::modules::Namespace;
48 section->ForEachNamespaces([&](Namespace& ns) { in AddStandardSystemLinks()
64 void AddLlndkLibraries(const Context& ctx, Namespace* ns, in AddLlndkLibraries()
/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

123