Searched refs:Errno (Results 1 – 10 of 10) sorted by relevance
/system/connectivity/wifilogd/ |
D | os.h | 44 using Errno = int; 66 virtual std::tuple<int, Errno> GetControlSocket( 86 virtual std::tuple<size_t, Errno> ReceiveDatagram(int fd, NONNULL void* buf, 96 virtual std::tuple<size_t, Errno> Write(int fd, NONNULL const void* buf,
|
D | main_loop.cpp | 44 Os::Errno err; in MainLoop() 54 Os::Errno err; in RunOnce() 73 void MainLoop::ProcessError(Os::Errno err) { in ProcessError()
|
D | os.cpp | 42 std::tuple<int, Os::Errno> Os::GetControlSocket( in GetControlSocket() 93 std::tuple<size_t, Os::Errno> Os::ReceiveDatagram(int fd, void* buf, in ReceiveDatagram() 112 std::tuple<size_t, Os::Errno> Os::Write(int fd, const void* buf, in Write()
|
D | main_loop.h | 42 void ProcessError(Os::Errno err);
|
D | command_processor.cpp | 236 Os::Errno err; in Dump()
|
/system/connectivity/wifilogd/tests/ |
D | main_loop_unittest.cpp | 50 .WillOnce(Return(std::tuple<size_t, Os::Errno>{kControlSocketFd, 0})); in MainLoopTest() 81 Return(std::tuple<size_t, Os::Errno>{sizeof(protocol::Command), 0})); in TEST_F() 90 Return(std::tuple<size_t, Os::Errno>{protocol::kMaxMessageSize, 0})); in TEST_F() 98 .WillOnce(Return(std::tuple<size_t, Os::Errno>{0, 0})); in TEST_F() 106 std::tuple<size_t, Os::Errno>{protocol::kMaxMessageSize + 1, 0})); in TEST_F() 114 .WillOnce(Return(std::tuple<size_t, Os::Errno>{0, EINTR})); in TEST_F() 129 .WillByDefault(Return(std::tuple<size_t, Os::Errno>{-1, ERANGE})); in TEST_F() 137 .WillByDefault(Return(std::tuple<size_t, Os::Errno>{0, EFAULT})); in TEST_F()
|
D | mock_os.h | 38 std::tuple<int, Errno>(const std::string& socket_name)); 41 std::tuple<size_t, Errno>(int fd, void* buf, size_t buflen)); 42 MOCK_METHOD3(Write, std::tuple<size_t, Os::Errno>(int fd, const void* buf,
|
D | os_unittest.cpp | 102 constexpr std::tuple<int, Os::Errno> kExpectedResult{kFakeValidFd, 0}; in TEST_F() 108 constexpr Os::Errno kError = EINVAL; in TEST_F() 112 constexpr std::tuple<int, Os::Errno> kExpectedResult{Os::kInvalidFd, kError}; in TEST_F() 200 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{buffer.size(), 0}; in TEST_F() 213 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{kDatagramSize, 0}; in TEST_F() 226 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{kDatagramSize, 0}; in TEST_F() 237 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{0, 0}; in TEST_F() 244 constexpr Os::Errno kError = EBADF; in TEST_F() 249 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{0, kError}; in TEST_F() 260 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{buffer.size(), 0}; in TEST_F() [all …]
|
D | command_processor_unittest.cpp | 75 return std::tuple<size_t, Os::Errno>(buflen, 0); in CommandProcessorTest() 393 .WillOnce(Return(std::tuple<size_t, Os::Errno>{-1, EBADF})); in TEST_F() 408 return std::tuple<size_t, Os::Errno>{buflen / 2, EINTR}; in TEST_F() 433 .WillOnce(Return(std::tuple<size_t, Os::Errno>{-1, EBADF})); in TEST_F()
|
/system/libbase/ |
D | stringprintf_test.cpp | 35 TEST(StringPrintfTest, Errno) { in TEST() argument
|