Searched refs:dirCreateHierarchy (Results 1 – 5 of 5) sorted by relevance
/bootable/recovery/tests/unit/ |
D | dirutil_test.cpp | 29 ASSERT_EQ(-1, dirCreateHierarchy("", 0755, nullptr, false, nullptr)); in TEST() 33 ASSERT_EQ(-1, dirCreateHierarchy("abc", 0755, nullptr, true, nullptr)); in TEST() 38 ASSERT_EQ(0, dirCreateHierarchy(td.path, 0755, nullptr, false, nullptr)); in TEST() 41 ASSERT_EQ(0, dirCreateHierarchy("///", 0755, nullptr, false, nullptr)); in TEST() 45 ASSERT_EQ(-1, dirCreateHierarchy(tf.path, 0755, nullptr, false, nullptr)); in TEST() 54 ASSERT_EQ(0, dirCreateHierarchy(path.c_str(), mode, nullptr, false, nullptr)); in TEST() 72 ASSERT_EQ(0, dirCreateHierarchy(path.c_str(), 0755, nullptr, true, nullptr)); in TEST() 93 ASSERT_EQ(0, dirCreateHierarchy(path.c_str(), mode, ×tamp, false, nullptr)); in TEST()
|
/bootable/recovery/otautil/ |
D | DirUtil.h | 42 int dirCreateHierarchy(const char *path, int mode,
|
D | ZipUtil.cpp | 79 if (dirCreateHierarchy(path.c_str(), UNZIP_DIRMODE, timestamp, true, sehnd) != 0) { in ExtractPackageRecursive()
|
D | DirUtil.cpp | 61 dirCreateHierarchy(const char *path, int mode, in dirCreateHierarchy() function
|
/bootable/recovery/ |
D | recovery.cpp | 191 if (strchr("wa", mode[0])) dirCreateHierarchy(path, 0777, NULL, 1, sehandle); in fopen_path() 599 dirCreateHierarchy(CACHE_LOG_DIR, 0777, nullptr, false, sehandle) == 0) { in erase_volume()
|