Home
last modified time | relevance | path

Searched refs:GetTestPath (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tools/aapt2/cmd/
DLink_test.cpp32 const std::string compiled_files_dir = GetTestPath("compiled"); in TEST_F()
33 ASSERT_TRUE(CompileFile(GetTestPath("res/xml/test.xml"), R"(<Item AgentCode="007"/>)", in TEST_F()
36 const std::string out_apk = GetTestPath("out.apk"); in TEST_F()
57 const std::string compiled_files_dir = GetTestPath("compiled"); in TEST_F()
58 ASSERT_TRUE(CompileFile(GetTestPath("res/xml/test.xml"), R"(<Item AgentCode="007"/>)", in TEST_F()
61 const std::string out_apk = GetTestPath("out.apk"); in TEST_F()
86 WriteFile(GetTestPath("assets/testtxt"), content); in TEST_F()
87 WriteFile(GetTestPath("assets/testtxt2"), content); in TEST_F()
88 WriteFile(GetTestPath("assets/test.txt"), content); in TEST_F()
89 WriteFile(GetTestPath("assets/test.hello.txt"), content); in TEST_F()
[all …]
DConvert_test.cpp32 const std::string compiled_files_dir = GetTestPath("compiled"); in TEST_F()
33 ASSERT_TRUE(CompileFile(GetTestPath("res/xml/test.xml"), R"(<Item AgentCode="007"/>)", in TEST_F()
36 const std::string out_apk = GetTestPath("out.apk"); in TEST_F()
46 const std::string out_convert_apk = GetTestPath("out_convert.apk"); in TEST_F()
69 const std::string compiled_files_dir = GetTestPath("compiled"); in TEST_F()
70 ASSERT_TRUE(CompileFile(GetTestPath("res/xml/test.xml"), R"(<Item AgentCode="007"/>)", in TEST_F()
73 const std::string out_apk = GetTestPath("out.apk"); in TEST_F()
83 const std::string out_convert_apk = GetTestPath("out_convert.apk"); in TEST_F()
113 const std::string out_convert_apk = GetTestPath("out_convert.apk"); in TEST_F()
DCompile_test.cpp199 const std::string source_file = ctf->GetTestPath("/res/values/" + file_name + ".xml"); in AssertTranslations()
200 const std::string compiled_files_dir = ctf->GetTestPath("/compiled_" + file_name); in AssertTranslations()
201 const std::string out_apk = ctf->GetTestPath("/" + file_name + ".apk"); in AssertTranslations()
/frameworks/base/tools/aapt2/process/
DSymbolTable_test.cpp85 const std::string static_lib_compiled_files_dir = GetTestPath("static-lib-compiled"); in TEST_F()
86 ASSERT_TRUE(CompileFile(GetTestPath("res/values/values.xml"), in TEST_F()
93 const std::string static_lib_apk = GetTestPath("static_lib.apk"); in TEST_F()
104 const std::string app_compiled_files_dir = GetTestPath("app-compiled"); in TEST_F()
105 ASSERT_TRUE(CompileFile(GetTestPath("res/values/values.xml"), in TEST_F()
112 const std::string out_apk = GetTestPath("out.apk"); in TEST_F()
/frameworks/base/tools/aapt2/format/
DArchive_test.cpp90 std::string output_path = GetTestPath("output"); in TEST_F()
112 std::string output_path = GetTestPath("output"); in TEST_F()
138 std::string output_path = GetTestPath("output"); in TEST_F()
150 std::string output_path = GetTestPath("output.apk"); in TEST_F()
172 std::string output_path = GetTestPath("output.apk"); in TEST_F()
198 std::string output_path = GetTestPath("output.apk"); in TEST_F()
/frameworks/base/tools/aapt2/test/
DFixture.h51 const std::string GetTestPath(const android::StringPiece& path) { in GetTestPath() function
DFixture.cpp145 const std::string manifest_file = GetTestPath("AndroidManifest.xml");