Searched refs:WriteFileVector (Results 1 – 12 of 12) sorted by relevance
/system/update_engine/payload_generator/ |
D | payload_generation_config_android_unittest.cc | 147 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()
|
D | full_update_generator_unittest.cc | 75 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()
|
D | boot_img_filesystem_unittest.cc | 55 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()
|
D | ab_generator_unittest.cc | 75 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()
|
D | delta_diff_utils_unittest.cc | 104 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/ |
D | verity_writer_android_unittest.cc | 47 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()
|
D | filesystem_verifier_action_unittest.cc | 101 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()
|
D | delta_performer_unittest.cc | 197 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()
|
D | delta_performer_integration_test.cc | 256 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/ |
D | test_utils.h | 56 bool WriteFileVector(const std::string& path, const brillo::Blob& data);
|
D | test_utils.cc | 107 bool WriteFileVector(const string& path, const brillo::Blob& data) { in WriteFileVector() function
|
D | utils_unittest.cc | 82 EXPECT_TRUE(test_utils::WriteFileVector(file.path(), data)); in TEST()
|