Searched refs:mnt_path (Results 1 – 3 of 3) sorted by relevance
/system/update_engine/payload_consumer/ |
D | delta_performer_integration_test.cc | 408 base::FilePath mnt_path(b_mnt); in GenerateDeltaFile() local 410 EXPECT_TRUE(base::CopyFile(mnt_path.Append("regular-small"), in GenerateDeltaFile() 411 mnt_path.Append("regular-small2"))); in GenerateDeltaFile() 412 EXPECT_TRUE(base::DeleteFile(mnt_path.Append("regular-small"), false)); in GenerateDeltaFile() 413 EXPECT_TRUE(base::Move(mnt_path.Append("regular-small2"), in GenerateDeltaFile() 414 mnt_path.Append("regular-small"))); in GenerateDeltaFile() 416 test_utils::WriteFileString(mnt_path.Append("foo").value(), "foo")); in GenerateDeltaFile() 417 EXPECT_EQ(0, base::WriteFile(mnt_path.Append("emptyfile"), "", 0)); in GenerateDeltaFile() 420 WriteSparseFile(mnt_path.Append("fullsparse").value(), 1024 * 1024)); in GenerateDeltaFile() 422 WriteSparseFile(mnt_path.Append("move-to-sparse").value(), 16 * 1024)); in GenerateDeltaFile() [all …]
|
/system/update_engine/common/ |
D | test_utils.cc | 247 string* mnt_path, in ScopedLoopMounter() argument 250 *mnt_path = temp_dir_.path().value(); in ScopedLoopMounter() 256 EXPECT_TRUE(utils::MountFilesystem(loop_dev, *mnt_path, flags, "", "")); in ScopedLoopMounter() 257 unmounter_.reset(new ScopedFilesystemUnmounter(*mnt_path)); in ScopedLoopMounter()
|
D | test_utils.h | 178 std::string* mnt_path,
|