Searched refs:mnt_path (Results 1 – 4 of 4) sorted by relevance
/system/update_engine/payload_consumer/ |
D | delta_performer_integration_test.cc | 448 base::FilePath mnt_path(b_mnt); in GenerateDeltaFile() local 450 EXPECT_TRUE(base::CopyFile(mnt_path.Append("regular-small"), in GenerateDeltaFile() 451 mnt_path.Append("regular-small2"))); in GenerateDeltaFile() 452 EXPECT_TRUE(base::DeleteFile(mnt_path.Append("regular-small"), false)); in GenerateDeltaFile() 453 EXPECT_TRUE(base::Move(mnt_path.Append("regular-small2"), in GenerateDeltaFile() 454 mnt_path.Append("regular-small"))); in GenerateDeltaFile() 456 test_utils::WriteFileString(mnt_path.Append("foo").value(), "foo")); in GenerateDeltaFile() 457 EXPECT_EQ(0, base::WriteFile(mnt_path.Append("emptyfile"), "", 0)); in GenerateDeltaFile() 460 WriteSparseFile(mnt_path.Append("fullsparse").value(), 1024 * 1024)); in GenerateDeltaFile() 462 WriteSparseFile(mnt_path.Append("move-to-sparse").value(), 16 * 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 | 160 std::string* mnt_path,
|
/system/update_engine/ |
D | dynamic_partition_control_android_unittest.cc | 884 std::string mnt_path; in TEST_P() local 885 ScopedLoopbackDeviceBinder dev(system_other.path(), true, &mnt_path); in TEST_P() 889 ASSERT_TRUE(utils::ReadFile(mnt_path, &device_content)); in TEST_P() 900 *path = mnt_path; in TEST_P() 908 ASSERT_TRUE(utils::ReadFile(mnt_path, &device_content)); in TEST_P()
|