Searched refs:apk_path (Results 1 – 10 of 10) 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 65 ASSERT_TRUE(app_helper.InstallApk(apk_path, package_name)); in RecordApp()
|
D | test_util.h | 171 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()
|
D | dso.cpp | 199 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()
|
D | dso_test.cpp | 73 std::string apk_path = ConvertPathSeparator(APK_FILE); in TEST() local 75 GetTestDataDir() + apk_path + "!/" + NATIVELIB_IN_APK); in TEST()
|
D | cmd_record_test.cpp | 771 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/ |
D | api_profiler_test.py | 32 apk_path = TestHelper.testdata_path(apk_name) 34 adb.check_run(['install', '-t', apk_path])
|
D | app_test.py | 42 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])
|
D | binary_cache_builder_test.py | 92 apk_path = TestHelper.testdata_path('data/app/com.example.hellojni-1/base.apk') 94 with zipfile.ZipFile(apk_path, 'r') as zip_ref:
|