Searched refs:from_testdata_base (Results 1 – 9 of 9) sorted by relevance
/bootable/recovery/tests/unit/ |
D | applypatch_modes_test.cpp | 57 source = GetEmmcTargetString(from_testdata_base("boot.img")); in SetUp() 60 std::string recovery_file = from_testdata_base("recovery.img"); in SetUp() 107 from_testdata_base("bonus.file"), in TEST_F() 109 from_testdata_base("recovery-from-boot.p"), in TEST_F() 123 "applypatch", "--patch", from_testdata_base("recovery-from-boot-with-bonus.p"), in TEST_F() 136 ASSERT_TRUE(android::base::ReadFileToString(from_testdata_base("boot.img"), &src_content)); in TEST_F() 139 ASSERT_TRUE(android::base::ReadFileToString(from_testdata_base("recovery.img"), &tgt_content)); in TEST_F() 157 "applypatch", "--bonus", "/doesntexist", "--patch", from_testdata_base("recovery-from-boot.p"), in TEST_F() 164 InvokeApplyPatchModes({ "applypatch", "--bonus", from_testdata_base("bonus.file") })); in TEST_F() 169 "applypatch", "--flash", from_testdata_base("recovery.img"), "--target", target, in TEST_F() [all …]
|
D | verifier_test.cpp | 62 std::string path = from_testdata_base(name); in VerifyPackageWithCertificates() 101 android::base::ReadFileToString(from_testdata_base("testkey_v1.txt"), &testkey_string)); in TEST() 108 LoadKeyFromFile(from_testdata_base("testkey_v1.x509.pem"), &cert); in TEST() 119 LoadKeyFromFile(from_testdata_base("testkey_v2.x509.pem"), &cert); in TEST() 130 LoadKeyFromFile(from_testdata_base("testkey_v3.x509.pem"), &cert); in TEST() 141 LoadKeyFromFile(from_testdata_base("testkey_v4.x509.pem"), &cert); in TEST() 152 LoadKeyFromFile(from_testdata_base("testkey_v5.x509.pem"), &cert); in TEST() 163 LoadKeyFromFile(from_testdata_base("testkey_4096bits.x509.pem"), &cert); in TEST() 210 BuildCertificateArchive({ from_testdata_base("testkey_v1.x509.pem") }, otacerts.release()); in TEST() 220 ASSERT_TRUE(android::base::ReadFileToString(from_testdata_base("testkey_v1.x509.pem"), &content)); in TEST() [all …]
|
D | applypatch_test.cpp | 49 source_file = from_testdata_base("boot.img"); in SetUp() 55 target_file = from_testdata_base("recovery.img"); in SetUp() 137 ASSERT_TRUE(LoadFileContents(from_testdata_base("recovery-from-boot.p"), &patch_fc)); in TEST_F() 141 ASSERT_TRUE(LoadFileContents(from_testdata_base("bonus.file"), &bonus_fc)); in TEST_F() 151 ASSERT_TRUE(LoadFileContents(from_testdata_base("recovery-from-boot-with-bonus.p"), &patch_fc)); in TEST_F()
|
D | zip_test.cpp | 31 std::string zip_path = from_testdata_base("ziptest_fake-update.zip"); in TEST()
|
D | resources_test.cpp | 78 ASSERT_EQ(0, res_create_multi_display_surface(from_testdata_base("battery_scale.png").c_str(), in TEST()
|
D | updater_test.cpp | 255 std::string source_file = from_testdata_base("boot.img"); in TEST_F() 262 std::string target_file = from_testdata_base("recovery.img"); in TEST_F() 348 std::string zip_path = from_testdata_base("ziptest_valid.zip"); in TEST_F()
|
D | screen_ui_test.cpp | 357 testdata_dir_ = from_testdata_base(""); in SetUp()
|
/bootable/recovery/tests/common/ |
D | test_constants.h | 35 [[maybe_unused]] static std::string from_testdata_base(const std::string& fname) { in from_testdata_base() function
|
/bootable/recovery/tests/unit/host/ |
D | imgdiff_test.cpp | 348 std::string gzipped_source_path = from_testdata_base("gzipped_source"); in TEST() 356 std::string gzipped_target_path = from_testdata_base("gzipped_target"); in TEST() 451 std::string gzipped_source_path = from_testdata_base("gzipped_source"); in TEST() 460 std::string gzipped_target_path = from_testdata_base("gzipped_target"); in TEST() 855 std::string tgt_path = from_testdata_base("deflate_tgt.zip"); in TEST() 856 std::string src_path = from_testdata_base("deflate_src.zip"); in TEST()
|