Searched refs:real_path (Results 1 – 11 of 11) sorted by relevance
/system/apex/tools/ |
D | apexd_host.py | 143 def ScanApexes(partition, real_path) -> list[ApexFile]: argument 146 os.path.join(real_path, 'apex/*.apex') 147 ) + glob.glob(os.path.join(real_path, 'apex/*.capex')): 161 for partition, real_path in partitions.items(): 162 apexes = ScanApexes(partition, real_path)
|
/system/linkerconfig/generator/ |
D | variableloader.cc | 58 auto real_path = GetRealPath(root + partition); in LoadVariableFromPartitionPath() local 60 if (real_path.ok()) { in LoadVariableFromPartitionPath() 61 Variables::AddValue(variable_name, TrimPrefix(*real_path, root)); in LoadVariableFromPartitionPath() 63 LOG(WARNING) << real_path.error(); in LoadVariableFromPartitionPath()
|
/system/extras/simpleperf/scripts/ |
D | simpleperf_utils.py | 564 real_path = self.binary_finder.find_binary(dso_path, dso.build_id) 565 if not real_path: 570 if not self._check_debug_line_section(real_path): 571 logging.debug("file %s doesn't contain .debug_line section." % real_path) 574 addr_step = self._get_addr_step(real_path) 575 self._collect_line_info(dso, real_path, [0]) 576 self._collect_line_info(dso, real_path, range(-addr_step, -addr_step * 4 - 1, -addr_step)) 577 self._collect_line_info(dso, real_path, 580 def _check_debug_line_section(self, real_path: Path) -> bool: 581 return '.debug_line' in self.readelf.get_sections(real_path) [all …]
|
D | report_html.py | 503 self.real_path: Optional[str] = None # file path in the file system 510 def add_source_code(self, real_path: str): 511 self.real_path = real_path 512 with open(real_path, 'r') as f: 538 real_path = file_searcher.get_real_path(source_file.abstract_path) 539 if real_path: 540 source_file.add_source_code(real_path) 944 if not source_file.real_path: 948 file_data['path'] = source_file.real_path
|
/system/vold/ |
D | FsCrypt.cpp | 238 std::string real_path; in MightBeEmmcStorage() local 239 if (!Realpath(blk_device, &real_path)) { in MightBeEmmcStorage() 240 real_path = blk_device; in MightBeEmmcStorage() 246 auto parent = dm.GetParentBlockDeviceByPath(real_path); in MightBeEmmcStorage() 248 real_path = *parent; in MightBeEmmcStorage() 253 << ", real_path=" << real_path; in MightBeEmmcStorage() 254 std::string name = Basename(real_path); in MightBeEmmcStorage()
|
/system/apex/apexd/ |
D | apex_file_test.cpp | 311 const std::string real_path = kTestDataDir + "apex.apexd_test.apex"; in TEST() local 320 ret = symlink(real_path.c_str(), symlink_path.c_str()); in TEST() 326 ASSERT_EQ(real_path, apex_file->GetPath()); in TEST()
|
/system/core/fs_mgr/libdm/ |
D | dm.cpp | 622 std::string real_path; in ExtractBlockDeviceName() local 623 if (!android::base::Realpath(path, &real_path)) { in ExtractBlockDeviceName() 624 real_path = path; in ExtractBlockDeviceName() 626 if (android::base::StartsWith(real_path, kDevBlockPrefix)) { in ExtractBlockDeviceName() 627 return real_path.substr(kDevBlockPrefix.length()); in ExtractBlockDeviceName()
|
/system/core/fastboot/fuzzy_fastboot/ |
D | fixtures.cpp | 90 std::string real_path = in UsbStillAvailible() local 92 std::ifstream f(real_path.c_str()); in UsbStillAvailible()
|
/system/core/fs_mgr/ |
D | fs_mgr.cpp | 156 std::string real_path; in realpath() local 157 if (!Realpath(blk_device, &real_path)) { in realpath() 158 real_path = blk_device; in realpath() 160 return real_path; in realpath() 1281 std::string real_path; in fs_mgr_find_bow_device() local 1282 if (!android::base::Realpath(block_device, &real_path)) { in fs_mgr_find_bow_device() 1283 real_path = block_device; in fs_mgr_find_bow_device() 1287 if (stat(real_path.c_str(), &st) < 0) { in fs_mgr_find_bow_device() 1288 PLOG(ERROR) << "stat failed: " << real_path; in fs_mgr_find_bow_device() 1292 PLOG(ERROR) << real_path << " is not block device"; in fs_mgr_find_bow_device() [all …]
|
/system/extras/simpleperf/ |
D | environment.cpp | 496 std::string real_path; in HasOpenedAppApkFile() local 497 if (!android::base::Readlink(fd_path + file, &real_path)) { in HasOpenedAppApkFile() 500 if (real_path.find("app") != std::string::npos && real_path.find(".apk") != std::string::npos) { in HasOpenedAppApkFile()
|
/system/update_engine/common/ |
D | utils.cc | 672 std::string real_path(pdevice); in SetBlockDeviceReadOnly() local 673 std::size_t offset = real_path.find_last_of('/'); in SetBlockDeviceReadOnly() 675 LOG(ERROR) << "Could not find partition name from " << real_path; in SetBlockDeviceReadOnly() 678 const std::string partition_name = real_path.substr(offset + 1); in SetBlockDeviceReadOnly()
|