Lines Matching defs:handle2
210 void* handle2 = android_dlopen_ext("libdlext_test_v2.so", RTLD_NOW, &extinfo);
211 ASSERT_DL_NOTNULL(handle2);
212 ASSERT_TRUE(handle != handle2);
214 dlclose(handle2);
228 void* handle2 = android_dlopen_ext("libdlext_test.so", RTLD_NOW, &extinfo);
230 ASSERT_DL_NOTNULL(handle2);
231 ASSERT_TRUE(handle == handle2);
233 dlclose(handle2);
674 void* handle2 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo);
675 ASSERT_TRUE(handle2 != nullptr) << dlerror();
677 ASSERT_TRUE(handle1 != handle2);
691 fn_t ns_get_local_string2 = reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_local_string"));
703 reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_private_extern_string"));
715 reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_public_extern_string"));
724 fn_t ns_get_dlopened_string2 = reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_dlopened_string"));
734 // Check if handle2 is still alive (and well)
740 dlclose(handle2);
800 void* handle2 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo);
801 ASSERT_TRUE(handle2 == nullptr);
805 handle2 = android_dlopen_ext(lib_private_external_path.c_str(), RTLD_NOW, &extinfo);
806 ASSERT_TRUE(handle2 == nullptr);
814 handle2 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo);
815 ASSERT_TRUE(handle2 != nullptr) << dlerror();
816 dlclose(handle2);
819 handle2 = android_dlopen_ext(lib_private_external_path.c_str(), RTLD_NOW, &extinfo);
820 ASSERT_TRUE(handle2 != nullptr) << dlerror();
821 dlclose(handle2);
902 void* handle2 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo);
903 ASSERT_TRUE(handle2 == nullptr);
907 handle2 = android_dlopen_ext(lib_private_external_path.c_str(), RTLD_NOW, &extinfo);
908 ASSERT_TRUE(handle2 == nullptr);
916 handle2 = android_dlopen_ext(root_lib_isolated, RTLD_NOW, &extinfo);
921 fn_t ns_get_local_string_shared = reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_local_string"));
932 reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_private_extern_string"));
943 reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_public_extern_string"));
952 fn_t ns_get_dlopened_string_shared = reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_dlopened_string"));
964 dlclose(handle2);