Home
last modified time | relevance | path

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

/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/vold/
DIdleMaint.cpp49 using android::base::Realpath;
105 if (fs_type == "f2fs" && (Realpath(vol->getRawDmDevPath(), &gc_path) || in addFromVolumeManager()
106 Realpath(vol->getRawDevPath(), &gc_path))) { in addFromVolumeManager()
147 Realpath(android::vold::BlockDeviceForPath(entry.mount_point + "/"), &gc_path)) { in addFromFstab()
DFsCrypt.cpp65 using android::base::Realpath;
217 if (!Realpath(blk_device, &real_path)) { in IsEmmcStorage()
/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/
Dfile_test.cpp288 TEST(file, Realpath) { in TEST() argument
298 ASSERT_TRUE(android::base::Realpath(path, &result)); in TEST()
305 ASSERT_TRUE(android::base::Realpath(path, &result)); in TEST()
313 ASSERT_TRUE(!android::base::Realpath(path, &result)); in TEST()
Dfile.cpp423 bool Realpath(const std::string& path, std::string* result) { in Realpath() function
/system/libbase/include/android-base/
Dfile.h112 bool Realpath(const std::string& path, std::string* result);
/system/core/fs_mgr/
Dfs_mgr_dm_linear.cpp82 if (!android::base::Realpath(dev_string, result)) { in GetPhysicalPartitionDevicePath()
Dfs_mgr.cpp101 using android::base::Realpath;
158 if (!Realpath(blk_device, &real_path)) { in realpath()
652 if (!Realpath(entry_block_device, &block_device)) { in SetReadAheadSize()
1708 !Realpath(entry.blk_device, &block_device)) { in fs_mgr_unmount_all_data_mounts()
1782 } else if (!Realpath(entry.blk_device, &block_device)) { in fs_mgr_get_mounted_entry_for_userdata()
1807 if (!Realpath(mounted_entry->blk_device, &block_device)) { in fs_mgr_remount_userdata_into_checkpointing()
2274 if (!Realpath(mount_point, &real_mount_point)) { in fs_mgr_create_canonical_mount_point()
/system/core/init/
Ddevices.cpp48 using android::base::Realpath;
203 if (Realpath(directory + "/subsystem", &subsystem_link_path) && in FindPlatformDevice()
Dfirst_stage_mount.cpp300 if (!android::base::Realpath(super_symlink, &super_path_)) { in InitDevices()
/system/extras/partition_tools/
Dlpunpack.cc144 if (!android::base::Realpath(super_path, &abs_super_path)) { in main()
Dlpadd.cc237 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/gsid/
Dgsi_service.cpp782 if (!android::base::Realpath(in_metadata_dir, &metadata_dir)) { in openImageService()
786 if (!android::base::Realpath(in_data_dir, &data_dir)) { in openImageService()
862 if (!android::base::Realpath(origInstallDir, &install_dir)) { in ValidateInstallParams()
/system/extras/simpleperf/
Dcmd_record.cpp79 using android::base::Realpath;
2029 if (auto elf = ElfFile::Open(p); elf && elf->VaddrToOff(addr1, &off1) && Realpath(p, &path)) { in ParseOneAddrFilter()
2043 if (auto elf = ElfFile::Open(p); elf && elf->VaddrToOff(addr1, &off1) && Realpath(p, &path)) { in ParseOneAddrFilter()
2059 elf->VaddrToOff(addr2, &off2) && Realpath(p, &path)) { in ParseOneAddrFilter()
Dcmd_record_test.cpp49 using android::base::Realpath;
970 ASSERT_TRUE(Realpath(path, &sleep_exec_path)); in TEST()
1085 ASSERT_TRUE(Realpath(GetTestData(ELF_FILE), &path)); in TEST()
Dcmd_monitor.cpp61 using android::base::Realpath;
/system/apex/apexd/
Dapex_file.cpp170 if (!android::base::Realpath(path, &realpath)) { in Open()
Dapexservice_test.cpp1425 if (android::base::Realpath(d, &realpath)) { in TEST_F()
2892 ASSERT_TRUE(android::base::Realpath(kSystemPath, &realSystemPath)); in TEST_F()
/system/core/fs_mgr/libfiemap/
Dfiemap_writer_test.cpp525 if (!android::base::Realpath(tempdir, &gTestDir)) { in main()
Dfiemap_writer.cpp703 if (!::android::base::Realpath(file_path, &abs_path)) { in Open()
/system/core/fs_mgr/tests/
Dfs_mgr_test.cpp1104 ASSERT_TRUE(android::base::Realpath(mounted_entry->blk_device, &block_device)); in TEST()