Home
last modified time | relevance | path

Searched refs:directory_exists (Results 1 – 5 of 5) sorted by relevance

/system/core/adb/
Dadb_utils_test.cpp45 TEST(adb_utils, directory_exists) { in TEST() argument
53 ASSERT_TRUE(directory_exists(profiles_dir)); in TEST()
55 ASSERT_FALSE(directory_exists(subdir(profiles_dir, "does-not-exist"))); in TEST()
57 ASSERT_TRUE(directory_exists("/proc")); in TEST()
58 ASSERT_FALSE(directory_exists("/proc/does-not-exist")); in TEST()
74 EXPECT_FALSE(directory_exists(subdir(profiles_dir, "All Users"))); in TEST()
80 EXPECT_FALSE(directory_exists(subdir(profiles_dir, "Default User"))); in TEST()
Dadb_utils.h35 bool directory_exists(const std::string& path);
Dadb_utils.cpp76 bool directory_exists(const std::string& path) { in directory_exists() function
150 if (directory_exists(path)) { in mkdirs()
/system/core/adb/client/
Dbugreport.cpp242 if (directory_exists(argv[1])) { in DoIt()
Dcommandline.cpp2036 if (!directory_exists(src_dir)) continue; in adb_commandline()