Home
last modified time | relevance | path

Searched refs:MakeTempFile (Results 1 – 22 of 22) sorted by relevance

/system/update_engine/payload_consumer/
Dfile_writer_unittest.cc42 ASSERT_TRUE(utils::MakeTempFile("FileWriterTest-XXXXXX", &path, nullptr)); in TEST()
67 ASSERT_TRUE(utils::MakeTempFile("FileWriterTest-XXXXXX", &path, nullptr)); in TEST()
Ddelta_performer_integration_test.cc212 ASSERT_TRUE(utils::MakeTempFile("key.XXXXXX", in SignGeneratedShellPayload()
231 ASSERT_TRUE(utils::MakeTempFile("hash.XXXXXX", &hash_file, nullptr)); in SignGeneratedShellPayload()
255 ASSERT_TRUE(utils::MakeTempFile("signature.XXXXXX", &sig_file, nullptr)); in SignGeneratedShellPayload()
264 ASSERT_TRUE(utils::MakeTempFile("signature.XXXXXX", &sig_file2, nullptr)); in SignGeneratedShellPayload()
306 EXPECT_TRUE(utils::MakeTempFile("a_img.XXXXXX", &state->a_img, nullptr)); in GenerateDeltaFile()
307 EXPECT_TRUE(utils::MakeTempFile("b_img.XXXXXX", &state->b_img, nullptr)); in GenerateDeltaFile()
312 utils::MakeTempFile("result_img.XXXXXX", &state->result_img, nullptr)); in GenerateDeltaFile()
456 EXPECT_TRUE(utils::MakeTempFile("old_kernel.XXXXXX", in GenerateDeltaFile()
461 EXPECT_TRUE(utils::MakeTempFile("new_kernel.XXXXXX", in GenerateDeltaFile()
466 EXPECT_TRUE(utils::MakeTempFile("result_kernel.XXXXXX", in GenerateDeltaFile()
[all …]
Ddelta_performer_unittest.cc134 EXPECT_TRUE(utils::MakeTempFile("Blob-XXXXXX", &blob_path, nullptr)); in GeneratePayload()
167 EXPECT_TRUE(utils::MakeTempFile("Payload-XXXXXX", &payload_path, nullptr)); in GeneratePayload()
198 EXPECT_TRUE(utils::MakeTempFile("Partition-XXXXXX", &new_part, nullptr)); in ApplyPayloadToData()
477 EXPECT_TRUE(utils::MakeTempFile("Source-XXXXXX", in TEST_F()
504 EXPECT_TRUE(utils::MakeTempFile("Source-XXXXXX", &source_path, nullptr)); in TEST_F()
Dfilesystem_verifier_action_unittest.cc137 if (!(utils::MakeTempFile("a_loop_file.XXXXXX", &a_loop_file, nullptr))) { in DoTest()
337 EXPECT_TRUE(utils::MakeTempFile("img.XXXXXX", &img, nullptr)); in TEST_F()
Ddelta_performer.cc1125 TEST_AND_RETURN_FALSE(utils::MakeTempFile("au_patch.XXXXXX", in PerformBsdiffOperation()
1211 TEST_AND_RETURN_FALSE(utils::MakeTempFile("au_patch.XXXXXX", in PerformSourceBsdiffOperation()
/system/update_engine/payload_generator/
Dpayload_file_unittest.cc40 EXPECT_TRUE(utils::MakeTempFile("ReorderBlobsTest.orig.XXXXXX", &orig_blobs, in TEST_F()
54 utils::MakeTempFile("ReorderBlobsTest.new.XXXXXX", &new_blobs, nullptr)); in TEST_F()
Dpayload_signer_unittest.cc129 EXPECT_TRUE(utils::MakeTempFile("payload.XXXXXX", &payload_path, nullptr)); in DoWriteAndLoadPayloadTest()
210 EXPECT_TRUE(utils::MakeTempFile("payload.XXXXXX", &payload_path, nullptr)); in TEST_F()
235 EXPECT_TRUE(utils::MakeTempFile("payload.XXXXXX", &payload_path, nullptr)); in TEST_F()
Dblock_mapping_unittest.cc43 EXPECT_TRUE(utils::MakeTempFile("BlockMappingTest_old.XXXXXX", in SetUp()
46 EXPECT_TRUE(utils::MakeTempFile("BlockMappingTest_new.XXXXXX", in SetUp()
Dfull_update_generator_unittest.cc42 EXPECT_TRUE(utils::MakeTempFile("FullUpdateTest_partition.XXXXXX", in SetUp()
45 EXPECT_TRUE(utils::MakeTempFile("FullUpdateTest_blobs.XXXXXX", in SetUp()
Dblob_file_writer_unittest.cc36 EXPECT_TRUE(utils::MakeTempFile("BlobFileWriterTest.XXXXXX", in TEST()
Dab_generator_unittest.cc60 EXPECT_TRUE(utils::MakeTempFile( in TestSplitReplaceOrReplaceBzOperation()
112 EXPECT_TRUE(utils::MakeTempFile( in TestSplitReplaceOrReplaceBzOperation()
213 EXPECT_TRUE(utils::MakeTempFile( in TestMergeReplaceOrReplaceBzOperations()
281 EXPECT_TRUE(utils::MakeTempFile( in TestMergeReplaceOrReplaceBzOperations()
580 EXPECT_TRUE(utils::MakeTempFile("AddSourceHashTest_src_part.XXXXXX", in TEST_F()
Ddelta_diff_generator.cc72 utils::MakeTempFile(kTempFileTemplate, &temp_file_path, &data_file_fd)); in GenerateUpdatePayloadFile()
Ddelta_diff_utils_unittest.cc73 ASSERT_TRUE(utils::MakeTempFile(pattern.c_str(), &part->path, &fd)); in CreatePartition()
114 ASSERT_TRUE(utils::MakeTempFile("DeltaDiffUtilsTest-blob-XXXXXX", in SetUp()
Dpayload_file.cc106 TEST_AND_RETURN_FALSE(utils::MakeTempFile( in WritePayload()
Ddelta_diff_utils.cc696 utils::MakeTempFile(kPatchFile, &patch_file_path, nullptr)); in DiffFiles()
Dinplace_generator_unittest.cc112 EXPECT_TRUE(utils::MakeTempFile( in CreateBlobFile()
/system/update_engine/common/
Dhash_calculator_unittest.cc116 utils::MakeTempFile("data.XXXXXX", &data_path, nullptr)); in TEST_F()
142 utils::MakeTempFile("data.XXXXXX", &data_path, nullptr)); in TEST_F()
Dtest_utils.h173 EXPECT_TRUE(utils::MakeTempFile(pattern, &path_, nullptr)); in ScopedTempFile()
Dutils.h141 bool MakeTempFile(const std::string& base_filename_template,
Dutils_unittest.cc197 EXPECT_TRUE(utils::MakeTempFile("img.XXXXXX", &img, nullptr)); in TEST()
Dutils.cc603 bool MakeTempFile(const string& base_filename_template, in MakeTempFile() function
/system/update_engine/
Domaha_response_handler_action_unittest.cc139 CHECK(utils::MakeTempFile( in TEST_F()