/system/core/fs_mgr/tests/ |
D | file_wait_test.cpp | 26 using android::fs_mgr::WaitForFile; 46 ASSERT_TRUE(WaitForFile(test_file_, 500ms)); in TEST_F() 51 ASSERT_FALSE(WaitForFile(test_file_, 500ms)); in TEST_F() 60 EXPECT_TRUE(WaitForFile(test_file_, 3s)); in TEST_F() 69 EXPECT_FALSE(WaitForFile(test_file_ + ".wontexist", 2s)); in TEST_F() 89 ASSERT_FALSE(WaitForFile("/this/path/does/not/exist", 5ms)); in TEST_F()
|
/system/core/fs_mgr/libfs_avb/tests/ |
D | util_test.cpp | 36 using android::fs_mgr::WaitForFile; 153 TEST(BasicUtilTest, WaitForFile) { in TEST() argument 163 EXPECT_TRUE(WaitForFile(wait_path.value(), 1s)); in TEST() 171 EXPECT_FALSE(WaitForFile(wait_path.value(), 200ms)); in TEST() 182 auto wait_file = std::async(WaitForFile, wait_path.value(), 500ms, FileWaitMode::Exists); in TEST() 203 auto wait_file = std::async(WaitForFile, wait_path.value(), 50ms, FileWaitMode::Exists); in TEST()
|
/system/core/fs_mgr/include/fs_mgr/ |
D | file_wait.h | 29 bool WaitForFile(const std::string& path, const std::chrono::milliseconds relative_timeout);
|
/system/core/fs_mgr/libdm/ |
D | utility.h | 25 bool WaitForFile(const std::string& path, const std::chrono::milliseconds& timeout_ms);
|
D | utility.cpp | 45 bool WaitForFile(const std::string& path, const std::chrono::milliseconds& timeout_ms) { in WaitForFile() function
|
D | loop_control.cpp | 53 if (!WaitForFile(*loopdev, timeout_ms - time_elapsed)) { in Attach()
|
D | dm.cpp | 210 if (!WaitForFile(unique_path, timeout_ms)) { in WaitForDevice()
|
/system/core/fs_mgr/libsnapshot/snapuserd/testing/ |
D | dm_user_harness.cpp | 55 if (!android::fs_mgr::WaitForFile(misc_device, 10s)) { in CreateUserDevice()
|
/system/core/fs_mgr/libfs_avb/ |
D | util.h | 62 bool WaitForFile(const std::string& filename, const std::chrono::milliseconds relative_timeout,
|
D | avb_ops.cpp | 177 if (!WaitForFile(path, 1s)) { in GetPartitionPath() 185 if (path.empty() || !WaitForFile(path, 1s)) return ""; in GetPartitionPath()
|
D | util.cpp | 89 bool WaitForFile(const std::string& filename, const std::chrono::milliseconds relative_timeout, in WaitForFile() function
|
D | fs_avb.cpp | 583 if (!path.empty() && !WaitForFile(path, 1000ms, FileWaitMode::DoesNotExist)) { in TearDownAvbHashtree()
|
D | avb_util.cpp | 489 if (!WaitForFile(image_path, 1s)) { in LoadAndVerifyVbmetaByPath()
|
/system/vold/ |
D | cryptfs.cpp | 183 if (android::vold::WaitForFile(out_crypto_blkdev->c_str(), 1s) < 0) { in cryptfs_setup_ext_volume()
|
D | Loop.cpp | 81 if (!android::fs_mgr::WaitForFile(out_device, 2s)) { in create()
|
D | Utils.h | 185 status_t WaitForFile(const char* filename, std::chrono::nanoseconds timeout);
|
/system/core/fs_mgr/ |
D | file_wait.cpp | 218 bool WaitForFile(const std::string& path, const std::chrono::milliseconds relative_timeout) { in WaitForFile() function
|
D | fs_mgr.cpp | 1499 if (current_entry.fs_mgr_flags.wait && !WaitForFile(current_entry.blk_device, 20s)) { in fs_mgr_mount_all() 1903 if (entry.fs_mgr_flags.wait && !WaitForFile(entry.blk_device, 20s)) { in fs_mgr_do_mount_one() 1967 if (fstab_entry.fs_mgr_flags.wait && !WaitForFile(n_blk_device, 20s)) { in fs_mgr_do_mount() 2152 if (entry.fs_mgr_flags.wait && !WaitForFile(entry.blk_device, 20s)) { in fs_mgr_swapon_all()
|
D | fs_mgr_overlayfs_mount.cpp | 691 if (!WaitForFile(scratch_device, 10s)) { in TryMountScratch()
|
/system/apex/apexd/ |
D | apex_file_repository.cpp | 185 auto metadata_ready = WaitForFile(metadata_partition, kBlockApexWaitTime); in AddBlockApex() 244 auto apex_ready = WaitForFile(apex_path, kBlockApexWaitTime); in AddBlockApex()
|
D | apexd_utils.h | 169 inline android::base::Result<void> WaitForFile( in WaitForFile() function
|
D | apexd_loop.cpp | 272 Result<void> loop_ready = WaitForFile("/dev/loop-control", 20s); in PreAllocateLoopDevices()
|
/system/core/fs_mgr/libsnapshot/snapuserd/ |
D | snapuserd_client.cpp | 340 if (!android::fs_mgr::WaitForFile(GetDaemonAliveIndicatorPath(), 10s)) { in IsTransitionedDaemonReady()
|
/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/ |
D | snapuserd_server.cpp | 381 if (!android::fs_mgr::WaitForFile(socket_path, std::chrono::milliseconds::max())) { in WaitForSocket()
|
/system/core/fs_mgr/libfiemap/ |
D | image_test.cpp | 50 using android::fs_mgr::WaitForFile;
|