Home
last modified time | relevance | path

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

/system/update_engine/common/
Dtest_utils.cc222 string loop_dev; in ScopedLoopMounter() local
224 new ScopedLoopbackDeviceBinder(file_path, true, &loop_dev)); in ScopedLoopMounter()
226 EXPECT_TRUE(utils::MountFilesystem(loop_dev, *mnt_path, flags, "", "")); in ScopedLoopMounter()
Dutils_unittest.cc438 string loop_dev; in TEST() local
440 tmp_image.path(), true, &loop_dev); in TEST()
446 loop_dev, mnt_dir.GetPath().value(), MS_RDONLY, "ext4", "")); in TEST()
/system/core/fs_mgr/libfiemap_writer/
Dfiemap_writer_test.cpp417 LoopDevice loop_dev(fs_path); in SetUp() local
418 ASSERT_TRUE(loop_dev.valid()); in SetUp()
424 ASSERT_EQ(mount(loop_dev.device().c_str(), mntpoint.c_str(), "ext4", 0, nullptr), 0); in SetUp()
459 LoopDevice loop_dev(fs_path); in SetUp() local
460 ASSERT_TRUE(loop_dev.valid()); in SetUp()
466 ASSERT_EQ(mount(loop_dev.device().c_str(), mntpoint.c_str(), "f2fs", 0, nullptr), 0); in SetUp()