Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dpayload_generation_config_android_unittest.cc146 test_utils::WriteFileVector(temp_file_.path(), part); in TEST_F()
164 test_utils::WriteFileVector(temp_file_.path(), part); in TEST_F()
184 test_utils::WriteFileVector(temp_file_.path(), part); in TEST_F()
193 test_utils::WriteFileVector(temp_file_.path(), part); in TEST_F()
201 test_utils::WriteFileVector(temp_file_.path(), part); in TEST_F()
Dfull_update_generator_unittest.cc70 EXPECT_TRUE(test_utils::WriteFileVector(new_part_conf.path, new_part)); in TEST_F()
101 EXPECT_TRUE(test_utils::WriteFileVector(new_part_conf.path, new_part)); in TEST_F()
122 EXPECT_TRUE(test_utils::WriteFileVector(new_part_conf.path, new_part)); in TEST_F()
Dboot_img_filesystem_unittest.cc70 test_utils::WriteFileVector( in TEST_F()
95 test_utils::WriteFileVector( in TEST_F()
122 test_utils::WriteFileVector(boot_file_.path(), boot_img); in TEST_F()
134 test_utils::WriteFileVector(boot_file_.path(), in TEST_F()
Dab_generator_unittest.cc74 ASSERT_TRUE(test_utils::WriteFileVector(part_file.path(), part_data)); in TestSplitReplaceOrReplaceXzOperation()
110 EXPECT_TRUE(test_utils::WriteFileVector(data_file.path(), op_blob)); in TestSplitReplaceOrReplaceXzOperation()
222 ASSERT_TRUE(test_utils::WriteFileVector(part_file.path(), part_data)); in TestMergeReplaceOrReplaceXzOperations()
272 EXPECT_TRUE(test_utils::WriteFileVector(data_file.path(), blob_data)); in TestMergeReplaceOrReplaceXzOperations()
563 ASSERT_TRUE(test_utils::WriteFileVector(src_part_file.path(), src_data)); in TEST_F()
Ddelta_diff_utils_unittest.cc105 return test_utils::WriteFileVector(part.path, file_data); in InitializePartitionWithUniqueBlocks()
558 ASSERT_TRUE(test_utils::WriteFileVector(old_part_.path, partition_data)); in TEST_F()
559 ASSERT_TRUE(test_utils::WriteFileVector(new_part_.path, partition_data)); in TEST_F()
/system/update_engine/payload_consumer/
Dverity_writer_android_unittest.cc53 test_utils::WriteFileVector(partition_.target_path, part_data); in TEST_F()
102 test_utils::WriteFileVector(partition_.target_path, part_data); in TEST_F()
126 test_utils::WriteFileVector(partition_.target_path, part_data); in TEST_F()
153 test_utils::WriteFileVector(partition_.target_path, part_data); in TEST_F()
179 test_utils::WriteFileVector(partition_.target_path, part_data); in TEST_F()
Dpartition_writer_unittest.cc139 ASSERT_TRUE(test_utils::WriteFileVector(source.path(), expected_data)); in TEST_F()
195 ASSERT_TRUE(test_utils::WriteFileVector(source.path(), invalid_data)); in TEST_F()
Ddelta_performer_unittest.cc208 EXPECT_TRUE(test_utils::WriteFileVector(blob_file.path(), blob_data)); in GeneratePayload()
301 EXPECT_TRUE(test_utils::WriteFileVector(new_part.path(), target_data)); in ApplyPayloadToData()
589 EXPECT_TRUE(test_utils::WriteFileVector(source.path(), expected_data)); in TEST_F()
617 EXPECT_TRUE(test_utils::WriteFileVector(source.path(), src)); in TEST_F()
645 EXPECT_TRUE(test_utils::WriteFileVector(source.path(), actual_data)); in TEST_F()
1165 EXPECT_TRUE(test_utils::WriteFileVector(source.path(), expected_data)); in TEST_F()
Dfilesystem_verifier_action_unittest.cc264 if (!(test_utils::WriteFileVector(a_loop_file.path(), a_loop_data))) { in DoTest()
447 ASSERT_TRUE(test_utils::WriteFileVector(part_file.path(), part_data)); in TEST_F()
508 ASSERT_TRUE(test_utils::WriteFileVector(part_file.path(), part_data)); in TEST_F()
Ddelta_performer_integration_test.cc280 test_utils::WriteFileVector(sig_files.back().path(), signature)); in SignGeneratedShellPayloadWithKeys()
289 ASSERT_TRUE(test_utils::WriteFileVector(metadata_sig_files.back().path(), in SignGeneratedShellPayloadWithKeys()
/system/update_engine/common/
Dtest_utils.h56 bool WriteFileVector(const std::string& path, const brillo::Blob& data);
Dtest_utils.cc102 bool WriteFileVector(const string& path, const brillo::Blob& data) { in WriteFileVector() function
Dutils_unittest.cc69 EXPECT_TRUE(test_utils::WriteFileVector(file.path(), data)); in TEST()
/system/update_engine/aosp/
Ddynamic_partition_control_android_unittest.cc977 ASSERT_TRUE(test_utils::WriteFileVector(system_other.path(), original)); in TEST_P()