Searched refs:GetFd (Results 1 – 12 of 12) sorted by relevance
/art/libprofile/profile/ |
D | profile_boot_info_test.cc | 42 ASSERT_TRUE(loaded_info.Load(profile.GetFd(), dex_files)); in TEST_F() 53 ASSERT_TRUE(saved_info.Save(profile.GetFd())); in TEST_F() 57 ASSERT_TRUE(loaded_info.Load(profile.GetFd(), dex_files)); in TEST_F() 77 ASSERT_TRUE(saved_info.Save(profile.GetFd())); in TEST_F() 81 ASSERT_TRUE(loaded_info.Load(profile.GetFd(), dex_files2)); in TEST_F() 100 ASSERT_TRUE(saved_info.Save(profile.GetFd())); in TEST_F() 110 ASSERT_FALSE(loaded_info.Load(profile.GetFd(), dex_files2)); in TEST_F()
|
D | profile_compilation_info_test.cc | 101 uint32_t GetFd(const ScratchFile& file) { in GetFd() function in art::ProfileCompilationInfoTest 102 return static_cast<uint32_t>(file.GetFd()); in GetFd() 186 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TestProfileLoadFromZip() 262 ASSERT_TRUE(boot_profile.Save(GetFd(boot_file))); in SizeStressTest() 263 ASSERT_TRUE(reg_profile.Save(GetFd(reg_file))); in SizeStressTest() 269 ASSERT_TRUE(loaded_boot.Load(GetFd(boot_file))); in SizeStressTest() 270 ASSERT_TRUE(loaded_reg.Load(GetFd(reg_file))); in SizeStressTest() 308 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F() 314 ASSERT_TRUE(loaded_info.Load(GetFd(profile))); in TEST_F() 324 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F() [all …]
|
/art/profman/ |
D | profile_assistant_test.cc | 111 ASSERT_TRUE(info->Save(GetFd(profile))); in SetupProfile() 131 ASSERT_TRUE(info->Save(GetFd(profile))); in SetupBasicProfile() 173 int GetFd(const ScratchFile& file) const { in GetFd() function in art::ProfileAssistantTest 174 return static_cast<int>(file.GetFd()); in GetFd() 180 ASSERT_TRUE(file_info.Load(GetFd(file))); in CheckProfileInfo() 263 argv_str.push_back("--dump-output-to-fd=" + std::to_string(GetFd(output_file))); in RunProfman() 366 std::vector<int> profile_fds({ GetFd(profile)}); in CheckCompilationMethodPercentChange() 367 int reference_profile_fd = GetFd(reference_profile); in CheckCompilationMethodPercentChange() 391 std::vector<int> profile_fds({ GetFd(profile)}); in CheckCompilationClassPercentChange() 392 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() 796 scratch_file.GetFd(), in TEST_F() 838 scratch_file.GetFd(), in TEST_F()
|
D | common_art_test.h | 87 int GetFd() const;
|
D | common_art_test.cc | 123 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 | 64 uint32_t GetFd(const ScratchFile& file) { in GetFd() function in art::ProfileCompilationInfoTest 65 return static_cast<uint32_t>(file.GetFd()); in GetFd() 219 ASSERT_TRUE(info1.Load(GetFd(profile))); in TEST_F() 240 ASSERT_TRUE(info2.Load(GetFd(profile))); in TEST_F() 280 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 | 277 copy.push_back(android::base::StringPrintf("--swap-fd=%d", sf->GetFd())); 780 std::string output_vdex = StringPrintf("--output-vdex-fd=%d", vdex_file2.GetFd()); in RunTestVDex() 1406 ASSERT_TRUE(info.Save(profile_file.GetFd())); in TEST_F() 1814 FILE* file = fdopen(DupCloexec(apk_file.GetFd()), "w+b"); in TEST_F() 1950 FILE* file = fdopen(DupCloexec(dm_file.GetFd()), "w+b"); in TEST_F() 2080 FILE* file = fdopen(DupCloexec(invalid_dex.GetFd()), "w+b"); in TEST_F() 2122 FILE* file = fdopen(DupCloexec(invalid_dex_zip.GetFd()), "w+b"); in TEST_F() 2163 { "--app-image-fd=" + std::to_string(app_image_file.GetFd()) }, in TEST_F() 2289 ASSERT_EQ(0, lseek(dex_file.GetFd(), 0, SEEK_SET)); in TEST_F() 2292 StringPrintf("--zip-fd=%d", dex_file.GetFd()), in TEST_F() [all …]
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 667 File dex_file_fd(DupCloexec(dex_file->GetFd()), /*check_usage=*/ false); in TestDexFileInput() 812 File zip_fd(DupCloexec(zip_file.GetFd()), /*check_usage=*/ false); in TestZipFileInput()
|