Home | History | Annotate | Download | only in tests

Lines Matching defs:ns1

667   android_namespace_t* ns1 =
674 ASSERT_TRUE(ns1 != nullptr) << dlerror();
675 ASSERT_TRUE(android_link_namespaces(ns1, nullptr, shared_libs.c_str())) << dlerror();
721 extinfo.library_namespace = ns1;
746 extinfo.library_namespace = ns1;
1199 // Test that ns1->ns2->ns1 link does not break the loader
1205 android_namespace_t* ns1 =
1206 android_create_namespace("ns1",
1213 ASSERT_TRUE(android_link_namespaces(ns1, nullptr, g_core_shared_libs.c_str())) << dlerror();
1216 android_create_namespace("ns1",
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();
1230 extinfo.library_namespace = ns1;
1625 android_namespace_t* ns1 =
1632 ASSERT_TRUE(ns1 != nullptr) << dlerror();
1633 ASSERT_TRUE(android_link_namespaces(ns1, nullptr, g_core_shared_libs.c_str())) << dlerror();
1647 extinfo.library_namespace = ns1;
1661 ns1);
1666 // Now - only ns1 and ns1 child should be able to dlopen root_lib
1676 // now ns1
1678 extinfo.library_namespace = ns1;