• Home
  • Raw
  • Download

Lines Matching refs:GetTestFile

49 static std::string GetTestFile(const std::string& name) {  in GetTestFile()  function
59 fs::copy(GetTestFile(name), built_in_dir); in PrepareCompressedApex()
76 fs::copy(GetTestFile("apex.apexd_test.apex"), built_in_dir.path); in TEST()
77 fs::copy(GetTestFile("apex.apexd_test_different_app.apex"), in TEST()
80 fs::copy(GetTestFile("apex.apexd_test.apex"), data_dir.path); in TEST()
81 fs::copy(GetTestFile("apex.apexd_test_different_app.apex"), data_dir.path); in TEST()
89 auto apex = ApexFile::Open(GetTestFile(apex_name)); in TEST()
129 fs::copy(GetTestFile("apex.apexd_test.apex"), td.path); in TEST()
130 fs::copy(GetTestFile("apex.apexd_test_corrupt_superblock_apex.apex"), in TEST()
140 fs::copy(GetTestFile("com.android.apex.compressed.v1_without_apex.capex"), in TEST()
151 fs::copy(GetTestFile("apex.apexd_test.apex"), td.path); in TEST()
152 fs::copy(GetTestFile("apex.apexd_test.apex"), in TEST()
167 fs::copy(GetTestFile("com.android.apex.compressed.v1.capex"), td.path); in TEST()
168 fs::copy(GetTestFile("com.android.apex.compressed.v1.capex"), in TEST()
182 fs::copy(GetTestFile("apex.apexd_test.apex"), td.path); in TEST()
197 fs::copy(GetTestFile("apex.apexd_test_different_key.apex"), *path, in TEST()
216 fs::copy(GetTestFile("com.android.apex.compressed.v1.capex"), td.path); in TEST()
232 fs::copy(GetTestFile("com.android.apex.compressed_different_key.capex"), in TEST()
250 fs::copy(GetTestFile("apex.apexd_test.apex"), td.path); in TEST()
251 fs::copy(GetTestFile("com.android.apex.compressed.v1.capex"), td.path); in TEST()
267 auto apex2 = ApexFile::Open(GetTestFile("apex.apexd_test.apex")); in TEST()
272 ApexFile::Open(GetTestFile("apex.apexd_test_different_app.apex")); in TEST()
284 fs::copy(GetTestFile(filename), decompression_dir.path); in TEST()
306 fs::copy(GetTestFile("apex.apexd_test.apex"), built_in_dir.path); in TEST()
307 fs::copy(GetTestFile("apex.apexd_test_v2.apex"), data_dir.path); in TEST()
311 fs::copy(GetTestFile("com.android.apex.compressed.v1_original.apex"), in TEST()
331 fs::copy(GetTestFile("com.android.apex.compressed.v1.capex"), data_dir.path); in TEST()
343 fs::copy(GetTestFile("apex.apexd_test.apex"), data_dir.path); in TEST()
355 fs::copy(GetTestFile("apex.apexd_test.apex"), built_in_dir.path); in TEST()
356 fs::copy(GetTestFile("apex.apexd_test.apex"), data_dir.path); in TEST()
357 fs::copy(GetTestFile("apex.apexd_test_v2.apex"), data_dir.path); in TEST()
387 fs::copy(GetTestFile("apex.apexd_test.apex"), built_in_dir.path); in TEST()
388 fs::copy(GetTestFile("apex.apexd_test_different_key.apex"), data_dir.path); in TEST()
401 fs::copy(GetTestFile("apex.apexd_test.apex"), built_in_dir.path); in TEST()
402 fs::copy(GetTestFile("com.android.apex.compressed.v1.capex"), in TEST()
420 fs::copy(GetTestFile("apex.apexd_test.apex"), built_in_dir.path); in TEST()
421 fs::copy(GetTestFile("com.android.apex.cts.shim.apex"), built_in_dir.path); in TEST()
422 fs::copy(GetTestFile("com.android.apex.compressed.v1.capex"), in TEST()
428 fs::copy(GetTestFile("com.android.apex.cts.shim.v2.apex"), data_dir.path); in TEST()
456 fs::copy(GetTestFile("apex.apexd_test.apex"), built_in_dir.path); in TEST()
457 fs::copy(GetTestFile("apex.apexd_test_v2.apex"), data_dir.path); in TEST()
483 fs::copy(GetTestFile("apex.apexd_test.apex"), built_in_dir.path); in TEST()