Searched refs:create_dir_if_needed (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/cmds/installd/tests/ |
D | installd_utils_test.cpp | 632 ASSERT_EQ(0, create_dir_if_needed("/data/local/tmp/user/0/foo", 0700)); in TEST_F() 639 ASSERT_EQ(0, create_dir_if_needed("/data/local/tmp/user/0/foo", 0700)); in TEST_F() 642 ASSERT_EQ(-1, create_dir_if_needed("/data/local/tmp/user/0/foo", 0750)); in TEST_F() 645 ASSERT_NE(0, create_dir_if_needed("/data/local/tmp/user/0/bar/baz", 0700)); in TEST_F()
|
/frameworks/native/cmds/installd/ |
D | utils.h | 115 int create_dir_if_needed(const std::string& pathname, mode_t mode);
|
D | utils.cpp | 542 int create_dir_if_needed(const std::string& pathname, mode_t perms) { in create_dir_if_needed() function
|
D | InstalldNativeService.cpp | 964 int rc = create_dir_if_needed(to.c_str(), kRollbackFolderMode); in snapshotAppData() 988 int rc = create_dir_if_needed(to.c_str(), kRollbackFolderMode); in snapshotAppData()
|