Home
last modified time | relevance | path

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

/system/apex/apexd/
Dapexd_brand_new_verifier_test.cpp47 fs::copy(GetTestFile("apexd_testdata/com.android.apex.brand.new.avbpubkey"), in TEST()
52 auto apex = ApexFile::Open(GetTestFile("com.android.apex.brand.new.apex")); in TEST()
67 fs::copy(GetTestFile("apexd_testdata/com.android.apex.brand.new.avbpubkey"), in TEST()
69 fs::copy(GetTestFile("apexd_testdata/blocklist.json"), config_dir.path); in TEST()
73 auto apex = ApexFile::Open(GetTestFile("com.android.apex.brand.new.v2.apex")); in TEST()
87 fs::copy(GetTestFile("apexd_testdata/com.android.apex.brand.new.avbpubkey"), in TEST()
89 fs::copy(GetTestFile("com.android.apex.brand.new.apex"), data_dir.path); in TEST()
94 auto apex = ApexFile::Open(GetTestFile("com.android.apex.brand.new.v2.apex")); in TEST()
107 fs::copy(GetTestFile("apex.apexd_test.apex"), built_in_dir.path); in TEST()
111 auto apex = ApexFile::Open(GetTestFile("apex.apexd_test.apex")); in TEST()
[all …]
Dapex_file_repository_test.cpp64 fs::copy(GetTestFile(name), built_in_dir); in PrepareCompressedApex()
81 fs::copy(GetTestFile("apex.apexd_test.apex"), built_in_dir.path); in TEST()
82 fs::copy(GetTestFile("apex.apexd_test_different_app.apex"), in TEST()
86 fs::copy(GetTestFile("apex.apexd_test.apex"), data_dir.path); in TEST()
87 fs::copy(GetTestFile("apex.apexd_test_different_app.apex"), data_dir.path); in TEST()
96 auto apex = ApexFile::Open(GetTestFile(apex_name)); in TEST()
136 fs::copy(GetTestFile("apex.apexd_test.apex"), built_in_dir.path); in TEST()
137 fs::copy(GetTestFile("apex.apexd_test_different_app.apex"), in TEST()
159 fs::copy(GetTestFile("apex.apexd_test.apex"), td.path); in TEST()
160 fs::copy(GetTestFile("apex.apexd_test_corrupt_superblock_apex.apex"), in TEST()
[all …]
Dapexservice_test.cpp143 static std::string GetTestFile(const std::string& name) { in GetTestFile() function in android::apex::ApexServiceTest
502 PrepareTestApexForInstall installer(GetTestFile("apex.apexd_test.apex"), in TEST_F()
652 GetTestFile("apex.apexd_test_different_app.apex"), in TEST_F()
655 GetTestFile("apex.apexd_test_manifest_mismatch.apex"), in TEST_F()
752 PrepareTestApexForInstall installer(GetTestFile("apex.apexd_test.apex"), in TEST_F()
809 PrepareTestApexForInstall installer(GetTestFile("apex.apexd_test.apex"), in TEST_F()
813 GetTestFile("apex.apexd_test_different_app.apex"), in TEST_F()
873 PrepareTestApexForInstall installer(GetTestFile("apex.apexd_test.apex"), in TEST_F()
877 GetTestFile("apex.apexd_test_corrupt_apex.apex"), in TEST_F()
1039 PrepareTestApexForInstall installer1(GetTestFile("apex.apexd_test.apex")); in TEST_F()
[all …]
Dapexd_image_manager_test.cpp47 auto apex1 = ApexFile::Open(GetTestFile("apex.apexd_test.apex")); in TEST()
50 ApexFile::Open(GetTestFile("apex.apexd_test_different_app.apex")); in TEST()
Dapexd_test.cpp225 fs::copy(GetTestFile(apex_name), built_in_dir_); in AddPreInstalledApex()
230 fs::copy(GetTestFile(apex_name), data_dir_); in AddDataApex()
236 fs::copy(GetTestFile(apex_name), data_dir_ + "/" + target_name); in AddDataApex()
241 auto apex_file = ApexFile::Open(GetTestFile(apex_name)); in AddDecompressedApex()
247 fs::copy(GetTestFile(apex_name), decompression_dir_ + "/" + target_name); in AddDecompressedApex()
256 fs::copy(GetTestFile(name), built_in_dir); in PrepareCompressedApex()
277 fs::copy(GetTestFile(apex_name), session_dir); in PrepareStagedSession()
609 fs::copy(GetTestFile("com.android.apex.compressed.v1.apex"), ota_apex_path); in TEST_F()
812 fs::copy(GetTestFile("com.android.apex.compressed.v1.apex"), ota_apex_path); in TEST_F()
882 fs::copy(GetTestFile("apex.apexd_test.apex"), staged_dir); in TEST_F()
[all …]
Dapexd_test_utils.h450 inline std::string GetTestFile(const std::string& name) { in GetTestFile() function