Lines Matching refs:handle2
205 void* handle2 = android_dlopen_ext(symlink_name.c_str(), RTLD_NOW, &extinfo); in TEST() local
206 ASSERT_DL_NOTNULL(handle2); in TEST()
207 ASSERT_TRUE(handle != handle2); in TEST()
209 dlclose(handle2); in TEST()
225 void* handle2 = android_dlopen_ext("libdlext_test.so", RTLD_NOW, &extinfo); in TEST() local
227 ASSERT_DL_NOTNULL(handle2); in TEST()
228 ASSERT_TRUE(handle == handle2); in TEST()
230 dlclose(handle2); in TEST()
847 void* handle2 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST() local
848 ASSERT_TRUE(handle2 != nullptr) << dlerror(); in TEST()
850 ASSERT_TRUE(handle1 != handle2); in TEST()
856 fn_t ns_get_local_string2 = reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_local_string")); in TEST()
868 reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_private_extern_string")); in TEST()
880 reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_public_extern_string")); in TEST()
889 fn_t ns_get_dlopened_string2 = reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_dlopened_string")); in TEST()
915 dlclose(handle2); in TEST()
1394 void* handle2 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST() local
1395 ASSERT_TRUE(handle2 == nullptr); in TEST()
1402 handle2 = android_dlopen_ext(lib_private_external_path.c_str(), RTLD_NOW, &extinfo); in TEST()
1403 ASSERT_TRUE(handle2 == nullptr); in TEST()
1411 handle2 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST()
1412 ASSERT_TRUE(handle2 != nullptr) << dlerror(); in TEST()
1413 dlclose(handle2); in TEST()
1416 handle2 = android_dlopen_ext(lib_private_external_path.c_str(), RTLD_NOW, &extinfo); in TEST()
1417 ASSERT_TRUE(handle2 != nullptr) << dlerror(); in TEST()
1418 dlclose(handle2); in TEST()
1525 void* handle2 = android_dlopen_ext(root_lib, RTLD_NOW, &extinfo); in TEST() local
1526 ASSERT_TRUE(handle2 == nullptr); in TEST()
1532 handle2 = android_dlopen_ext(lib_private_external_path.c_str(), RTLD_NOW, &extinfo); in TEST()
1533 ASSERT_TRUE(handle2 == nullptr); in TEST()
1541 handle2 = android_dlopen_ext(root_lib_isolated, RTLD_NOW, &extinfo); in TEST()
1546 fn_t ns_get_local_string_shared = reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_local_string")); in TEST()
1557 reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_private_extern_string")); in TEST()
1568 reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_public_extern_string")); in TEST()
1577 …fn_t ns_get_dlopened_string_shared = reinterpret_cast<fn_t>(dlsym(handle2, "ns_get_dlopened_string… in TEST()
1589 dlclose(handle2); in TEST()