/system/update_engine/payload_generator/ |
D | mapfile_filesystem_unittest.cc | 58 test_utils::ScopedTempFile temp_file_{"mapfile_file.XXXXXX"}; 59 test_utils::ScopedTempFile temp_mapfile_{"mapfile_mapfile.XXXXXX"}; 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 | full_update_generator_unittest.cc | 28 using chromeos_update_engine::test_utils::FillWithData; 78 EXPECT_TRUE(test_utils::WriteFileVector(new_part_conf.path, new_part)); in TEST_F() 109 EXPECT_TRUE(test_utils::WriteFileVector(new_part_conf.path, new_part)); in TEST_F() 130 EXPECT_TRUE(test_utils::WriteFileVector(new_part_conf.path, new_part)); in TEST_F()
|
D | block_mapping_unittest.cc | 75 test_utils::WriteFileString(old_part_path_, string(block_size_, 'a')); in TEST_F() 110 test_utils::WriteFileString(old_part_path_, old_contents); in TEST_F() 117 test_utils::WriteFileString(new_part_path_, new_contents); in TEST_F()
|
D | delta_diff_utils_unittest.cc | 101 return test_utils::WriteFileVector(part.path, file_data); in InitializePartitionWithUniqueBlocks() 167 test_utils::FillWithData(&data_blob); in TEST_F() 287 test_utils::FillWithData(&data_blob); in TEST_F() 378 test_utils::FillWithData(&data_blob); in TEST_F() 408 test_utils::FillWithData(&data_blob); in TEST_F() 587 EXPECT_TRUE(test_utils::WriteFileVector(old_part_.path, partition_data)); in TEST_F() 588 EXPECT_TRUE(test_utils::WriteFileVector(new_part_.path, partition_data)); in TEST_F() 709 test_utils::GetBuildArtifactsPath("gen/disk_ext2_1k.img"))); in TEST_F() 711 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 | ext2_filesystem_unittest.cc | 37 using chromeos_update_engine::test_utils::GetBuildArtifactsPath; 65 test_utils::ScopedTempFile fs_filename_{"Ext2FilesystemTest-XXXXXX"}; in TEST_F()
|
D | zip_unittest.cc | 33 using chromeos_update_engine::test_utils::kRandomString;
|
D | payload_signer_unittest.cc | 33 using chromeos_update_engine::test_utils::GetBuildArtifactsPath;
|
D | ab_generator_unittest.cc | 67 test_utils::FillWithData(&part_data); in TestSplitReplaceOrReplaceBzOperation() 220 test_utils::FillWithData(&part_data); in TestMergeReplaceOrReplaceBzOperations() 584 test_utils::FillWithData(&src_data); in TEST_F()
|
/system/update_engine/scripts/update_payload/ |
D | checker_unittest.py | 26 import test_utils 412 payload_gen = test_utils.PayloadGenerator() 416 payload_gen.SetBlockSize(test_utils.KiB(1)) 418 payload_gen.SetBlockSize(test_utils.KiB(4)) 433 rootfs_part_size = test_utils.MiB(8) 434 kernel_part_size = test_utils.KiB(512) 845 old_part_size = test_utils.MiB(4) 846 new_part_size = test_utils.MiB(8) 960 payload_gen = test_utils.PayloadGenerator() 962 block_size = test_utils.KiB(4) [all …]
|
/system/update_engine/payload_consumer/ |
D | bzip_extent_writer_unittest.cc | 54 test_utils::ScopedTempFile temp_file_{"BzipExtentWriterTest-file.XXXXXX"}; 124 test_utils::ExpectVectorsEq(original_compressed_data, compressed_data); in TEST_F() 129 test_utils::ExpectVectorsEq(decompressed_data, output); in TEST_F()
|
D | extent_writer_unittest.cc | 33 using chromeos_update_engine::test_utils::ExpectVectorsEq; 64 test_utils::ScopedTempFile temp_file_{"ExtentWriterTest-file.XXXXXX"}; 133 test_utils::FillWithData(&data); in WriteAlignedExtents() 185 test_utils::FillWithData(&data); in TestZeroPad() 234 test_utils::FillWithData(&data); in TEST_F()
|
D | filesystem_verifier_action_unittest.cc | 127 test_utils::FillWithData(&a_loop_data); in DoTest() 130 if (!(test_utils::WriteFileVector(a_loop_file, a_loop_data))) { in DoTest() 137 test_utils::ScopedLoopbackDeviceBinder a_dev_releaser( in DoTest() 213 test_utils::ExpectVectorsEq(a_loop_data, a_out); in DoTest()
|
D | delta_performer_integration_test.cc | 51 using test_utils::GetBuildArtifactsPath; 52 using test_utils::ScopedLoopMounter; 53 using test_utils::System; 54 using test_utils::kRandomString; 270 ASSERT_TRUE(test_utils::WriteFileVector(sig_file, signature)); in SignGeneratedShellPayload() 279 ASSERT_TRUE(test_utils::WriteFileVector(sig_file2, signature)); in SignGeneratedShellPayload() 416 test_utils::WriteFileString(mnt_path.Append("foo").value(), "foo")); in GenerateDeltaFile() 440 EXPECT_TRUE(test_utils::WriteFileString( in GenerateDeltaFile() 473 test_utils::FillWithData(&state->old_kernel_data); in GenerateDeltaFile() 474 test_utils::FillWithData(&state->new_kernel_data); in GenerateDeltaFile() [all …]
|
D | postinstall_runner_action_unittest.cc | 45 using chromeos_update_engine::test_utils::ScopedLoopbackDeviceBinder; 94 test_utils::GetBuildArtifactsPath("gen/disk_ext2_unittest.img"); in SetUp() 112 test_utils::Readlink(base::StringPrintf( in SuspendRunningAction()
|
D | download_action_unittest.cc | 55 using test_utils::ScopedTempFile; 523 if (!test_utils::IsXAttrSupported(FilePath("/tmp"))) { in TEST_F() 546 if (!test_utils::IsXAttrSupported(FilePath("/tmp"))) { in TEST_F() 562 if (!test_utils::IsXAttrSupported(FilePath("/tmp"))) { in TEST_F() 599 if (!test_utils::IsXAttrSupported(FilePath("/tmp"))) { in TEST_F()
|
D | delta_performer_unittest.cc | 53 using test_utils::GetBuildArtifactsPath; 54 using test_utils::System; 55 using test_utils::kRandomString; 904 test_utils::GetBuildArtifactsPath("zlib_fingerprint"); in TEST_F()
|
/system/update_engine/ |
D | testrunner.cc | 53 ":" + chromeos_update_engine::test_utils::GetBuildArtifactsPath().value(); in main()
|
D | hardware_chromeos_unittest.cc | 30 using chromeos_update_engine::test_utils::WriteFileString;
|
D | p2p_manager_unittest.cc | 343 if (!test_utils::IsXAttrSupported(base::FilePath("/tmp"))) { in TEST_F() 365 if (!test_utils::IsXAttrSupported(base::FilePath("/tmp"))) { in TEST_F() 391 if (!test_utils::IsXAttrSupported(base::FilePath("/tmp"))) { in TEST_F()
|
D | image_properties_chromeos_unittest.cc | 29 using chromeos_update_engine::test_utils::WriteFileString;
|
D | omaha_response_handler_action_unittest.cc | 33 using chromeos_update_engine::test_utils::System; 34 using chromeos_update_engine::test_utils::WriteFileString;
|
D | omaha_request_params_unittest.cc | 34 using chromeos_update_engine::test_utils::WriteFileString;
|
/system/update_engine/common/ |
D | utils_unittest.cc | 206 test_utils::ScopedTempFile file; in GetFileFormatTester() 471 test_utils::GetBuildArtifactsPath().Append("gen/disk_ext2_4k.img"), in TEST() 478 test_utils::ScopedLoopbackDeviceBinder loop_binder( in TEST()
|
/system/core/base/ |
D | Android.bp | 54 "test_utils.cpp",
|