Lines Matching refs:from_testdata_base
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()
225 BuildCertificateArchive({ from_testdata_base("testkey_v2.x509.pem"), corrupted_key.path }, in TEST()
235 from_testdata_base("testkey_v3.x509.pem"), in TEST()
236 from_testdata_base("testkey_v4.x509.pem"), in TEST()
237 from_testdata_base("testkey_v5.x509.pem"), in TEST()
253 std::string path = from_testdata_base(args[0]); in SetUp()
260 std::string public_key_file = from_testdata_base("testkey_" + *it + ".x509.pem"); in SetUp()
280 LoadKeyFromFile(from_testdata_base("testkey_v3.x509.pem"), &certs.back()); in TEST()
283 ASSERT_TRUE(android::base::ReadFileToString(from_testdata_base("otasigned_v3.zip"), &package)); in TEST()
294 LoadKeyFromFile(from_testdata_base("testkey_v3.x509.pem"), &certs.back()); in TEST()
297 ASSERT_TRUE(android::base::ReadFileToString(from_testdata_base("otasigned_v3.zip"), &package)); in TEST()
313 LoadKeyFromFile(from_testdata_base("testkey_v3.x509.pem"), &certs.back()); in TEST()