Lines Matching refs:image_file_
150 image_file_ = image_temp_file_.path; in SetUp()
199 std::string image_file_; member in UpdaterTestBase
422 ASSERT_TRUE(android::base::WriteStringToFile(data, image_file_)); in TEST_F()
442 RunBlockImageUpdate(false, entries, image_file_, "t"); in TEST_F()
445 ASSERT_TRUE(android::base::ReadFileToString(image_file_, &updated)); in TEST_F()
471 ASSERT_TRUE(android::base::WriteStringToFile(data, image_file_)); in TEST_F()
491 RunBlockImageUpdate(false, entries, image_file_, "", kHashTreeComputationFailure); in TEST_F()
645 RunBlockImageUpdate(false, entries, image_file_, "", kArgsParsingFailure); in TEST_F()
692 ASSERT_TRUE(android::base::WriteStringToFile(source, image_file_)); in TEST_F()
697 RunBlockImageUpdate(false, entries, image_file_, "t"); in TEST_F()
701 ASSERT_TRUE(android::base::ReadFileToString(image_file_, &updated)); in TEST_F()
711 ASSERT_TRUE(android::base::WriteStringToFile(source, image_file_)); in TEST_F()
719 RunBlockImageUpdate(false, entries, image_file_, "", kPatchApplicationFailure); in TEST_F()
728 ASSERT_TRUE(android::base::WriteStringToFile(source, image_file_)); in TEST_F()
736 RunBlockImageUpdate(false, entries, image_file_, "", kPatchApplicationFailure); in TEST_F()
762 ASSERT_TRUE(android::base::WriteStringToFile(src_content, image_file_)); in TEST_F()
764 RunBlockImageUpdate(false, entries, image_file_, ""); in TEST_F()
767 std::string name_digest = GetSha1(image_file_); in TEST_F()
793 RunBlockImageUpdate(false, entries, image_file_, "t"); in TEST_F()
814 RunBlockImageUpdate(false, entries, image_file_, ""); in TEST_F()
817 RunBlockImageUpdate(false, entries, image_file_, ""); in TEST_F()
821 RunBlockImageUpdate(false, entries, image_file_, "t"); in TEST_F()
860 RunBlockImageUpdate(false, entries, image_file_, "t"); in TEST_F()
863 ASSERT_TRUE(android::base::ReadFileToString(image_file_, &updated_content)); in TEST_F()
903 ASSERT_TRUE(android::base::WriteStringToFile(block1 + block2 + block3, image_file_)); in TEST_F()
915 RunBlockImageUpdate(false, entries, image_file_, ""); in TEST_F()
923 ASSERT_TRUE(android::base::ReadFileToString(image_file_, &updated_contents)); in TEST_F()
929 ASSERT_TRUE(android::base::WriteStringToFile(block1 + block2 + block3, image_file_)); in TEST_F()
930 RunBlockImageUpdate(false, entries, image_file_, "t"); in TEST_F()
932 ASSERT_TRUE(android::base::ReadFileToString(image_file_, &updated_contents)); in TEST_F()
960 ASSERT_TRUE(android::base::WriteStringToFile(block1 + block1, image_file_)); in TEST_F()
966 RunBlockImageUpdate(false, entries, image_file_, ""); in TEST_F()
999 ASSERT_TRUE(android::base::WriteStringToFile(block1 + block1 + block3, image_file_)); in TEST_F()
1008 RunBlockImageUpdate(true, entries, image_file_, "t"); in TEST_F()
1017 ASSERT_TRUE(android::base::WriteStringToFile(block1 + block2 + block3, image_file_)); in TEST_F()
1018 RunBlockImageUpdate(true, entries, image_file_, "t"); in TEST_F()
1178 ASSERT_TRUE(android::base::WriteStringToFile(g_source_image, image_file_)); in TEST_P()
1189 RunBlockImageUpdate(false, g_entries, image_file_, ""); in TEST_P()
1207 RunBlockImageUpdate(true, g_entries, image_file_, "t"); in TEST_P()
1219 RunBlockImageUpdate(false, g_entries, image_file_, "t"); in TEST_P()
1225 ASSERT_TRUE(android::base::ReadFileToString(image_file_, &updated_image_actual)); in TEST_P()