Home
last modified time | relevance | path

Searched refs:ns_name (Results 1 – 3 of 3) sorted by relevance

/bionic/linker/
Dlinker_config_test.cpp207 ASSERT_EQ("system", default_ns_links[0].ns_name()); in run_linker_config_smoke_test()
211 ASSERT_EQ("vndk", default_ns_links[1].ns_name()); in run_linker_config_smoke_test()
223 std::string ns_name = ns->name(); in run_linker_config_smoke_test() local
224 ASSERT_TRUE(ns_name == "system" || ns_name == "default" || in run_linker_config_smoke_test()
225 ns_name == "vndk" || ns_name == "vndk_in_system") in run_linker_config_smoke_test()
228 if (ns_name == "system") { in run_linker_config_smoke_test()
230 } else if (ns_name == "vndk") { in run_linker_config_smoke_test()
232 } else if (ns_name == "vndk_in_system") { in run_linker_config_smoke_test()
252 ASSERT_EQ("default", ns_vndk_links[0].ns_name()); in run_linker_config_smoke_test()
Dlinker_config.h52 NamespaceLinkConfig(const std::string& ns_name, const std::string& shared_libs, in NamespaceLinkConfig() argument
54 : ns_name_(ns_name), shared_libs_(shared_libs), in NamespaceLinkConfig()
57 const std::string& ns_name() const { in ns_name() function
107 void add_namespace_link(const std::string& ns_name, const std::string& shared_libs, in add_namespace_link() argument
109 namespace_links_.push_back(NamespaceLinkConfig(ns_name, shared_libs, allow_all_shared_libs)); in add_namespace_link()
Dlinker.cpp3621 auto it_to = namespaces.find(ns_link.ns_name()); in init_default_namespaces()