Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dpayload_generation_config_android_unittest.cc147 test_utils::WriteFileVector(temp_file_.path(), part); in TEST_F()
165 test_utils::WriteFileVector(temp_file_.path(), part); in TEST_F()
185 test_utils::WriteFileVector(temp_file_.path(), part); in TEST_F()
194 test_utils::WriteFileVector(temp_file_.path(), part); in TEST_F()
202 test_utils::WriteFileVector(temp_file_.path(), 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()
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()
Dab_generator_unittest.cc75 ASSERT_TRUE(test_utils::WriteFileVector(part_file.path(), part_data)); in TestSplitReplaceOrReplaceXzOperation()
112 EXPECT_TRUE(test_utils::WriteFileVector(data_file.path(), op_blob)); in TestSplitReplaceOrReplaceXzOperation()
225 ASSERT_TRUE(test_utils::WriteFileVector(part_file.path(), part_data)); in TestMergeReplaceOrReplaceXzOperations()
276 EXPECT_TRUE(test_utils::WriteFileVector(data_file.path(), blob_data)); in TestMergeReplaceOrReplaceXzOperations()
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()
432 EXPECT_TRUE(test_utils::WriteFileVector(old_part_.path, partition_data)); in TEST_F()
433 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.cc103 if (!(test_utils::WriteFileVector(a_loop_file.path(), a_loop_data))) { in DoTest()
286 ASSERT_TRUE(test_utils::WriteFileVector(part_file.path(), part_data)); in TEST_F()
348 ASSERT_TRUE(test_utils::WriteFileVector(part_file.path(), part_data)); in TEST_F()
Ddelta_performer_unittest.cc204 EXPECT_TRUE(test_utils::WriteFileVector(blob_file.path(), blob_data)); in GeneratePayload()
289 EXPECT_TRUE(test_utils::WriteFileVector(new_part.path(), target_data)); in ApplyPayloadToData()
593 EXPECT_TRUE(test_utils::WriteFileVector(source.path(), expected_data)); in TEST_F()
621 EXPECT_TRUE(test_utils::WriteFileVector(source.path(), src)); in TEST_F()
649 EXPECT_TRUE(test_utils::WriteFileVector(source.path(), actual_data)); in TEST_F()
669 EXPECT_TRUE(test_utils::WriteFileVector(source.path(), invalid_data)); in TEST_F()
696 EXPECT_TRUE(test_utils::WriteFileVector(source.path(), expected_data)); in TEST_F()
725 EXPECT_TRUE(test_utils::WriteFileVector(source.path(), invalid_data)); in TEST_F()
Ddelta_performer_integration_test.cc247 ASSERT_TRUE(test_utils::WriteFileVector(sig_file.path(), signature)); in SignGeneratedShellPayloadWithKeys()
257 ASSERT_TRUE(test_utils::WriteFileVector(metadata_sig_file.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.cc82 EXPECT_TRUE(test_utils::WriteFileVector(file.path(), data)); in TEST()
/system/update_engine/
Ddynamic_partition_control_android_unittest.cc883 ASSERT_TRUE(test_utils::WriteFileVector(system_other.path(), original)); in TEST_P()