Home
last modified time | relevance | path

Searched refs:create_dir_if_needed (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/cmds/installd/tests/
Dinstalld_utils_test.cpp632 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/
Dutils.h115 int create_dir_if_needed(const std::string& pathname, mode_t mode);
Dutils.cpp542 int create_dir_if_needed(const std::string& pathname, mode_t perms) { in create_dir_if_needed() function
DInstalldNativeService.cpp964 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()