Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_config_test.cpp171 ASSERT_EQ("system", default_ns_links[0].ns_name()); in run_linker_config_smoke_test()
175 ASSERT_EQ("vndk", default_ns_links[1].ns_name()); in run_linker_config_smoke_test()
187 std::string ns_name = ns->name(); in run_linker_config_smoke_test() local
188 ASSERT_TRUE(ns_name == "system" || ns_name == "default" || in run_linker_config_smoke_test()
189 ns_name == "vndk" || ns_name == "vndk_in_system") in run_linker_config_smoke_test()
192 if (ns_name == "system") { in run_linker_config_smoke_test()
194 } else if (ns_name == "vndk") { in run_linker_config_smoke_test()
196 } else if (ns_name == "vndk_in_system") { in run_linker_config_smoke_test()
216 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()