Home
last modified time | relevance | path

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

/system/netd/libnetdutils/
DSyscallsTest.cpp60 constexpr mode_t kMode = 37373; in TEST_F() local
62 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()
/system/tools/hidl/c2hal/
DAST.cpp315 static const mode_t kMode = 0755; in MakeParentHierarchy() local
328 int res = mkdir(partial.c_str(), kMode); in MakeParentHierarchy()
/system/iorap/src/perfetto/
Drx_producer.cc527 static constexpr const mode_t kMode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP; in WriteFullyToFile() local
531 android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(path.c_str(), flags, kMode))); in WriteFullyToFile()
/system/tools/hidl/
DCoordinator.cpp947 static const mode_t kMode = 0755; in MakeParentHierarchy() local
960 int res = mkdir(partial.c_str(), kMode); in MakeParentHierarchy()