Home
last modified time | relevance | path

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

/aosp12/art/profman/
H A Dprofile_assistant_test.cc478 GetFd(profile1), in TEST_F()
479 GetFd(profile2)}); in TEST_F()
523 GetFd(profile1)}); in TEST_F()
550 GetFd(profile1), in TEST_F()
551 GetFd(profile2)}); in TEST_F()
593 GetFd(profile1), in TEST_F()
594 GetFd(profile2)}); in TEST_F()
629 GetFd(profile1), in TEST_F()
630 GetFd(profile2)}); in TEST_F()
734 GetFd(profile1), in TEST_F()
[all …]
/aosp12/art/libprofile/profile/
H A Dprofile_boot_info_test.cc42 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()
H A Dprofile_compilation_info_test.cc57 uint32_t GetFd(const ScratchFile& file) { in GetFd() function in art::ProfileCompilationInfoTest
58 return static_cast<uint32_t>(file.GetFd()); in GetFd()
344 ASSERT_TRUE(info1.Save(profile.GetFd())); in TEST_F()
347 ASSERT_FALSE(info2.Load(profile.GetFd())); in TEST_F()
934 ASSERT_FALSE(loaded_info.Load(GetFd(zip))); in TEST_F()
1230 ASSERT_TRUE(info.Save(GetFd(profile))); in TEST_F()
1282 ASSERT_TRUE(info.Save(GetFd(profile))); in TEST_F()
1310 ASSERT_TRUE(info.Save(GetFd(profile))); in TEST_F()
1379 ASSERT_TRUE(info1.Save(GetFd(profile))); in TEST_F()
1514 ASSERT_TRUE(info.Save(GetFd(profile))); in TEST_F()
[all …]
/aosp12/system/incremental_delivery/incfs/tests/util/
H A Dmap_ptr_test.cpp91 auto fd = GetFd(); in TEST_F()
106 auto fd = GetFd(); in TEST_F()
123 auto fd = GetFd(); in TEST_F()
138 auto fd = GetFd(); in TEST_F()
155 auto fd = GetFd(); in TEST_F()
177 auto fd = GetFd(); in TEST_F()
192 auto fd = GetFd(); in TEST_F()
203 auto fd = GetFd(); in TEST_F()
214 auto fd = GetFd(); in TEST_F()
266 auto fd = GetFd(); in TEST_F()
[all …]
/aosp12/art/runtime/jit/
H A Dprofiling_info_test.cc65 uint32_t GetFd(const ScratchFile& file) { in GetFd() function in art::ProfileCompilationInfoTest
66 return static_cast<uint32_t>(file.GetFd()); in GetFd()
191 ASSERT_TRUE(info1.Load(GetFd(profile))); in TEST_F()
211 ASSERT_TRUE(info2.Load(GetFd(profile))); in TEST_F()
251 ASSERT_TRUE(info.Load(GetFd(profile))); in TEST_F()
/aosp12/art/libartbase/base/
H A 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()
H A Dmem_map_test.cc391 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()
H A Dcommon_art_test.h87 int GetFd() const;
H A Dcommon_art_test.cc124 int ScratchFile::GetFd() const { in GetFd() function in art::ScratchFile
/aosp12/system/bt/gd/os/linux_generic/
H A Dreactive_semaphore.h34 int GetFd();
H A Dreactive_semaphore.cc54 int ReactiveSemaphore::GetFd() { in GetFd() function in bluetooth::os::ReactiveSemaphore
H A Dqueue.tpp33 enqueue_.reactive_semaphore_.GetFd(),
65 dequeue_.reactive_semaphore_.GetFd(), callback, base::Closure());
/aosp12/art/runtime/
H A Dvdex_file_test.cc34 std::unique_ptr<VdexFile> vdex = VdexFile::Open(tmp.GetFd(), in TEST_F()
H A Ddexopt_test.cc130 ASSERT_TRUE(info.Save(profile_file.GetFd())); in GenerateOatForTest()
/aosp12/art/compiler/utils/
H A Dswap_space_test.cc38 int fd = scratch.GetFd(); in SwapTest()
/aosp12/art/dex2oat/
H A Ddex2oat_test.cc238 copy.push_back(android::base::StringPrintf("--swap-fd=%d", sf->GetFd()));
761 std::string output_vdex = StringPrintf("--output-vdex-fd=%d", vdex_file2.GetFd()); in RunTestVDex()
1198 ASSERT_TRUE(info.Save(profile_file.GetFd())); in TEST_F()
1622 FILE* file = fdopen(DupCloexec(apk_file.GetFd()), "w+b"); in TEST_F()
1758 FILE* file = fdopen(DupCloexec(dm_file.GetFd()), "w+b"); in TEST_F()
1809 FILE* file = fdopen(DupCloexec(invalid_dex.GetFd()), "w+b"); in TEST_F()
1851 FILE* file = fdopen(DupCloexec(invalid_dex_zip.GetFd()), "w+b"); in TEST_F()
1895 { "--app-image-fd=" + std::to_string(app_image_file.GetFd()) }, in TEST_F()
2024 ASSERT_EQ(0, lseek(dex_file.GetFd(), 0, SEEK_SET)); in TEST_F()
2027 StringPrintf("--zip-fd=%d", dex_file.GetFd()), in TEST_F()
[all …]
/aosp12/hardware/libhardware/modules/camera/3_4/arc/
H A Dframe_buffer.h89 int GetFd() const { return fd_.get(); } in GetFd() function
/aosp12/system/extras/simpleperf/
H A Dread_apk.cpp100 if (IsValidElfFile(ahelper->GetFd(), found_entry.offset) != ElfStatus::NO_ERROR) { in FindElfInApkByOffsetWithoutCache()
H A Dutils.h102 int GetFd();
H A Dutils.cpp155 int ArchiveHelper::GetFd() { in GetFd() function in simpleperf::ArchiveHelper
/aosp12/art/dex2oat/linker/
H A Doat_writer_test.cc660 File dex_file_fd(DupCloexec(dex_file->GetFd()), /*check_usage=*/ false); in TestDexFileInput()
805 File zip_fd(DupCloexec(zip_file.GetFd()), /*check_usage=*/ false); in TestZipFileInput()
/aosp12/frameworks/native/libs/vr/libpdx_uds/
H A Dremote_method_tests.cpp326 int GetFd() const { return event_fd(); } in GetFd() function in __anona08a5e0d0110::TestClient