Searched refs:SetPosixFilePermissions (Results 1 – 4 of 4) sorted by relevance
/external/libchrome/base/files/ |
D | file_util_unittest.cc | 203 ASSERT_TRUE(SetPosixFilePermissions(path, mode)); in ChangePosixFilePermissions() 230 EXPECT_TRUE(SetPosixFilePermissions( in SetReadOnly() 807 EXPECT_TRUE(SetPosixFilePermissions(file_name, 0u)); in TEST_F() 814 EXPECT_TRUE(SetPosixFilePermissions(file_name, FILE_PERMISSION_READ_BY_USER)); in TEST_F() 845 EXPECT_TRUE(SetPosixFilePermissions(file_name, 0u)); in TEST_F() 853 EXPECT_TRUE(SetPosixFilePermissions(file_name, in TEST_F() 887 EXPECT_TRUE(SetPosixFilePermissions(subdir_path, 0u)); in TEST_F() 899 EXPECT_TRUE(SetPosixFilePermissions(subdir_path, FILE_PERMISSION_USER_MASK)); in TEST_F() 944 ASSERT_TRUE(SetPosixFilePermissions(dir1.Append(kExeFileName), in TEST_F() 964 ASSERT_TRUE(SetPosixFilePermissions(file_name_from, 0755)); in TEST_F() [all …]
|
D | file_util.h | 231 BASE_EXPORT bool SetPosixFilePermissions(const FilePath& path, int mode);
|
D | file_util_posix.cc | 545 bool SetPosixFilePermissions(const FilePath& path, in SetPosixFilePermissions() function
|
/external/libbrillo/brillo/ |
D | file_utils_test.cc | 190 EXPECT_TRUE(base::SetPosixFilePermissions(temp_dir_.GetPath(), 0707)); in TEST_F()
|