Searched refs:GetTestFile (Results 1 – 4 of 4) sorted by relevance
34 static std::string GetTestFile(const std::string& name) { in GetTestFile() function83 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()
31 static std::string GetTestFile(const std::string& name) { in GetTestFile() function41 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()
43 static std::string GetTestFile(const std::string& name) { in GetTestFile() function51 auto apex = ApexFile::Open(GetTestFile("apex.apexd_test_no_hashtree.apex")); in TEST()84 auto apex = ApexFile::Open(GetTestFile("apex.apexd_test_no_hashtree.apex")); in TEST()99 ApexFile::Open(GetTestFile("apex.apexd_test_no_hashtree_2.apex")); in TEST()
134 static std::string GetTestFile(const std::string& name) { in GetTestFile() function in android::apex::ApexServiceTest293 std::string file = GetTestFile("logcat.tmp.txt"); in GetLogcat()609 std::string orig_test_file = GetTestFile("apex.apexd_test.apex"); in TEST_F()633 GetTestFile("apex.apexd_test_no_inst_key.apex")); in TEST_F()651 PrepareTestApexForInstall installer(GetTestFile("apex.apexd_test.apex")); in TEST_F()663 PrepareTestApexForInstall installer(GetTestFile("apex.apexd_test.apex"), in TEST_F()685 PrepareTestApexForInstall installer(GetTestFile("apex.apexd_test.apex"), in TEST_F()702 GetTestFile("apex.apexd_test_manifest_mismatch.apex"), in TEST_F()723 PrepareTestApexForInstall installer1(GetTestFile("apex.apexd_test_v2.apex")); in TEST_F()725 GetTestFile("apex.apexd_test_different_app.apex")); in TEST_F()[all …]