Home
last modified time | relevance | path

Searched refs:UniqueFile (Results 1 – 7 of 7) sorted by relevance

/system/netd/libnetdutils/include/netdutils/
DUniqueFile.h30 using UniqueFile = std::unique_ptr<FILE, UniqueFileDtor>; variable
DMockSyscalls.h64 StatusOr<UniqueFile>(const std::string& path, const std::string& mode));
DSyscalls.h84 virtual StatusOr<UniqueFile> fopen(const std::string& path, const std::string& mode) const = 0;
/system/netd/libnetdutils/
DAndroid.bp16 "UniqueFile.cpp",
DSyscalls.cpp190 StatusOr<UniqueFile> fopen(const std::string& path, const std::string& mode) const override { in fopen()
191 UniqueFile file(::fopen(path.c_str(), mode.c_str())); in fopen()
/system/netd/server/
DBandwidthController.cpp79 using android::netdutils::UniqueFile;
581 StatusOr<UniqueFile> file = sys.fopen(fname, "re"); in getInterfaceQuota()
635 StatusOr<UniqueFile> file = sys.fopen(fname, "we"); in updateQuota()
DBandwidthControllerTest.cpp50 using android::netdutils::UniqueFile;
189 EXPECT_CALL(mSyscalls, fopen(_, _)).WillOnce(Return(ByMove(UniqueFile(dummyFile)))); in expectUpdateQuota()