Searched refs:GetFd (Results 1 – 10 of 10) sorted by relevance
92 uint32_t GetFd(const ScratchFile& file) { in GetFd() function in art::ProfileCompilationInfoTest93 return static_cast<uint32_t>(file.GetFd()); in GetFd()302 ASSERT_TRUE(info1.Load(GetFd(profile))); in TEST_F()319 ASSERT_TRUE(info2.Load(GetFd(profile))); in TEST_F()343 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F()349 ASSERT_TRUE(loaded_info.Load(GetFd(profile))); in TEST_F()359 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F()365 ASSERT_TRUE(loaded_info2.Load(GetFd(profile))); in TEST_F()405 ASSERT_TRUE(saved_info.Save(GetFd(profile))); in TEST_F()411 ASSERT_TRUE(loaded_info.Load(GetFd(profile))); in TEST_F()[all …]
75 ASSERT_TRUE(info->Save(GetFd(profile))); in SetupProfile()103 ASSERT_TRUE(info->Save(GetFd(profile))); in SetupBasicProfile()153 int GetFd(const ScratchFile& file) const { in GetFd() function in art::ProfileAssistantTest154 return static_cast<int>(file.GetFd()); in GetFd()160 ASSERT_TRUE(file_info.Load(GetFd(file))); in CheckProfileInfo()241 argv_str.push_back("--dump-output-to-fd=" + std::to_string(GetFd(output_file))); in RunProfman()342 std::vector<int> profile_fds({ GetFd(profile)}); in CheckCompilationMethodPercentChange()343 int reference_profile_fd = GetFd(reference_profile); in CheckCompilationMethodPercentChange()368 std::vector<int> profile_fds({ GetFd(profile)}); in CheckCompilationClassPercentChange()369 int reference_profile_fd = GetFd(reference_profile); in CheckCompilationClassPercentChange()[all …]
43 ASSERT_NE(-1, tmp.GetFd()); in TEST_F()44 std::unique_ptr<File> file(new File(tmp.GetFd(), tmp.GetFilename(), false)); in TEST_F()
34 std::unique_ptr<VdexFile> vdex = VdexFile::Open(tmp.GetFd(), in TEST_F()
74 int GetFd() const;
207 scratch_file.GetFd(), in TEST_F()
182 int ScratchFile::GetFd() const { in GetFd() function in art::ScratchFile
36 int fd = scratch.GetFd(); in SwapTest()
263 copy.push_back(android::base::StringPrintf("--swap-fd=%d", sf->GetFd()));764 std::string output_vdex = StringPrintf("--output-vdex-fd=%d", vdex_file2.GetFd()); in RunTestVDex()1266 ASSERT_TRUE(info.Save(profile_file.GetFd())); in TEST_F()
768 File zip_fd(dup(zip_file.GetFd()), /* check_usage */ false); in TestZipFileInput()