Home
last modified time | relevance | path

Searched refs:loop_dev (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/common/
Dtest_utils.cc246 string loop_dev; in ScopedLoopMounter() local
248 new ScopedLoopbackDeviceBinder(file_path, true, &loop_dev)); in ScopedLoopMounter()
250 EXPECT_TRUE(utils::MountFilesystem(loop_dev, *mnt_path, flags, "", "")); in ScopedLoopMounter()
Dutils_unittest.cc403 string loop_dev; in TEST() local
405 tmp_image.path(), true, &loop_dev); in TEST()
411 loop_dev, mnt_dir.GetPath().value(), MS_RDONLY, "ext4", "")); in TEST()
/system/core/fs_mgr/libfiemap/
Dfiemap_writer_test.cpp423 LoopDevice loop_dev(fs_path, 10s); in SetUp() local
424 ASSERT_TRUE(loop_dev.valid()); in SetUp()
430 ASSERT_EQ(mount(loop_dev.device().c_str(), mntpoint.c_str(), "ext4", 0, nullptr), 0); in SetUp()
465 LoopDevice loop_dev(fs_path, 10s); in SetUp() local
466 ASSERT_TRUE(loop_dev.valid()); in SetUp()
472 ASSERT_EQ(mount(loop_dev.device().c_str(), mntpoint.c_str(), "f2fs", 0, nullptr), 0); in SetUp()