Searched refs:TouchFile (Results 1 – 5 of 5) sorted by relevance
/external/libbrillo/brillo/ |
D | file_utils_unittest.cc | 64 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F() 71 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F() 79 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F() 85 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F() 91 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F() 99 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F() 106 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid() + 1, getegid())); in TEST_F() 112 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid(), getegid() + 1)); in TEST_F() 117 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid(), getegid())); in TEST_F() 123 EXPECT_TRUE(TouchFile(file_path_, kPermissions700, geteuid(), getegid())); in TEST_F() [all …]
|
D | file_utils.h | 22 BRILLO_EXPORT bool TouchFile(const base::FilePath& path, 31 BRILLO_EXPORT bool TouchFile(const base::FilePath& path);
|
D | file_utils.cc | 133 bool TouchFile(const base::FilePath& path, in TouchFile() function 159 bool TouchFile(const base::FilePath& path) { in TouchFile() function 162 return TouchFile(path, kPermissions600, geteuid(), getegid()); in TouchFile()
|
/external/libchrome/base/files/ |
D | file_util.h | 310 BASE_EXPORT bool TouchFile(const FilePath& path,
|
D | file_util.cc | 198 bool TouchFile(const FilePath& path, in TouchFile() function
|