Home
last modified time | relevance | path

Searched refs:from_testdata_base (Results 1 – 9 of 9) sorted by relevance

/bootable/recovery/tests/unit/
Dapplypatch_modes_test.cpp57 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 …]
Dverifier_test.cpp62 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 …]
Dapplypatch_test.cpp49 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()
Dzip_test.cpp31 std::string zip_path = from_testdata_base("ziptest_fake-update.zip"); in TEST()
Dresources_test.cpp78 ASSERT_EQ(0, res_create_multi_display_surface(from_testdata_base("battery_scale.png").c_str(), in TEST()
Dupdater_test.cpp255 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()
Dscreen_ui_test.cpp357 testdata_dir_ = from_testdata_base(""); in SetUp()
/bootable/recovery/tests/common/
Dtest_constants.h35 [[maybe_unused]] static std::string from_testdata_base(const std::string& fname) { in from_testdata_base() function
/bootable/recovery/tests/unit/host/
Dimgdiff_test.cpp348 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()