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.cpp615 ASSERT_EQ(0, create_dir_if_needed("/data/local/tmp/user/0/foo", 0700)); in TEST_F()
622 ASSERT_EQ(0, create_dir_if_needed("/data/local/tmp/user/0/foo", 0700)); in TEST_F()
625 ASSERT_EQ(-1, create_dir_if_needed("/data/local/tmp/user/0/foo", 0750)); in TEST_F()
628 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.cpp539 int create_dir_if_needed(const std::string& pathname, mode_t perms) { in create_dir_if_needed() function
DInstalldNativeService.cpp910 int rc = create_dir_if_needed(to.c_str(), kRollbackFolderMode); in snapshotAppData()
934 int rc = create_dir_if_needed(to.c_str(), kRollbackFolderMode); in snapshotAppData()