Home | History | Annotate | Download | only in tests

Lines Matching full:c_str

113   extinfo.library_fd = TEMP_FAILURE_RETRY(open(lib_path.c_str(), O_RDONLY | O_CLOEXEC));
115 handle_ = android_dlopen_ext(lib_path.c_str(), RTLD_NOW, &extinfo);
131 extinfo.library_fd = TEMP_FAILURE_RETRY(open(lib_path.c_str(), O_RDONLY | O_CLOEXEC));
135 ASSERT_EQ(0, OpenArchive(lib_path.c_str(), &handle));
144 handle_ = android_dlopen_ext(lib_path.c_str(), RTLD_NOW, &extinfo);
156 ASSERT_TRUE(realpath(lib_path.c_str(), lib_realpath_buf) == lib_realpath_buf);
161 extinfo.library_fd = TEMP_FAILURE_RETRY(open(lib_path.c_str(), O_RDONLY | O_CLOEXEC));
240 void* handle = dlopen((lib_path + "!/libdir/libatest_simple_zip.so").c_str(), RTLD_NOW);
253 void* handle = dlopen((lib_path + "!/libdir/libtest_dt_runpath_d_zip.so").c_str(), RTLD_NOW);
280 android_update_LD_LIBRARY_PATH(lib_path.c_str());
629 ASSERT_FALSE(android_init_namespaces(path.c_str(), nullptr));
638 void* handle_public = dlopen(lib_public_path.c_str(), RTLD_NOW);
641 ASSERT_TRUE(android_init_namespaces(path.c_str(), nullptr)) << dlerror();
645 handle_public = dlopen((lib_path + "/public_namespace_libs/" + g_public_lib).c_str(),
652 (lib_path + "/private_namespace_libs").c_str(),
658 (lib_path + "/private_namespace_libs").c_str(),
683 handle = android_dlopen_ext(lib_public_path.c_str(), RTLD_NOW, &extinfo);
751 void* handle_public = dlopen(lib_public_path.c_str(), RTLD_NOW);
756 ASSERT_TRUE(android_init_namespaces(path.c_str(), nullptr)) << dlerror();
760 (lib_path + "/private_namespace_libs").c_str(),
767 (lib_path + "/private_namespace_libs").c_str(),
775 (lib_path + "/private_namespace_libs").c_str(),
778 lib_path.c_str(),
790 void* handle = dlopen(lib_private_external_path.c_str(), RTLD_NOW);
807 handle2 = android_dlopen_ext(lib_private_external_path.c_str(), RTLD_NOW, &extinfo);
821 handle2 = android_dlopen_ext(lib_private_external_path.c_str(), RTLD_NOW, &extinfo);
858 void* handle_public = dlopen(lib_public_path.c_str(), RTLD_NOW);
863 ASSERT_TRUE(android_init_namespaces(path.c_str(), nullptr)) << dlerror();
868 dlopen((lib_path + "/private_namespace_libs/libnstest_dlopened.so").c_str(), RTLD_NOW);
873 (lib_path + "/private_namespace_libs").c_str(),
879 c_str(),
892 void* handle = dlopen(lib_private_external_path.c_str(), RTLD_NOW);
909 handle2 = android_dlopen_ext(lib_private_external_path.c_str(), RTLD_NOW, &extinfo);
976 ASSERT_TRUE(android_init_namespaces(path.c_str(), nullptr)) << dlerror();
981 dlopen((lib_path + "/private_namespace_libs/libnstest_dlopened.so").c_str(), RTLD_NOW);
986 (lib_path + "/private_namespace_libs").c_str(),
1007 handle = android_dlopen_ext((lib_path + "/private_namespace_libs/libnstest_dlopened.so").c_str(),
1016 handle = dlopen((lib_path + "/private_namespace_libs/libnstest_dlopened.so").c_str(),
1024 void* handle_public = dlopen(lib_public_path.c_str(), RTLD_NOW);
1037 ASSERT_TRUE(android_init_namespaces(path.c_str(), nullptr));
1046 (lib_path + "/private_namespace_libs").c_str(),
1048 lib_public_path.c_str(),
1055 (lib_path + "/private_namespace_libs").c_str(),
1057 lib_public_path.c_str(),
1065 void* handle_global = android_dlopen_ext((lib_public_path + "/" + g_public_lib).c_str(),
1074 (lib_path + "/private_namespace_libs").c_str(),
1112 void* handle_public = dlopen(lib_public_path.c_str(), RTLD_NOW);
1116 ASSERT_TRUE(android_init_namespaces(path.c_str(), (lib_path + "/private_namespace_libs").c_str()))
1121 (lib_path + "/private_namespace_libs").c_str(),
1133 void* handle = android_dlopen_ext(private_library_absolute_path.c_str(), RTLD_NOW, &extinfo);