Home
last modified time | relevance | path

Searched refs:GetPosixFilePermissions (Results 1 – 6 of 6) sorted by relevance

/external/libbrillo/brillo/
Dfile_utils_test.cc72 EXPECT_TRUE(base::GetPosixFilePermissions(file_path_, &actual_permissions)); in ExpectFilePermissions()
203 base::GetPosixFilePermissions(temp_dir_.GetPath().Append("a"), &mode)); in TEST_F()
207 base::GetPosixFilePermissions(temp_dir_.GetPath().Append("a/b"), &mode)); in TEST_F()
210 EXPECT_TRUE(base::GetPosixFilePermissions(temp_dir_.GetPath().Append("a/b/c"), in TEST_F()
216 EXPECT_TRUE(base::GetPosixFilePermissions(temp_dir_.GetPath(), &mode)); in TEST_F()
228 EXPECT_TRUE(base::GetPosixFilePermissions( in TEST_F()
266 EXPECT_TRUE(base::GetPosixFilePermissions(filename, &file_mode)); in TEST_F()
281 EXPECT_TRUE(base::GetPosixFilePermissions(dirname, &dir_mode)); in TEST_F()
282 EXPECT_TRUE(base::GetPosixFilePermissions(subdirname, &subdir_mode)); in TEST_F()
308 EXPECT_TRUE(base::GetPosixFilePermissions(filename, &file_mode)); in TEST_F()
[all …]
Dscoped_umask_test.cc31 EXPECT_TRUE(base::GetPosixFilePermissions(path, &mode)); in CheckFilePermissions()
/external/libchrome/base/files/
Dfile_util_unittest.cc200 ASSERT_TRUE(GetPosixFilePermissions(path, &mode)); in ChangePosixFilePermissions()
242 EXPECT_TRUE(GetPosixFilePermissions(path, &mode)); in IsReadOnly()
803 EXPECT_TRUE(GetPosixFilePermissions(file_name, &mode)); in TEST_F()
808 EXPECT_TRUE(GetPosixFilePermissions(file_name, &mode)); in TEST_F()
815 EXPECT_TRUE(GetPosixFilePermissions(file_name, &mode)); in TEST_F()
840 EXPECT_TRUE(GetPosixFilePermissions(file_name, &mode)); in TEST_F()
846 EXPECT_TRUE(GetPosixFilePermissions(file_name, &mode)); in TEST_F()
855 EXPECT_TRUE(GetPosixFilePermissions(file_name, &mode)); in TEST_F()
883 EXPECT_TRUE(GetPosixFilePermissions(subdir_path, &mode)); in TEST_F()
888 EXPECT_TRUE(GetPosixFilePermissions(subdir_path, &mode)); in TEST_F()
[all …]
Dfile_util.h228 BASE_EXPORT bool GetPosixFilePermissions(const FilePath& path, int* mode);
Dfile_util_posix.cc531 bool GetPosixFilePermissions(const FilePath& path, int* mode) { in GetPosixFilePermissions() function
577 if (GetPosixFilePermissions(file.Append(executable), &permissions) && in ExecutableExistsInPath()
/external/libbrillo/brillo/files/
Dfile_util_test.cc127 ASSERT_TRUE(base::GetPosixFilePermissions(path, &actual_permissions)); in ExpectPermissions()