Searched refs:TouchFile (Results 1 – 5 of 5) sorted by relevance
/external/libbrillo/brillo/ |
D | file_utils_unittest.cc | 76 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F() 83 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F() 91 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F() 97 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F() 103 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F() 111 EXPECT_TRUE(TouchFile(file_path_)); in TEST_F() 118 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid() + 1, getegid())); in TEST_F() 124 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid(), getegid() + 1)); in TEST_F() 129 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid(), getegid())); in TEST_F() 135 EXPECT_TRUE(TouchFile(file_path_, kPermissions700, geteuid(), getegid())); in TEST_F() [all …]
|
D | file_utils.h | 23 BRILLO_EXPORT bool TouchFile(const base::FilePath& path, 32 BRILLO_EXPORT bool TouchFile(const base::FilePath& path);
|
D | file_utils.cc | 155 bool TouchFile(const base::FilePath& path, in TouchFile() function 181 bool TouchFile(const base::FilePath& path) { in TouchFile() function 184 return TouchFile(path, kPermissions600, geteuid(), getegid()); in TouchFile()
|
/external/libchrome/base/files/ |
D | file_util.h | 345 BASE_EXPORT bool TouchFile(const FilePath& path,
|
D | file_util.cc | 223 bool TouchFile(const FilePath& path, in TouchFile() function
|