Searched refs:GetErrno (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Bluetooth/system/gd/hal/ |
D | snoop_logger_socket_test.cc | 99 EXPECT_CALL(mock, GetErrno); in TEST_F() 112 EXPECT_CALL(mock, GetErrno); in TEST_F() 127 EXPECT_CALL(mock, GetErrno); in TEST_F() 144 EXPECT_CALL(mock, GetErrno); in TEST_F() 172 ON_CALL(mock, GetErrno()).WillByDefault((Return(ECONNRESET))); in TEST_F() 177 EXPECT_CALL(mock, GetErrno); in TEST_F() 186 ON_CALL(mock, GetErrno()).WillByDefault((Return(EINVAL))); in TEST_F() 189 EXPECT_CALL(mock, GetErrno).Times(2); in TEST_F() 285 ON_CALL(mock, GetErrno()).WillByDefault(Return(EINVAL)); in TEST_F() 288 EXPECT_CALL(mock, GetErrno); in TEST_F() [all …]
|
D | snoop_logger_socket.cc | 75 if (ret == -1 && syscall_if_->GetErrno() == ECONNRESET) { in Write() 77 } else if (ret == -1 && syscall_if_->GetErrno() == EAGAIN) { in Write() 124 log::error("select failed {}", strerror(syscall_if_->GetErrno())); in ProcessIncomingRequest() 125 if (syscall_if_->GetErrno() == EINTR) return true; in ProcessIncomingRequest() 165 int errno_ = syscall_if_->GetErrno(); in AcceptIncomingConnection() 215 log::error("can't create socket: {}", strerror(syscall_if_->GetErrno())); in CreateSocket() 228 log::error("unable to set SO_REUSEADDR: {}", strerror(syscall_if_->GetErrno())); in CreateSocket() 241 log::error("unable to bind snoop socket to address: {}", strerror(syscall_if_->GetErrno())); in CreateSocket() 249 log::error("unable to listen: {}", strerror(syscall_if_->GetErrno())); in CreateSocket()
|
D | syscall_wrapper_mock.h | 54 MOCK_METHOD(int, GetErrno, (), (const));
|
D | syscall_wrapper_impl.h | 49 int GetErrno() const;
|
D | syscall_wrapper_interface.h | 59 virtual int GetErrno() const = 0;
|
D | syscall_wrapper_impl.cc | 94 int SyscallWrapperImpl::GetErrno() const { in GetErrno() function in bluetooth::hal::SyscallWrapperImpl
|