Searched refs:mnt_path (Results 1 – 5 of 5) sorted by relevance
/system/update_engine/payload_consumer/ |
D | delta_performer_integration_test.cc | 466 base::FilePath mnt_path(b_mnt); in GenerateDeltaFile() local 468 EXPECT_TRUE(base::CopyFile(mnt_path.Append("regular-small"), in GenerateDeltaFile() 469 mnt_path.Append("regular-small2"))); in GenerateDeltaFile() 471 EXPECT_TRUE(base::DeleteFile(mnt_path.Append("regular-small"), false)); in GenerateDeltaFile() 473 EXPECT_TRUE(base::DeleteFile(mnt_path.Append("regular-small"))); in GenerateDeltaFile() 475 EXPECT_TRUE(base::Move(mnt_path.Append("regular-small2"), in GenerateDeltaFile() 476 mnt_path.Append("regular-small"))); in GenerateDeltaFile() 478 test_utils::WriteFileString(mnt_path.Append("foo").value(), "foo")); in GenerateDeltaFile() 479 EXPECT_EQ(0, base::WriteFile(mnt_path.Append("emptyfile"), "", 0)); in GenerateDeltaFile() 482 WriteSparseFile(mnt_path.Append("fullsparse").value(), 1024 * 1024)); in GenerateDeltaFile() [all …]
|
/system/update_engine/common/ |
D | test_utils.cc | 241 string* mnt_path, in ScopedLoopMounter() argument 244 *mnt_path = temp_dir_.GetPath().value(); in ScopedLoopMounter() 250 EXPECT_TRUE(utils::MountFilesystem(loop_dev, *mnt_path, flags, "", "")); in ScopedLoopMounter() 251 unmounter_.reset(new ScopedFilesystemUnmounter(*mnt_path)); in ScopedLoopMounter()
|
D | test_utils.h | 144 std::string* mnt_path,
|
/system/update_engine/aosp/ |
D | dynamic_partition_control_android_unittest.cc | 978 std::string mnt_path; in TEST_P() local 979 ScopedLoopbackDeviceBinder dev(system_other.path(), true, &mnt_path); in TEST_P() 983 ASSERT_TRUE(utils::ReadFile(mnt_path, &device_content)); in TEST_P() 994 *path = mnt_path; in TEST_P() 1002 ASSERT_TRUE(utils::ReadFile(mnt_path, &device_content)); in TEST_P()
|
/system/vold/ |
D | VolumeManager.cpp | 778 std::string mnt_path = StringPrintf("/proc/%d/ns/mnt", pid); in forkAndRemountStorage() local 780 TEMP_FAILURE_RETRY(open(mnt_path.c_str(), O_RDONLY | O_CLOEXEC))); in forkAndRemountStorage() 782 PLOG(ERROR) << "Unable to open " << mnt_path.c_str(); in forkAndRemountStorage()
|