Home
last modified time | relevance | path

Searched refs:WriteFileVector (Results 1 – 12 of 12) sorted by relevance

/system/update_engine/payload_generator/
Dpayload_generation_config_android_unittest.cc147 test_utils::WriteFileVector(temp_file_.path(), part); in TEST_F()
167 test_utils::WriteFileVector(temp_file_.path(), part); in TEST_F()
176 test_utils::WriteFileVector(temp_file_.path(), part); in TEST_F()
184 test_utils::WriteFileVector(temp_file_.path(), part); in TEST_F()
Dfull_update_generator_unittest.cc75 EXPECT_TRUE(test_utils::WriteFileVector(new_part_conf.path, new_part)); in TEST_F()
106 EXPECT_TRUE(test_utils::WriteFileVector(new_part_conf.path, new_part)); in TEST_F()
127 EXPECT_TRUE(test_utils::WriteFileVector(new_part_conf.path, new_part)); in TEST_F()
Dboot_img_filesystem_unittest.cc55 test_utils::WriteFileVector( in TEST_F()
82 test_utils::WriteFileVector(boot_file_.path(), boot_img); in TEST_F()
94 test_utils::WriteFileVector(boot_file_.path(), in TEST_F()
Dab_generator_unittest.cc75 ASSERT_TRUE(test_utils::WriteFileVector(part_file.path(), part_data)); in TestSplitReplaceOrReplaceBzOperation()
112 EXPECT_TRUE(test_utils::WriteFileVector(data_file.path(), op_blob)); in TestSplitReplaceOrReplaceBzOperation()
225 ASSERT_TRUE(test_utils::WriteFileVector(part_file.path(), part_data)); in TestMergeReplaceOrReplaceBzOperations()
276 EXPECT_TRUE(test_utils::WriteFileVector(data_file.path(), blob_data)); in TestMergeReplaceOrReplaceBzOperations()
567 ASSERT_TRUE(test_utils::WriteFileVector(src_part_file.path(), src_data)); in TEST_F()
Ddelta_diff_utils_unittest.cc104 return test_utils::WriteFileVector(part.path, file_data); in InitializePartitionWithUniqueBlocks()
657 EXPECT_TRUE(test_utils::WriteFileVector(old_part_.path, partition_data)); in TEST_F()
658 EXPECT_TRUE(test_utils::WriteFileVector(new_part_.path, partition_data)); in TEST_F()
/system/update_engine/payload_consumer/
Dverity_writer_android_unittest.cc47 test_utils::WriteFileVector(partition_.target_path, part_data); in TEST_F()
85 test_utils::WriteFileVector(partition_.target_path, part_data); in TEST_F()
107 test_utils::WriteFileVector(partition_.target_path, part_data); in TEST_F()
Dfilesystem_verifier_action_unittest.cc101 if (!(test_utils::WriteFileVector(a_loop_file.path(), a_loop_data))) { in DoTest()
282 ASSERT_TRUE(test_utils::WriteFileVector(part_file.path(), part_data)); in TEST_F()
344 ASSERT_TRUE(test_utils::WriteFileVector(part_file.path(), part_data)); in TEST_F()
Ddelta_performer_unittest.cc197 EXPECT_TRUE(test_utils::WriteFileVector(blob_file.path(), blob_data)); in GeneratePayload()
282 EXPECT_TRUE(test_utils::WriteFileVector(new_part.path(), target_data)); in ApplyPayloadToData()
584 EXPECT_TRUE(test_utils::WriteFileVector(source.path(), expected_data)); in TEST_F()
612 EXPECT_TRUE(test_utils::WriteFileVector(source.path(), src)); in TEST_F()
640 EXPECT_TRUE(test_utils::WriteFileVector(source.path(), actual_data)); in TEST_F()
660 EXPECT_TRUE(test_utils::WriteFileVector(source.path(), invalid_data)); in TEST_F()
687 EXPECT_TRUE(test_utils::WriteFileVector(source.path(), expected_data)); in TEST_F()
716 EXPECT_TRUE(test_utils::WriteFileVector(source.path(), invalid_data)); in TEST_F()
Ddelta_performer_integration_test.cc256 ASSERT_TRUE(test_utils::WriteFileVector(sig_file.path(), signature)); in SignGeneratedShellPayload()
264 ASSERT_TRUE(test_utils::WriteFileVector(sig_file2.path(), signature)); in SignGeneratedShellPayload()
/system/update_engine/common/
Dtest_utils.h56 bool WriteFileVector(const std::string& path, const brillo::Blob& data);
Dtest_utils.cc107 bool WriteFileVector(const string& path, const brillo::Blob& data) { in WriteFileVector() function
Dutils_unittest.cc82 EXPECT_TRUE(test_utils::WriteFileVector(file.path(), data)); in TEST()