Home
last modified time | relevance | path

Searched refs:apk_path (Results 1 – 10 of 10) sorted by relevance

/system/extras/simpleperf/
Dread_apk.cpp40 EmbeddedElf* ApkInspector::FindElfInApkByOffset(const std::string& apk_path, uint64_t file_offset) { in FindElfInApkByOffset() argument
42 ApkNode& node = embedded_elf_cache_[apk_path]; in FindElfInApkByOffset()
47 std::unique_ptr<EmbeddedElf> elf = FindElfInApkByOffsetWithoutCache(apk_path, file_offset); in FindElfInApkByOffset()
56 EmbeddedElf* ApkInspector::FindElfInApkByName(const std::string& apk_path, in FindElfInApkByName() argument
58 ApkNode& node = embedded_elf_cache_[apk_path]; in FindElfInApkByName()
63 std::unique_ptr<EmbeddedElf> elf = FindElfInApkByNameWithoutCache(apk_path, entry_name); in FindElfInApkByName()
73 const std::string& apk_path, uint64_t file_offset) { in FindElfInApkByOffsetWithoutCache() argument
74 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(apk_path); in FindElfInApkByOffsetWithoutCache()
105 apk_path, found_entry_name, found_entry.offset, found_entry.uncompressed_length)); in FindElfInApkByOffsetWithoutCache()
109 const std::string& apk_path, const std::string& entry_name) { in FindElfInApkByNameWithoutCache() argument
[all …]
Dread_apk.h65 static EmbeddedElf* FindElfInApkByOffset(const std::string& apk_path, uint64_t file_offset);
66 static EmbeddedElf* FindElfInApkByName(const std::string& apk_path,
70 static std::unique_ptr<EmbeddedElf> FindElfInApkByOffsetWithoutCache(const std::string& apk_path,
72 static std::unique_ptr<EmbeddedElf> FindElfInApkByNameWithoutCache(const std::string& apk_path,
84 std::string GetUrlInApk(const std::string& apk_path, const std::string& elf_filename);
Dcmd_api_test.cpp62 static void RecordApp(const std::string& package_name, const std::string& apk_path) { in RecordApp() argument
65 ASSERT_TRUE(app_helper.InstallApk(apk_path, package_name)); in RecordApp()
Dtest_util.h171 bool InstallApk(const std::string& apk_path, const std::string& package_name) { in InstallApk() argument
172 if (Workload::RunCmd({"pm", "install", "-t", "--abi", GetABI(), apk_path})) { in InstallApk()
Ddso.cpp199 std::string apk_path = std::get<1>(tuple); in GetPathInSymFsDir() local
201 std::replace(apk_path.begin(), apk_path.end(), '/', OS_PATH_SEPARATOR); in GetPathInSymFsDir()
202 return GetUrlInApk(add_symfs_prefix(apk_path), entry_path); in GetPathInSymFsDir()
Ddso_test.cpp73 std::string apk_path = ConvertPathSeparator(APK_FILE); in TEST() local
75 GetTestDataDir() + apk_path + "!/" + NATIVELIB_IN_APK); in TEST()
Dcmd_record_test.cpp771 bool InstallApk(const std::string& apk_path, const std::string& package_name) { in InstallApk() argument
772 return app_helper_.InstallApk(apk_path, package_name); in InstallApk()
/system/extras/simpleperf/scripts/test/
Dapi_profiler_test.py32 apk_path = TestHelper.testdata_path(apk_name)
34 adb.check_run(['install', '-t', apk_path])
Dapp_test.py42 cls.apk_path = apk_files[0]
48 args.append(cls.apk_path)
240 def install_apk(self, apk_path, package_name): argument
242 self.adb.run(['install', '-t', apk_path])
Dbinary_cache_builder_test.py92 apk_path = TestHelper.testdata_path('data/app/com.example.hellojni-1/base.apk')
94 with zipfile.ZipFile(apk_path, 'r') as zip_ref: