Home
last modified time | relevance | path

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

/external/libchrome/base/files/
Dfile_util_unittest.cc203 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 …]
Dfile_util.h231 BASE_EXPORT bool SetPosixFilePermissions(const FilePath& path, int mode);
Dfile_util_posix.cc545 bool SetPosixFilePermissions(const FilePath& path, in SetPosixFilePermissions() function
/external/libbrillo/brillo/
Dfile_utils_test.cc190 EXPECT_TRUE(base::SetPosixFilePermissions(temp_dir_.GetPath(), 0707)); in TEST_F()