Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/hal/
Dsnoop_logger_socket_test.cc418 ON_CALL(mock, FDIsSet(fd, _)).WillByDefault((Return(false))); in TEST_F()
419 ON_CALL(mock, FDIsSet(listen_fd, _)).WillByDefault((Return(false))); in TEST_F()
422 EXPECT_CALL(mock, FDIsSet(Eq(fd), _)); in TEST_F()
423 EXPECT_CALL(mock, FDIsSet(Eq(listen_fd), _)); in TEST_F()
431 ON_CALL(mock, FDIsSet(fd, _)).WillByDefault((Return(false))); in TEST_F()
432 ON_CALL(mock, FDIsSet(listen_fd, _)).WillByDefault((Return(true))); in TEST_F()
435 EXPECT_CALL(mock, FDIsSet(Eq(fd), _)); in TEST_F()
436 EXPECT_CALL(mock, FDIsSet(Eq(listen_fd), _)); in TEST_F()
444 ON_CALL(mock, FDIsSet(fd, _)).WillByDefault((Return(true))); in TEST_F()
445 ON_CALL(mock, FDIsSet(listen_fd, _)).WillByDefault((Return(false))); in TEST_F()
[all …]
Dsnoop_logger_socket.cc129 if ((listen_socket_ != -1) && syscall_if_->FDIsSet(listen_socket_, &sock_fds)) { in ProcessIncomingRequest()
144 …} else if ((notification_listen_fd_ != -1) && syscall_if_->FDIsSet(notification_listen_fd_, &sock_… in ProcessIncomingRequest()
Dsyscall_wrapper_mock.h60 MOCK_METHOD(bool, FDIsSet, (int, fd_set*));
Dsyscall_wrapper_impl.h55 bool FDIsSet(int fd, fd_set* set);
Dsyscall_wrapper_interface.h74 virtual bool FDIsSet(int fd, fd_set* set) = 0;
Dsyscall_wrapper_impl.cc106 bool SyscallWrapperImpl::FDIsSet(int fd, fd_set* set) { in FDIsSet() function in bluetooth::hal::SyscallWrapperImpl