Home
last modified time | relevance | path

Searched refs:GetErrno (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/system/gd/hal/
Dsnoop_logger_socket_test.cc99 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 …]
Dsnoop_logger_socket.cc75 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()
Dsyscall_wrapper_mock.h54 MOCK_METHOD(int, GetErrno, (), (const));
Dsyscall_wrapper_impl.h49 int GetErrno() const;
Dsyscall_wrapper_interface.h59 virtual int GetErrno() const = 0;
Dsyscall_wrapper_impl.cc94 int SyscallWrapperImpl::GetErrno() const { in GetErrno() function in bluetooth::hal::SyscallWrapperImpl