Home
last modified time | relevance | path

Searched refs:GetFd (Results 1 – 10 of 10) sorted by relevance

/art/profman/
Dprofile_assistant_test.cc111 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/
Dzip_archive_test.cc44 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()
Dmem_map_test.cc391 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()
Dcommon_art_test.h84 int GetFd() const;
Dcommon_art_test.cc92 int ScratchFile::GetFd() const { in GetFd() function in art::ScratchFile
/art/runtime/
Dvdex_file_test.cc34 std::unique_ptr<VdexFile> vdex = VdexFile::Open(tmp.GetFd(), in TEST_F()
/art/runtime/jit/
Dprofiling_info_test.cc95 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/
Dswap_space_test.cc38 int fd = scratch.GetFd(); in SwapTest()
/art/dex2oat/
Ddex2oat_test.cc263 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/
Doat_writer_test.cc769 File zip_fd(DupCloexec(zip_file.GetFd()), /*check_usage=*/ false); in TestZipFileInput()