Searched refs:GetTestFile (Results 1 – 6 of 6) sorted by relevance
/aosp12/system/apex/apexd/ |
H A D | apex_file_repository_test.cpp | 49 static std::string GetTestFile(const std::string& name) { in GetTestFile() function 59 fs::copy(GetTestFile(name), built_in_dir); in PrepareCompressedApex() 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() 89 auto apex = ApexFile::Open(GetTestFile(apex_name)); in TEST() 129 fs::copy(GetTestFile("apex.apexd_test.apex"), td.path); in TEST() 151 fs::copy(GetTestFile("apex.apexd_test.apex"), td.path); in TEST() 152 fs::copy(GetTestFile("apex.apexd_test.apex"), in TEST() 182 fs::copy(GetTestFile("apex.apexd_test.apex"), td.path); in TEST() 250 fs::copy(GetTestFile("apex.apexd_test.apex"), td.path); in TEST() [all …]
|
H A D | apexservice_test.cpp | 137 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() 625 GetTestFile("apex.apexd_test_no_inst_key.apex")); in TEST_F() 753 GetTestFile("apex.apexd_test_nocode.apex")); in TEST_F() 999 GetTestFile(NameProvider::GetTestName())); in SetUp() 1357 GetTestFile("apex.apexd_test_no_hashtree.apex"), in TEST_F() 1504 GetTestFile("com.android.apex.cts.shim.apex")); in SetUp() 2403 PrepareBackup({GetTestFile("apex.apexd_test.apex"), in TEST_F() 2419 PrepareBackup({GetTestFile("apex.apexd_test.apex"), in TEST_F() 2780 GetTestFile("com.android.apex.cts.shim.apex")); in TEST_F() [all …]
|
H A D | apexd_verity_test.cpp | 42 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()
|
H A D | apexd_test.cpp | 66 static std::string GetTestFile(const std::string& name) { in GetTestFile() function 146 fs::copy(GetTestFile(apex_name), built_in_dir_); in AddPreInstalledApex() 151 fs::copy(GetTestFile(apex_name), data_dir_); in AddDataApex() 157 fs::copy(GetTestFile(apex_name), data_dir_ + "/" + target_name); in AddDataApex() 165 fs::copy(GetTestFile(name), built_in_dir); in PrepareCompressedApex() 182 fs::copy(GetTestFile(apex_name), GetStagedDir(session_id)); in CreateStagedSession() 353 GetTestFile("com.android.apex.compressed.v1_original.apex"); in TEST_F() 474 GetTestFile("com.android.apex.compressed.v1_original.apex"); in TEST_F() 772 auto ret = InstallPackage(GetTestFile("apex.apexd_test.apex")); in TEST_F() 819 GetTestFile("test.rebootless_apex_manifest_mismatch.apex")); in TEST_F() [all …]
|
/aosp12/packages/modules/adb/fastdeploy/deploypatchgenerator/ |
H A D | patch_utils_test.cpp | 34 static std::string GetTestFile(const std::string& name) { in GetTestFile() function 83 std::string apkFile = GetTestFile("rotating_cube-release.apk"); in TEST() 91 std::string apkFile = GetTestFile("rotating_cube-release.apk"); in TEST() 95 android::base::ReadFileToString(GetTestFile("rotating_cube-metadata-release.data"), in TEST() 122 hostMetadata = PatchUtils::GetHostAPKMetaData(GetTestFile("sample.apk").c_str()); in TEST() 126 android::base::ReadFileToString(GetTestFile("sample.cd"), &cd); in TEST()
|
H A D | deploy_patch_generator_test.cpp | 31 static std::string GetTestFile(const std::string& name) { in GetTestFile() function 41 std::string apkPath = GetTestFile("rotating_cube-release.apk"); in TEST() 53 std::string apkPath = GetTestFile("rotating_cube-release.apk"); in TEST() 72 std::string apkPath = GetTestFile("rotating_cube-release.apk"); in TEST()
|