Lines Matching refs:handle2

207   void* handle2 = android_dlopen_ext(symlink_name.c_str(), RTLD_NOW, &extinfo);  in TEST()  local
208 ASSERT_DL_NOTNULL(handle2); in TEST()
209 ASSERT_TRUE(handle != handle2); in TEST()
211 dlclose(handle2); in TEST()
227 void* handle2 = android_dlopen_ext("libdlext_test.so", RTLD_NOW, &extinfo); in TEST() local
229 ASSERT_DL_NOTNULL(handle2); in TEST()
230 ASSERT_TRUE(handle == handle2); in TEST()
232 dlclose(handle2); in TEST()
848 void* handle2 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST() local
849 ASSERT_TRUE(handle2 != nullptr) << dlerror(); in TEST()
851 ASSERT_TRUE(handle1 != handle2); in TEST()
857 fn_t ns_get_local_string2 = reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_local_string")); in TEST()
869 reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_private_extern_string")); in TEST()
881 reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_public_extern_string")); in TEST()
890 fn_t ns_get_dlopened_string2 = reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_dlopened_string")); in TEST()
916 dlclose(handle2); in TEST()
1392 void* handle2 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST() local
1393 ASSERT_TRUE(handle2 == nullptr); in TEST()
1400 handle2 = android_dlopen_ext(lib_private_external_path.c_str(), RTLD_NOW, &extinfo); in TEST()
1401 ASSERT_TRUE(handle2 == nullptr); in TEST()
1409 handle2 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST()
1410 ASSERT_TRUE(handle2 != nullptr) << dlerror(); in TEST()
1411 dlclose(handle2); in TEST()
1414 handle2 = android_dlopen_ext(lib_private_external_path.c_str(), RTLD_NOW, &extinfo); in TEST()
1415 ASSERT_TRUE(handle2 != nullptr) << dlerror(); in TEST()
1416 dlclose(handle2); in TEST()
1523 void* handle2 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST() local
1524 ASSERT_TRUE(handle2 == nullptr); in TEST()
1530 handle2 = android_dlopen_ext(lib_private_external_path.c_str(), RTLD_NOW, &extinfo); in TEST()
1531 ASSERT_TRUE(handle2 == nullptr); in TEST()
1539 handle2 = android_dlopen_ext(root_lib_isolated, RTLD_NOW, &extinfo); in TEST()
1544 fn_t ns_get_local_string_shared = reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_local_string")); in TEST()
1555 reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_private_extern_string")); in TEST()
1566 reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_public_extern_string")); in TEST()
1575 …fn_t ns_get_dlopened_string_shared = reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_dlopened_string… in TEST()
1587 dlclose(handle2); in TEST()