Home
last modified time | relevance | path

Searched refs:test_lib (Results 1 – 3 of 3) sorted by relevance

/system/unwinding/libunwindstack/tests/
DAndroidUnwinderTest.cpp354 void* test_lib = GetTestLibHandle(); in TEST() local
355 ASSERT_TRUE(test_lib != nullptr); in TEST()
356 int (*wait_func)() = reinterpret_cast<int (*)()>(dlsym(test_lib, "WaitForever")); in TEST()
/system/core/debuggerd/
Ddebuggerd_test.cpp1847 std::string test_lib(testing::internal::GetArgvs()[0]); in GetTestLibraryPath() local
1848 auto const value = test_lib.find_last_of('/'); in GetTestLibraryPath()
1850 test_lib = "./"; in GetTestLibraryPath()
1852 test_lib = test_lib.substr(0, value + 1) + "./"; in GetTestLibraryPath()
1854 return test_lib + "libcrash_test.so"; in GetTestLibraryPath()
1858 std::string test_lib(GetTestLibraryPath()); in CreateEmbeddedLibrary() local
1859 android::base::unique_fd fd(open(test_lib.c_str(), O_RDONLY | O_CLOEXEC)); in CreateEmbeddedLibrary()
1909 std::string test_lib(GetTestLibraryPath()); in CopySharedLibrary() local
1912 std::string cp_cmd = android::base::StringPrintf("cp %s %s", test_lib.c_str(), tmp_dir); in CopySharedLibrary()
/system/unwinding/libbacktrace/
Dbacktrace_test.cpp1211 std::string test_lib(testing::internal::GetArgvs()[0]); in CopySharedLibrary() local
1212 auto const value = test_lib.find_last_of('/'); in CopySharedLibrary()
1214 test_lib = "./"; in CopySharedLibrary()
1216 test_lib = test_lib.substr(0, value + 1) + "./"; in CopySharedLibrary()
1218 test_lib += "libbacktrace_test.so"; in CopySharedLibrary()
1221 std::string cp_cmd = android::base::StringPrintf("cp %s %s", test_lib.c_str(), tmp_dir); in CopySharedLibrary()