Home
last modified time | relevance | path

Searched refs:real_path (Results 1 – 8 of 8) sorted by relevance

/system/extras/simpleperf/scripts/
Dutils.py465 real_path = find_real_dso_path(dso_path, self.binary_cache_path)
466 if not real_path:
471 if not self._check_debug_line_section(real_path):
472 log_debug("file %s doesn't contain .debug_line section." % real_path)
475 addr_step = self._get_addr_step(real_path)
476 self._collect_line_info(dso, real_path, [0])
477 self._collect_line_info(dso, real_path, range(-addr_step, -addr_step * 4 - 1, -addr_step))
478 self._collect_line_info(dso, real_path,
481 def _check_debug_line_section(self, real_path): argument
482 return '.debug_line' in self.readelf.get_sections(real_path)
[all …]
Dreport_html.py447 self.real_path = None # file path in the file system
454 def add_source_code(self, real_path): argument
455 self.real_path = real_path
456 with open(real_path, 'r') as f:
481 real_path = file_searcher.get_real_path(source_file.abstract_path)
482 if real_path:
483 source_file.add_source_code(real_path)
831 if not source_file.real_path:
835 file_data['path'] = source_file.real_path
/system/linkerconfig/generator/
Dvariableloader.cc94 auto real_path = GetRealPath(root + partition); in LoadVariableFromPartitionPath() local
96 if (real_path.ok()) { in LoadVariableFromPartitionPath()
97 Variables::AddValue(variable_name, TrimPrefix(*real_path, root)); in LoadVariableFromPartitionPath()
99 LOG(WARNING) << real_path.error(); in LoadVariableFromPartitionPath()
/system/vold/
DFsCrypt.cpp209 std::string real_path; in IsEmmcStorage() local
210 if (!Realpath(blk_device, &real_path)) { in IsEmmcStorage()
211 real_path = blk_device; in IsEmmcStorage()
217 auto parent = dm.GetParentBlockDeviceByPath(real_path); in IsEmmcStorage()
219 real_path = *parent; in IsEmmcStorage()
223 LOG(DEBUG) << "IsEmmcStorage(): blk_device = " << blk_device << ", real_path=" << real_path; in IsEmmcStorage()
224 return StartsWith(Basename(real_path), "mmcblk"); in IsEmmcStorage()
/system/core/fastboot/fuzzy_fastboot/
Dfixtures.cpp90 std::string real_path = in UsbStillAvailible() local
92 std::ifstream f(real_path.c_str()); in UsbStillAvailible()
/system/extras/simpleperf/
Denvironment.cpp550 std::string real_path; in HasOpenedAppApkFile() local
551 if (!android::base::Readlink(fd_path + file, &real_path)) { in HasOpenedAppApkFile()
554 if (real_path.find("app") != std::string::npos && real_path.find(".apk") != std::string::npos) { in HasOpenedAppApkFile()
/system/core/fs_mgr/
Dfs_mgr.cpp157 std::string real_path; in realpath() local
158 if (!Realpath(blk_device, &real_path)) { in realpath()
159 real_path = blk_device; in realpath()
161 return real_path; in realpath()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_test.cpp897 std::string real_path; in MapUpdateSnapshot() local
906 &real_path)) { in MapUpdateSnapshot()
910 *path = real_path; in MapUpdateSnapshot()
912 return AssertionSuccess() << "Mapped snapshot " << name << " to " << real_path; in MapUpdateSnapshot()