Home
last modified time | relevance | path

Searched refs:Realpath (Results 1 – 25 of 30) sorted by relevance

12

/system/core/libcutils/
Dandroid_get_control_file.cpp81 if (!android::base::Realpath(path, &given_path)) return -1; in android_get_control_file()
93 if (!android::base::Realpath(proc, &fd_path)) return -1; in android_get_control_file()
/system/vold/tests/
DUtils_test.cpp51 ASSERT_TRUE(android::base::Realpath(temp_dir.path, &temp_dir_path)); in TEST_F()
/system/extras/simpleperf/simpleperf_app_runner/
Dsimpleperf_app_runner.cpp44 using android::base::Realpath;
153 if (!Realpath(args[i + 1], &path) || !StartsWith(path, "/data/local/tmp/")) { in CheckSimpleperfArguments()
/system/libbase/include/android-base/
Dfile.h113 bool Realpath(const std::string& path, std::string* result);
/system/libbase/
Dfile_test.cpp314 TEST(file, Realpath) { in TEST() argument
324 ASSERT_TRUE(android::base::Realpath(path, &result)); in TEST()
331 ASSERT_TRUE(android::base::Realpath(path, &result)); in TEST()
339 ASSERT_TRUE(!android::base::Realpath(path, &result)); in TEST()
Dfile.cpp470 bool Realpath(const std::string& path, std::string* result) { in Realpath() function
/system/vold/
DIdleMaint.cpp49 using android::base::Realpath;
111 if (fs_type == "f2fs" && (Realpath(vol->getRawDmDevPath(), &gc_path) || in addFromVolumeManager()
112 Realpath(vol->getRawDevPath(), &gc_path))) { in addFromVolumeManager()
157 Realpath(android::vold::BlockDeviceForPath(entry.mount_point + "/"), &path)) { in addFromFstab()
DFsCrypt.cpp61 using android::base::Realpath;
239 if (!Realpath(blk_device, &real_path)) { in MightBeEmmcStorage()
/system/core/fs_mgr/
Dfs_mgr.cpp100 using android::base::Realpath;
157 if (!Realpath(blk_device, &real_path)) { in realpath()
665 if (!Realpath(entry_block_device, &block_device)) { in SetReadAheadSize()
862 if (!android::base::Realpath(source, &real_source)) { in __mount()
1282 if (!android::base::Realpath(block_device, &real_path)) { in fs_mgr_find_bow_device()
1736 !Realpath(entry.blk_device, &block_device)) { in fs_mgr_unmount_all_data_mounts()
1810 } else if (!Realpath(entry.blk_device, &block_device)) { in fs_mgr_get_mounted_entry_for_userdata()
1835 if (!Realpath(mounted_entry->blk_device, &block_device)) { in fs_mgr_remount_userdata_into_checkpointing()
2287 if (!Realpath(mount_point, &real_mount_point)) { in fs_mgr_create_canonical_mount_point()
Dfs_mgr_dm_linear.cpp82 if (!android::base::Realpath(dev_string, result)) { in GetPhysicalPartitionDevicePath()
Dfs_mgr_overlayfs_mount.cpp98 if (mount_point.empty() || !android::base::Realpath(mount_point, &normalized_path)) { in GetEncodedBaseDirForMountPoint()
/system/apex/apexd/
Dapex_file_repository.cpp93 if (!android::base::Realpath(apex_file->GetPath(), &path)) { in ScanBuiltInDir()
201 if (!android::base::Realpath(metadata_partition, &metadata_realpath)) { in AddBlockApex()
Dapex_file.cpp172 if (!android::base::Realpath(path, &realpath)) { in Open()
/system/core/init/
Ddevices.cpp51 using android::base::Realpath;
234 if (Realpath(directory + "/subsystem", &subsystem_link_path) && in FindPlatformDevice()
Dfirst_stage_mount.cpp303 if (!android::base::Realpath(super_symlink, &super_path_)) { in InitDevices()
/system/extras/partition_tools/
Dlpunpack.cc158 if (!android::base::Realpath(super_path, &abs_super_path)) { in main()
Dlpadd.cc250 if (!android::base::Realpath(actual_path, &abs_super_path_)) { in OpenSuperFile()
/system/core/cli-test/
Dcli-test.cpp115 if (!android::base::Realpath(test_filename, &absolute_test_filename)) { in CollectTests()
/system/core/fs_mgr/libfiemap/
Dimage_test.cpp326 if (!android::base::Realpath(tempdir, &gTestDir)) { in main()
Dfiemap_writer_test.cpp594 if (!android::base::Realpath(tempdir, &gTestDir)) { in main()
Dfiemap_writer.cpp694 if (!::android::base::Realpath(file_path, &abs_path)) { in Open()
/system/gsid/
Dgsi_service.cpp819 if (!android::base::Realpath(in_metadata_dir, &metadata_dir)) { in openImageService()
823 if (!android::base::Realpath(in_data_dir, &data_dir)) { in openImageService()
900 if (!android::base::Realpath(origInstallDir, &install_dir)) { in ValidateInstallParams()
/system/extras/simpleperf/
Dcmd_record.cpp80 using android::base::Realpath;
2301 if (auto elf = ElfFile::Open(p); elf && elf->VaddrToOff(addr1, &off1) && Realpath(p, &path)) { in ParseOneAddrFilter()
2315 if (auto elf = ElfFile::Open(p); elf && elf->VaddrToOff(addr1, &off1) && Realpath(p, &path)) { in ParseOneAddrFilter()
2331 elf->VaddrToOff(addr2, &off2) && Realpath(p, &path)) { in ParseOneAddrFilter()
Dcmd_record_test.cpp50 using android::base::Realpath;
1118 ASSERT_TRUE(Realpath(path, &sleep_exec_path)); in TEST()
1292 ASSERT_TRUE(Realpath(GetTestData(ELF_FILE), &path)); in TEST()
Dcmd_monitor.cpp61 using android::base::Realpath;

12