Searched refs:shared_libs (Results 1 - 5 of 5) sorted by relevance

/bionic/linker/
H A Dlinker_config.h45 NamespaceLinkConfig(const std::string& ns_name, const std::string& shared_libs, argument
47 : ns_name_(ns_name), shared_libs_(shared_libs),
54 const std::string& shared_libs() const { function in class:NamespaceLinkConfig
98 void add_namespace_link(const std::string& ns_name, const std::string& shared_libs, argument
100 namespace_links_.push_back(NamespaceLinkConfig(ns_name, shared_libs, allow_all_shared_libs));
H A Dlinker_config.cpp298 android::base::EndsWith(name, ".shared_libs")) {
495 std::string shared_libs = properties.get_string(property_name_prefix + local
498 ".shared_libs", &lineno);
500 if (!allow_all_shared_libs && shared_libs.empty()) {
503 std::string("list of shared_libs for ") +
511 if (allow_all_shared_libs && !shared_libs.empty()) {
513 std::string("both shared_libs and allow_all_shared_libs "
519 ns_config->add_namespace_link(linked_ns_name, shared_libs, allow_all_shared_libs);
H A Dlinker.cpp3845 link_namespaces(namespace_from, namespace_to, ns_link.shared_libs().c_str());
/bionic/linker/tests/
H A Dlinker_config_test.cpp69 "namespace.default.link.system.shared_libs= libc.so\n"
70 "namespace.default.link.system.shared_libs += libm.so:libdl.so\n"
71 "namespace.default.link.system.shared_libs +=libstdc++.so\n"
72 "namespace.default.link.vndk.shared_libs = libcutils.so:libbase.so\n"
161 ASSERT_EQ("libc.so:libm.so:libdl.so:libstdc++.so", default_ns_links[0].shared_libs());
165 ASSERT_EQ("libcutils.so:libbase.so", default_ns_links[1].shared_libs());
215 // both shared_libs and allow_all_shared_libs.
223 "namespace.default.link.system.shared_libs = libc.so:libm.so\n"
246 "error: both shared_libs and allow_all_shared_libs are set for default->system link.",
/bionic/tests/
H A Ddlext_test.cpp643 std::string shared_libs = g_core_shared_libs + ":" + g_public_lib; local
654 ASSERT_TRUE(android_init_anonymous_namespace(shared_libs.c_str(), nullptr)) << dlerror();
675 ASSERT_TRUE(android_link_namespaces(ns1, nullptr, shared_libs.c_str())) << dlerror();
685 ASSERT_TRUE(android_link_namespaces(ns2, nullptr, shared_libs.c_str())) << dlerror();
1201 std::string shared_libs = g_core_shared_libs + ":libthatdoesnotexist.so"; local
1225 ASSERT_TRUE(android_link_namespaces(ns2, ns1, shared_libs.c_str())) << dlerror();
1226 ASSERT_TRUE(android_link_namespaces(ns1, ns2, shared_libs.c_str())) << dlerror();
1239 std::string shared_libs = g_core_shared_libs + ":" + g_public_lib; local
1247 ASSERT_TRUE(android_init_anonymous_namespace(shared_libs.c_str(), nullptr)) << dlerror();
1257 ASSERT_TRUE(android_link_namespaces(ns_not_isolated, nullptr, shared_libs
1352 std::string shared_libs = g_core_shared_libs + ":" + g_public_lib; local
1862 std::string shared_libs = g_core_shared_libs + ":" + g_public_lib; local
[all...]

Completed in 88 milliseconds