Searched refs:directory_exists (Results 1 – 5 of 5) sorted by relevance
45 TEST(adb_utils, directory_exists) { in TEST() argument53 ASSERT_TRUE(directory_exists(profiles_dir)); in TEST()59 ASSERT_FALSE(directory_exists(subdir(profiles_dir, "All Users"))); in TEST()65 ASSERT_FALSE(directory_exists(subdir(profiles_dir, "Default User"))); in TEST()67 ASSERT_FALSE(directory_exists(subdir(profiles_dir, "does-not-exist"))); in TEST()69 ASSERT_TRUE(directory_exists("/proc")); in TEST()70 ASSERT_FALSE(directory_exists("/proc/self")); // Symbolic link. in TEST()71 ASSERT_FALSE(directory_exists("/proc/does-not-exist")); in TEST()
73 bool directory_exists(const std::string& path) { in directory_exists() function191 if (directory_exists(path)) { in mkdirs()
28 bool directory_exists(const std::string& path);
90 if (!directory_exists(dir)) { in remount_partition()
1376 if (!directory_exists(path)) { in find_product_out_path()1881 if (okay && (src.empty() || src == "vendor") && directory_exists(vendor_src_path)) { in adb_commandline()1884 if (okay && (src.empty() || src == "oem") && directory_exists(oem_src_path)) { in adb_commandline()