Home
last modified time | relevance | path

Searched refs:ScopedPathUnlinker (Results 1 – 19 of 19) sorted by relevance

/system/update_engine/payload_generator/
Dblock_mapping_unittest.cc50 old_part_unlinker_.reset(new ScopedPathUnlinker(old_part_path_)); in SetUp()
51 new_part_unlinker_.reset(new ScopedPathUnlinker(new_part_path_)); in SetUp()
57 std::unique_ptr<ScopedPathUnlinker> old_part_unlinker_;
58 std::unique_ptr<ScopedPathUnlinker> new_part_unlinker_;
Dfull_update_generator_unittest.cc50 part_path_unlinker_.reset(new ScopedPathUnlinker(new_part_conf.path)); in SetUp()
51 out_blobs_unlinker_.reset(new ScopedPathUnlinker(out_blobs_path_)); in SetUp()
66 std::unique_ptr<ScopedPathUnlinker> part_path_unlinker_;
67 std::unique_ptr<ScopedPathUnlinker> out_blobs_unlinker_;
Dpayload_file_unittest.cc42 ScopedPathUnlinker orig_blobs_unlinker(orig_blobs); in TEST_F()
55 ScopedPathUnlinker new_blobs_unlinker(new_blobs); in TEST_F()
Dpayload_signer_unittest.cc132 ScopedPathUnlinker payload_path_unlinker(payload_path); in DoWriteAndLoadPayloadTest()
220 ScopedPathUnlinker payload_path_unlinker(payload_path); in TEST_F()
248 ScopedPathUnlinker payload_path_unlinker(payload_path); in TEST_F()
Dab_generator_unittest.cc62 ScopedPathUnlinker part_path_unlinker(part_path); in TestSplitReplaceOrReplaceBzOperation()
114 ScopedPathUnlinker data_path_unlinker(data_path); in TestSplitReplaceOrReplaceBzOperation()
215 ScopedPathUnlinker part_path_unlinker(part_path); in TestMergeReplaceOrReplaceBzOperations()
283 ScopedPathUnlinker data_path_unlinker(data_path); in TestMergeReplaceOrReplaceBzOperations()
576 ScopedPathUnlinker src_part_path_unlinker(src_part_path); in TEST_F()
Ddelta_diff_generator.cc73 ScopedPathUnlinker temp_file_unlinker(temp_file_path); in GenerateUpdatePayloadFile()
Ddelta_diff_utils.cc719 ScopedPathUnlinker old_unlinker(old_chunk.value()); in ReadExtentsToDiff()
724 ScopedPathUnlinker new_unlinker(new_chunk.value()); in ReadExtentsToDiff()
Dpayload_file.cc111 ScopedPathUnlinker ordered_blobs_unlinker(ordered_blobs_path); in WritePayload()
Dinplace_generator_unittest.cc115 blob_path_unlinker_.reset(new ScopedPathUnlinker(blob_path_)); in CreateBlobFile()
138 std::unique_ptr<ScopedPathUnlinker> blob_path_unlinker_;
/system/update_engine/payload_consumer/
Dfile_writer_unittest.cc43 ScopedPathUnlinker path_unlinker(path); in TEST()
68 ScopedPathUnlinker path_unlinker(path); in TEST()
Ddelta_performer_integration_test.cc221 ScopedPathUnlinker key_unlinker(private_key_path); in SignGeneratedShellPayload()
245 ScopedPathUnlinker hash_unlinker(hash_file); in SignGeneratedShellPayload()
269 ScopedPathUnlinker sig_unlinker(sig_file); in SignGeneratedShellPayload()
274 ScopedPathUnlinker sig2_unlinker(sig_file2); in SignGeneratedShellPayload()
936 ScopedPathUnlinker a_img_unlinker(state.a_img); in DoSmallImageTest()
937 ScopedPathUnlinker b_img_unlinker(state.b_img); in DoSmallImageTest()
938 ScopedPathUnlinker new_img_unlinker(state.result_img); in DoSmallImageTest()
939 ScopedPathUnlinker delta_unlinker(state.delta_path); in DoSmallImageTest()
940 ScopedPathUnlinker old_kernel_unlinker(state.old_kernel); in DoSmallImageTest()
941 ScopedPathUnlinker new_kernel_unlinker(state.new_kernel); in DoSmallImageTest()
[all …]
Ddelta_performer_unittest.cc130 ScopedPathUnlinker blob_unlinker(blob_path); in GeneratePayload()
163 ScopedPathUnlinker payload_unlinker(payload_path); in GeneratePayload()
195 ScopedPathUnlinker partition_unlinker(new_part); in ApplyPayloadToData()
480 ScopedPathUnlinker path_unlinker(source_path); in TEST_F()
506 ScopedPathUnlinker path_unlinker(source_path); in TEST_F()
Dfilesystem_verifier_action_unittest.cc122 ScopedPathUnlinker a_loop_file_unlinker(a_loop_file); in DoTest()
Ddelta_performer.cc1365 ScopedPathUnlinker tmp_key_remover(tmp_key.value()); in ValidateMetadataSignature()
1571 ScopedPathUnlinker tmp_key_remover(tmp_key.value()); in VerifyPayload()
/system/update_engine/common/
Dutils.h346 class ScopedPathUnlinker {
348 explicit ScopedPathUnlinker(const std::string& path) in ScopedPathUnlinker() function
351 ~ScopedPathUnlinker() { in ~ScopedPathUnlinker()
361 DISALLOW_COPY_AND_ASSIGN(ScopedPathUnlinker);
Dhash_calculator_unittest.cc114 ScopedPathUnlinker data_path_unlinker(data_path); in TEST_F()
140 ScopedPathUnlinker data_path_unlinker(data_path); in TEST_F()
Dutils_unittest.cc62 ScopedPathUnlinker unlinker(file.value()); in TEST()
78 ScopedPathUnlinker unlinker(file.value()); in TEST()
324 ScopedPathUnlinker unlinker(path.value()); in TEST()
468 ScopedPathUnlinker tmp_image_unlinker(tmp_image); in TEST()
510 ScopedPathUnlinker unlinker(file.value()); in TEST()
Dtest_utils.h165 unlinker_.reset(new ScopedPathUnlinker(path_)); in ScopedTempFile()
172 std::unique_ptr<ScopedPathUnlinker> unlinker_;
/system/update_engine/
Domaha_response_handler_action_unittest.cc150 ScopedPathUnlinker deadline_unlinker(test_deadline_file); in TEST_F()