/system/update_engine/payload_consumer/ |
D | certificate_parser_android_unittest.cc | 37 test_utils::GetBuildArtifactsPath(kUnittestOtacertsPath); in TEST() 52 test_utils::GetBuildArtifactsPath(kUnittestPrivateKeyPath), in TEST() 56 test_utils::GetBuildArtifactsPath(kUnittestOtacertsPath)); in TEST()
|
D | verity_writer_android_unittest.cc | 53 test_utils::WriteFileVector(partition_.target_path, part_data); in TEST_F() 101 test_utils::WriteFileVector(partition_.target_path, part_data); in TEST_F() 124 test_utils::WriteFileVector(partition_.target_path, part_data); in TEST_F() 150 test_utils::WriteFileVector(partition_.target_path, part_data); in TEST_F()
|
D | filesystem_verifier_action_unittest.cc | 90 test_utils::FillWithData(&part_data); in SetUp() 95 test_utils::FillWithData(&part_data); in SetUp() 261 test_utils::FillWithData(&a_loop_data); in DoTest() 264 if (!(test_utils::WriteFileVector(a_loop_file.path(), a_loop_data))) { in DoTest() 271 test_utils::ScopedLoopbackDeviceBinder a_dev_releaser( in DoTest() 336 test_utils::ExpectVectorsEq(a_loop_data, a_out); in DoTest() 447 ASSERT_TRUE(test_utils::WriteFileVector(part_file.path(), part_data)); in TEST_F() 449 test_utils::ScopedLoopbackDeviceBinder target_device( in TEST_F() 507 test_utils::FillWithData(&part_data); in TEST_F() 508 ASSERT_TRUE(test_utils::WriteFileVector(part_file.path(), part_data)); in TEST_F() [all …]
|
D | bzip_extent_writer_unittest.cc | 109 test_utils::ExpectVectorsEq(original_compressed_data, compressed_data); in TEST_F() 114 test_utils::ExpectVectorsEq(decompressed_data, output); in TEST_F()
|
D | extent_writer_unittest.cc | 34 using chromeos_update_engine::test_utils::ExpectVectorsEq; 108 test_utils::FillWithData(&data); in WriteAlignedExtents() 148 test_utils::FillWithData(&data); in TEST_F()
|
D | delta_performer_integration_test.cc | 59 using test_utils::GetBuildArtifactsPath; 60 using test_utils::kRandomString; 61 using test_utils::ScopedLoopMounter; 62 using test_utils::System; 288 test_utils::WriteFileVector(sig_files.back().path(), signature)); in SignGeneratedShellPayloadWithKeys() 297 ASSERT_TRUE(test_utils::WriteFileVector(metadata_sig_files.back().path(), in SignGeneratedShellPayloadWithKeys() 478 test_utils::WriteFileString(mnt_path.Append("foo").value(), "foo")); in GenerateDeltaFile() 506 EXPECT_TRUE(test_utils::WriteFileString( in GenerateDeltaFile() 528 test_utils::FillWithData(&state->old_kernel_data); in GenerateDeltaFile() 529 test_utils::FillWithData(&state->new_kernel_data); in GenerateDeltaFile() [all …]
|
D | partition_writer_unittest.cc | 127 EXPECT_TRUE(test_utils::WriteFileVector(source.path(), expected_data)); in TEST_F() 180 EXPECT_TRUE(test_utils::WriteFileVector(source.path(), invalid_data)); in TEST_F()
|
/system/update_engine/payload_generator/ |
D | payload_generation_config_android_unittest.cc | 146 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() 208 test_utils::WriteFileString(temp_file_.path(), "tiny"); in TEST_F()
|
D | full_update_generator_unittest.cc | 29 using chromeos_update_engine::test_utils::FillWithData; 70 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()
|
D | block_mapping_unittest.cc | 57 test_utils::WriteFileString(old_part_.path(), string(block_size_, 'a')); in TEST_F() 92 test_utils::WriteFileString(old_part_.path(), old_contents); in TEST_F() 99 test_utils::WriteFileString(new_part_.path(), new_contents); in TEST_F()
|
D | mapfile_filesystem_unittest.cc | 79 test_utils::WriteFileString(temp_mapfile_.path(), text); in TEST_F() 111 test_utils::WriteFileString(temp_mapfile_.path(), "/some/file 1-4\n"); in TEST_F() 123 test_utils::WriteFileString(temp_mapfile_.path(), "/some/file 2-1\n"); in TEST_F()
|
D | boot_img_filesystem_unittest.cc | 70 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()
|
D | delta_diff_utils_unittest.cc | 103 return test_utils::WriteFileVector(part.path, file_data); in InitializePartitionWithUniqueBlocks() 242 test_utils::FillWithData(&data_blob); in TEST_F() 274 test_utils::FillWithData(&data_blob); in TEST_F() 422 EXPECT_TRUE(test_utils::WriteFileVector(old_part_.path, partition_data)); in TEST_F() 423 EXPECT_TRUE(test_utils::WriteFileVector(new_part_.path, partition_data)); in TEST_F() 544 test_utils::GetBuildArtifactsPath("gen/disk_ext2_1k.img"))); in TEST_F() 546 test_utils::GetBuildArtifactsPath("gen/disk_ext2_4k.img"))); in TEST_F()
|
D | blob_file_writer_unittest.cc | 26 using chromeos_update_engine::test_utils::FillWithData;
|
D | ab_generator_unittest.cc | 65 test_utils::FillWithData(&part_data); in TestSplitReplaceOrReplaceXzOperation() 74 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() 213 test_utils::FillWithData(&part_data); in TestMergeReplaceOrReplaceXzOperations() 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() 562 test_utils::FillWithData(&src_data); in TEST_F() 563 ASSERT_TRUE(test_utils::WriteFileVector(src_part_file.path(), src_data)); in TEST_F()
|
D | zip_unittest.cc | 33 using chromeos_update_engine::test_utils::kRandomString; 164 string path = test_utils::GetBuildArtifactsPath("delta_generator"); in TYPED_TEST()
|
D | payload_file_unittest.cc | 46 EXPECT_TRUE(test_utils::WriteFileString(orig_blobs.path(), orig_data)); in TEST_F()
|
/system/update_engine/scripts/update_payload/ |
D | checker_unittest.py | 39 from update_payload import test_utils 453 payload_gen = test_utils.PayloadGenerator() 457 payload_gen.SetBlockSize(test_utils.KiB(1)) 459 payload_gen.SetBlockSize(test_utils.KiB(4)) 474 rootfs_part_size = test_utils.MiB(8) 475 kernel_part_size = test_utils.KiB(512) 770 old_part_size = test_utils.MiB(4) 771 new_part_size = test_utils.MiB(8) 889 payload_gen = test_utils.PayloadGenerator() 891 block_size = test_utils.KiB(4) [all …]
|
/system/extras/simpleperf/scripts/test/ |
D | run_simpleperf_on_device_test.py | 17 from . test_utils import TestBase
|
D | inferno_test.py | 21 from . test_utils import INFERNO_SCRIPT, TestBase, TestHelper
|
D | purgatorio_test.py | 22 from . test_utils import TestBase, TestHelper
|
D | debug_unwind_reporter_test.py | 19 from . test_utils import TestBase, TestHelper
|
/system/update_engine/common/ |
D | hash_calculator_unittest.cc | 108 ASSERT_TRUE(test_utils::WriteFileString(data_file.path(), "hi")); in TEST_F() 130 ASSERT_TRUE(test_utils::WriteFileString(data_file.path(), "hi")); in TEST_F()
|
/system/update_engine/cros/ |
D | requisition_util_unittest.cc | 28 using chromeos_update_engine::test_utils::WriteFileString;
|
D | hardware_chromeos_unittest.cc | 30 using chromeos_update_engine::test_utils::WriteFileString;
|