/aosp12/bionic/tests/ |
H A D | gtest_globals.cpp | 39 std::string real_path; in GetTestlibRoot() local 40 if (!android::base::Realpath(out_path, &real_path)) { in GetTestlibRoot() 45 return real_path; in GetTestlibRoot()
|
/aosp12/hardware/libhardware/ |
H A D | hardware.c | 155 char real_path[PATH_MAX]; in path_in_path() local 156 if (realpath(path, real_path) == NULL) return false; in path_in_path() 162 if (strncmp(real_path, real_in_path, real_in_path_len) != 0) { in path_in_path() 166 return strlen(real_path) > real_in_path_len && in path_in_path() 167 real_path[real_in_path_len] == '/'; in path_in_path()
|
/aosp12/system/extras/simpleperf/scripts/ |
H A D | simpleperf_utils.py | 581 if not real_path: 590 addr_step = self._get_addr_step(real_path) 591 self._collect_line_info(dso, real_path, [0]) 593 self._collect_line_info(dso, real_path, 599 def _get_addr_step(self, real_path: Path) -> int: 600 arch = self.readelf.get_arch(real_path) 806 if not real_path: 808 arch = self.readelf.get_arch(real_path) 811 return (str(real_path), arch) 817 real_path, arch = dso_info [all …]
|
H A D | report_html.py | 483 self.real_path: Optional[str] = None # file path in the file system 490 def add_source_code(self, real_path: str): 491 self.real_path = real_path 492 with open(real_path, 'r') as f: 518 real_path = file_searcher.get_real_path(source_file.abstract_path) 519 if real_path: 520 source_file.add_source_code(real_path) 887 if not source_file.real_path: 891 file_data['path'] = source_file.real_path
|
/aosp12/system/linkerconfig/generator/ |
H A 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()
|
/aosp12/system/vold/ |
H A D | FsCrypt.cpp | 216 std::string real_path; in IsEmmcStorage() local 217 if (!Realpath(blk_device, &real_path)) { in IsEmmcStorage() 218 real_path = blk_device; in IsEmmcStorage() 224 auto parent = dm.GetParentBlockDeviceByPath(real_path); in IsEmmcStorage() 226 real_path = *parent; in IsEmmcStorage() 230 LOG(DEBUG) << "IsEmmcStorage(): blk_device = " << blk_device << ", real_path=" << real_path; in IsEmmcStorage() 231 return StartsWith(Basename(real_path), "mmcblk"); in IsEmmcStorage()
|
/aosp12/build/make/tools/releasetools/ |
H A D | check_target_files_vintf.py | 135 for device_path, real_path in dirmap.items(): 136 common_command += ['--dirmap', '{}:{}'.format(device_path, real_path)]
|
/aosp12/system/apex/apexd/ |
H A D | apex_file_test.cpp | 288 const std::string real_path = kTestDataDir + "apex.apexd_test.apex"; in TEST() local 297 ret = symlink(real_path.c_str(), symlink_path.c_str()); in TEST() 303 ASSERT_EQ(real_path, apex_file->GetPath()); in TEST()
|
/aosp12/system/core/fastboot/fuzzy_fastboot/ |
H A D | fixtures.cpp | 90 std::string real_path = in UsbStillAvailible() local 92 std::ifstream f(real_path.c_str()); in UsbStillAvailible()
|
/aosp12/system/extras/simpleperf/ |
H A D | environment.cpp | 471 std::string real_path; in HasOpenedAppApkFile() local 472 if (!android::base::Readlink(fd_path + file, &real_path)) { in HasOpenedAppApkFile() 475 if (real_path.find("app") != std::string::npos && real_path.find(".apk") != std::string::npos) { in HasOpenedAppApkFile()
|
/aosp12/packages/modules/adb/daemon/ |
H A D | file_sync_service.cpp | 374 std::string real_path; in handle_send_file() local 378 if (!Realpath(path, &real_path) || lstat(Dirname(real_path).c_str(), &st) == -1 || in handle_send_file()
|
/aosp12/system/core/fs_mgr/ |
H A D | fs_mgr.cpp | 158 std::string real_path; in realpath() local 159 if (!Realpath(blk_device, &real_path)) { in realpath() 160 real_path = blk_device; in realpath() 162 return real_path; in realpath()
|
/aosp12/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.cpp | 4056 const std::string& real_path = path.empty() ? screenshot_path_ : path; in TakeScreenshot() local 4058 RunCommand("", {"/system/bin/screencap", "-p", real_path}, in TakeScreenshot() 4061 MYLOGD("Screenshot saved on %s\n", real_path.c_str()); in TakeScreenshot() 4063 MYLOGE("Failed to take screenshot on %s\n", real_path.c_str()); in TakeScreenshot()
|
/aosp12/hardware/interfaces/automotive/can/1.0/default/libc++fs/src/filesystem/ |
H A D | operations.cpp | 830 const path real_path(__read_symlink(existing_symlink, ec)); in __copy_symlink() local 837 __create_symlink(real_path, new_symlink, ec); in __copy_symlink()
|
/aosp12/bionic/linker/ |
H A D | linker.cpp | 3336 char real_path[PATH_MAX]; in init_default_namespace_no_config() local 3339 if (realpath(default_ld_paths[i], real_path) != nullptr) { in init_default_namespace_no_config() 3340 ld_default_paths.push_back(real_path); in init_default_namespace_no_config()
|