Searched refs:kMode (Results 1 – 4 of 4) sorted by relevance
60 constexpr mode_t kMode = 37373; in TEST_F() local62 EXPECT_CALL(mSyscalls, open(kPath, kFlags, kMode)).WillOnce(Return(ByMove(UniqueFd(kFd)))); in TEST_F()64 auto result = sys.open(kPath, kFlags, kMode); in TEST_F()
315 static const mode_t kMode = 0755; in MakeParentHierarchy() local328 int res = mkdir(partial.c_str(), kMode); in MakeParentHierarchy()
527 static constexpr const mode_t kMode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP; in WriteFullyToFile() local531 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(path.c_str(), flags, kMode))); in WriteFullyToFile()
919 static const mode_t kMode = 0755; in MakeParentHierarchy() local932 int res = mkdir(partial.c_str(), kMode); in MakeParentHierarchy()