Home
last modified time | relevance | path

Searched refs:Realpath (Results 1 – 20 of 20) 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/
DIdleMaint.cpp44 using android::base::Realpath;
97 if (fs_type == "f2fs" && (Realpath(vol->getRawDmDevPath(), &gc_path) || in addFromVolumeManager()
98 Realpath(vol->getRawDevPath(), &gc_path))) { in addFromVolumeManager()
138 Realpath(android::vold::BlockDeviceForPath(entry.mount_point + "/"), &gc_path)) { in addFromFstab()
DFsCrypt.cpp64 using android::base::Realpath;
210 if (!Realpath(blk_device, &real_path)) { in IsEmmcStorage()
/system/extras/simpleperf/simpleperf_app_runner/
Dsimpleperf_app_runner.cpp42 using android::base::Realpath;
150 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()
1620 !Realpath(entry.blk_device, &block_device)) { in fs_mgr_unmount_all_data_mounts()
1694 } else if (!Realpath(entry.blk_device, &block_device)) { in fs_mgr_get_mounted_entry_for_userdata()
1719 if (!Realpath(mounted_entry->blk_device, &block_device)) { in fs_mgr_remount_userdata_into_checkpointing()
/system/core/init/
Ddevices.cpp47 using android::base::Realpath;
195 if (Realpath(directory + "/subsystem", &subsystem_link_path) && in FindPlatformDevice()
Dfirst_stage_mount.cpp271 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.cpp715 if (!android::base::Realpath(in_metadata_dir, &metadata_dir)) { in openImageService()
719 if (!android::base::Realpath(in_data_dir, &data_dir)) { in openImageService()
785 if (!android::base::Realpath(origInstallDir, &install_dir)) { in ValidateInstallParams()
/system/extras/simpleperf/
Dcmd_record_test.cpp48 using android::base::Realpath;
1003 ASSERT_TRUE(Realpath(path, &sleep_exec_path)); in TEST()
1120 ASSERT_TRUE(Realpath(GetTestData(ELF_FILE), &path)); in TEST()
Dcmd_record.cpp60 using android::base::Realpath;
1869 elf && elf->VaddrToOff(addr1, &off1) && Realpath(args[2], &path)) { in ParseOneAddrFilter()
1896 Realpath(args[3], &path)) { in ParseOneAddrFilter()
/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.cpp1024 ASSERT_TRUE(android::base::Realpath(mounted_entry->blk_device, &block_device)); in TEST()