Searched refs:UniqueFile (Results 1 – 7 of 7) sorted by relevance
/system/netd/libnetdutils/include/netdutils/ |
D | UniqueFile.h | 30 using UniqueFile = std::unique_ptr<FILE, UniqueFileDtor>; variable
|
D | MockSyscalls.h | 64 StatusOr<UniqueFile>(const std::string& path, const std::string& mode));
|
D | Syscalls.h | 84 virtual StatusOr<UniqueFile> fopen(const std::string& path, const std::string& mode) const = 0;
|
/system/netd/libnetdutils/ |
D | Android.bp | 16 "UniqueFile.cpp",
|
D | Syscalls.cpp | 190 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/ |
D | BandwidthController.cpp | 79 using android::netdutils::UniqueFile; 581 StatusOr<UniqueFile> file = sys.fopen(fname, "re"); in getInterfaceQuota() 635 StatusOr<UniqueFile> file = sys.fopen(fname, "we"); in updateQuota()
|
D | BandwidthControllerTest.cpp | 50 using android::netdutils::UniqueFile; 189 EXPECT_CALL(mSyscalls, fopen(_, _)).WillOnce(Return(ByMove(UniqueFile(dummyFile)))); in expectUpdateQuota()
|