Lines Matching defs:impl
84 struct ClientSocket::impl { struct in OHOS::Bluetooth::ClientSocket
89 ~impl() in ~impl()
108 void Close() in Close()
144 uint16_t GetPacketSizeFromBuf(const uint8_t recvBuf[], int recvBufLen) const in GetPacketSizeFromBuf()
154 bool RecvSocketSignal() in RecvSocketSignal()
171 int getSecurityFlags() in getSecurityFlags()
181 std::shared_ptr<InputStream> GetInputStream() in GetInputStream()
190 std::shared_ptr<OutputStream> GetOutputStream() in GetOutputStream()
199 BluetoothRemoteDevice &GetRemoteDevice() in GetRemoteDevice()
205 bool IsConnected() in IsConnected()
211 int SetBufferSize(int bufferSize) in SetBufferSize()
256 bool RecvSocketPsmOrScn() in RecvSocketPsmOrScn()
273 std::weak_ptr<BluetoothConnectionObserver> observer_;
277 sptr<BluetoothSocketObserverImp> observerImp_ = nullptr;
278 std::shared_ptr<InputStream> inputStream_ {
281 std::shared_ptr<OutputStream> outputStream_ {
285 BluetoothRemoteDevice remoteDevice_;
286 UUID uuid_;
287 BtSocketType type_;
288 std::string address_;
289 int fd_;
290 bool auth_;
291 int socketStatus_;
292 std::atomic<int> socketChannel_{ -1 };
293 std::atomic<uint32_t> maxTxPacketSize_{ 0 };
294 std::atomic<uint32_t> maxRxPacketSize_{ 0 };
361 ClientSocket::impl::impl(const BluetoothRemoteDevice &addr, UUID uuid, BtSocketType type, bool auth) in impl() function in OHOS::Bluetooth::ClientSocket::impl
374 ClientSocket::impl::impl(int fd, std::string address, BtSocketType type) in impl() function in OHOS::Bluetooth::ClientSocket::impl
387 ClientSocket::impl::impl(const BluetoothRemoteDevice &addr, UUID uuid, BtSocketType type, bool auth, in impl() function in OHOS::Bluetooth::ClientSocket::impl
544 struct ServerSocket::impl { struct in OHOS::Bluetooth::ServerSocket
546 ~impl() in ~impl()
557 int Listen() in Listen()
609 int getSecurityFlags() in getSecurityFlags()
619 std::shared_ptr<ClientSocket> Accept(int timeout) in Accept()
651 int RecvSocketFd() in RecvSocketFd()
701 uint16_t GetPacketSizeFromBuf(uint8_t recvBuf[], int recvBufLen) in GetPacketSizeFromBuf()
711 bool RecvSocketPsmOrScn() in RecvSocketPsmOrScn()
728 void Close() in Close()
753 const std::string &GetStringTag() in GetStringTag()
767 static std::string ConvertTypeToString(BtSocketType type) in ConvertTypeToString()
782 sptr<BluetoothServerSocketObserverStub> observer_ = nullptr;
784 sptr<IBluetoothSocket> proxy;
785 UUID uuid_;
786 BtSocketType type_;
787 bool encrypt_;
788 int fd_;
789 int socketStatus_;
790 std::string name_ {
793 int acceptFd_ = 0;
794 std::string acceptAddress_;
795 std::string socketServiceType_ {
798 std::atomic<int> socketChannel_{ -1 };
799 std::atomic<uint32_t> maxTxPacketSize_{ 0 };
800 std::atomic<uint32_t> maxRxPacketSize_{ 0 };
803 ServerSocket::impl::impl(const std::string &name, UUID uuid, BtSocketType type, bool encrypt) in impl() function in OHOS::Bluetooth::ServerSocket::impl