Searched refs:GetFd (Results 1 – 10 of 10) sorted by relevance
/art/profman/ |
D | profile_assistant_test.cc | 111 ASSERT_TRUE(info->Save(GetFd(profile))); in SetupProfile() 138 ASSERT_TRUE(info->Save(GetFd(profile))); in SetupBasicProfile() 189 int GetFd(const ScratchFile& file) const { in GetFd() function in art::ProfileAssistantTest 190 return static_cast<int>(file.GetFd()); in GetFd() 196 ASSERT_TRUE(file_info.Load(GetFd(file))); in CheckProfileInfo() 277 argv_str.push_back("--dump-output-to-fd=" + std::to_string(GetFd(output_file))); in RunProfman() 381 std::vector<int> profile_fds({ GetFd(profile)}); in CheckCompilationMethodPercentChange() 382 int reference_profile_fd = GetFd(reference_profile); in CheckCompilationMethodPercentChange() 407 std::vector<int> profile_fds({ GetFd(profile)}); in CheckCompilationClassPercentChange() 408 int reference_profile_fd = GetFd(reference_profile); in CheckCompilationClassPercentChange() [all …]
|
/art/libartbase/base/ |
D | zip_archive_test.cc | 44 ASSERT_NE(-1, tmp.GetFd()); in TEST_F() 45 std::unique_ptr<File> file(new File(DupCloexec(tmp.GetFd()), tmp.GetFilename(), false)); in TEST_F()
|
D | mem_map_test.cc | 391 scratch_file.GetFd(), in TEST_F() 475 scratch_file.GetFd(), in TEST_F() 493 scratch_file.GetFd(), in TEST_F() 800 scratch_file.GetFd(), in TEST_F() 842 scratch_file.GetFd(), in TEST_F()
|
D | common_art_test.h | 84 int GetFd() const;
|
D | common_art_test.cc | 92 int ScratchFile::GetFd() const { in GetFd() function in art::ScratchFile
|
/art/runtime/ |
D | vdex_file_test.cc | 34 std::unique_ptr<VdexFile> vdex = VdexFile::Open(tmp.GetFd(), in TEST_F()
|
/art/runtime/jit/ |
D | profiling_info_test.cc | 95 uint32_t GetFd(const ScratchFile& file) { in GetFd() function in art::ProfileCompilationInfoTest 96 return static_cast<uint32_t>(file.GetFd()); in GetFd() 250 ASSERT_TRUE(info1.Load(GetFd(profile))); in TEST_F() 269 ASSERT_TRUE(info2.Load(GetFd(profile))); in TEST_F() 307 ASSERT_TRUE(info.Load(GetFd(profile))); in TEST_F()
|
/art/compiler/utils/ |
D | swap_space_test.cc | 38 int fd = scratch.GetFd(); in SwapTest()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 263 copy.push_back(android::base::StringPrintf("--swap-fd=%d", sf->GetFd())); 768 std::string output_vdex = StringPrintf("--output-vdex-fd=%d", vdex_file2.GetFd()); in RunTestVDex() 1385 ASSERT_TRUE(info.Save(profile_file.GetFd())); in TEST_F() 1792 FILE* file = fdopen(DupCloexec(apk_file.GetFd()), "w+b"); in TEST_F() 1930 FILE* file = fdopen(DupCloexec(dm_file.GetFd()), "w+b"); in TEST_F() 2059 FILE* file = fdopen(DupCloexec(invalid_dex.GetFd()), "w+b"); in TEST_F() 2101 FILE* file = fdopen(DupCloexec(invalid_dex_zip.GetFd()), "w+b"); in TEST_F() 2142 { "--app-image-fd=" + std::to_string(app_image_file.GetFd()) }, in TEST_F() 2226 ASSERT_TRUE(info.Save(profile_file.GetFd())); in TEST_F()
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 769 File zip_fd(DupCloexec(zip_file.GetFd()), /*check_usage=*/ false); in TestZipFileInput()
|