Home
last modified time | relevance | path

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

/bootable/recovery/tests/unit/
Ddirutil_test.cpp29 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, &timestamp, false, nullptr)); in TEST()
/bootable/recovery/otautil/
DDirUtil.h42 int dirCreateHierarchy(const char *path, int mode,
DZipUtil.cpp79 if (dirCreateHierarchy(path.c_str(), UNZIP_DIRMODE, timestamp, true, sehnd) != 0) { in ExtractPackageRecursive()
DDirUtil.cpp61 dirCreateHierarchy(const char *path, int mode, in dirCreateHierarchy() function
/bootable/recovery/
Drecovery.cpp191 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()