Home
last modified time | relevance | path

Searched refs:GetTestFile (Results 1 – 4 of 4) sorted by relevance

/system/apex/apexd/
Dapex_file_repository_test.cpp49 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()
[all …]
Dapexd_verity_test.cpp42 static std::string GetTestFile(const std::string& name) { in GetTestFile() function
49 auto apex = ApexFile::Open(GetTestFile("apex.apexd_test_no_hashtree.apex")); in TEST()
81 auto apex = ApexFile::Open(GetTestFile("apex.apexd_test_no_hashtree.apex")); in TEST()
96 ApexFile::Open(GetTestFile("apex.apexd_test_no_hashtree_2.apex")); in TEST()
119 ApexFile::Open(GetTestFile("com.android.apex.compressed.v1.capex")); in TEST()
Dapexservice_test.cpp137 static std::string GetTestFile(const std::string& name) { in GetTestFile() function in android::apex::ApexServiceTest
296 std::string file = GetTestFile("logcat.tmp.txt"); in GetLogcat()
601 std::string orig_test_file = GetTestFile("apex.apexd_test.apex"); in TEST_F()
625 GetTestFile("apex.apexd_test_no_inst_key.apex")); in TEST_F()
643 PrepareTestApexForInstall installer(GetTestFile("apex.apexd_test.apex")); in TEST_F()
655 PrepareTestApexForInstall installer(GetTestFile("apex.apexd_test.apex"), in TEST_F()
677 PrepareTestApexForInstall installer(GetTestFile("apex.apexd_test.apex"), in TEST_F()
694 GetTestFile("apex.apexd_test_manifest_mismatch.apex"), in TEST_F()
715 PrepareTestApexForInstall installer1(GetTestFile("apex.apexd_test_v2.apex")); in TEST_F()
717 GetTestFile("apex.apexd_test_different_app.apex")); in TEST_F()
[all …]
Dapexd_test.cpp64 static std::string GetTestFile(const std::string& name) { in GetTestFile() function
144 fs::copy(GetTestFile(apex_name), built_in_dir_); in AddPreInstalledApex()
149 fs::copy(GetTestFile(apex_name), data_dir_); in AddDataApex()
155 fs::copy(GetTestFile(apex_name), data_dir_ + "/" + target_name); in AddDataApex()
163 fs::copy(GetTestFile(name), built_in_dir); in PrepareCompressedApex()
180 fs::copy(GetTestFile(apex_name), GetStagedDir(session_id)); in CreateStagedSession()
351 GetTestFile("com.android.apex.compressed.v1_original.apex"); in TEST_F()
472 GetTestFile("com.android.apex.compressed.v1_original.apex"); in TEST_F()
506 fs::copy(GetTestFile("com.android.apex.compressed.v1_original.apex"), in TEST_F()
608 fs::copy(GetTestFile("com.android.apex.compressed.v2_original.apex"), in TEST_F()
[all …]