Searched refs:apk_path (Results 1 – 9 of 9) sorted by relevance
/system/extras/simpleperf/ |
D | read_apk.cpp | 40 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 …]
|
D | read_apk.h | 65 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);
|
D | cmd_api_test.cpp | 62 static void RecordApp(const std::string& package_name, const std::string& apk_path) { in RecordApp() argument 68 ASSERT_TRUE(app_helper.InstallApk(apk_path, package_name)); in RecordApp()
|
D | test_util.h | 168 bool InstallApk(const std::string& apk_path, const std::string& package_name) { in InstallApk() argument 169 if (Workload::RunCmd({"pm", "install", "-t", "--abi", GetABI(), apk_path})) { in InstallApk()
|
D | dso_test.cpp | 71 std::string apk_path = ConvertPathSeparator(APK_FILE); in TEST() local 73 GetTestDataDir() + apk_path + "!/" + NATIVELIB_IN_APK); in TEST()
|
D | dso.cpp | 196 std::string apk_path = std::get<1>(tuple); in GetPathInSymFsDir() local 198 std::replace(apk_path.begin(), apk_path.end(), '/', OS_PATH_SEPARATOR); in GetPathInSymFsDir() 199 return GetUrlInApk(add_symfs_prefix(apk_path), entry_path); in GetPathInSymFsDir()
|
D | cmd_record_test.cpp | 691 bool InstallApk(const std::string& apk_path, const std::string& package_name) { in InstallApk() argument 692 return app_helper_.InstallApk(apk_path, package_name); in InstallApk()
|
/system/extras/simpleperf/scripts/test/ |
D | api_profiler_test.py | 33 apk_path = TestHelper.testdata_path(apk_name) 35 adb.check_run(['install', '-t', apk_path])
|
D | app_test.py | 35 cls.apk_path = os.path.join(root, 'app-profiling.apk') 44 args.append(cls.apk_path) 231 def install_apk(self, apk_path, package_name): argument 233 self.adb.run(['install', '-t', apk_path])
|