Lines Matching defs:impl
87 struct ClientSocket::impl { struct in OHOS::Bluetooth::ClientSocket
92 ~impl() in ~impl()
111 void Close() in Close()
147 uint16_t GetPacketSizeFromBuf(const uint8_t recvBuf[], int recvBufLen) const in GetPacketSizeFromBuf()
157 bool RecvSocketSignal() in RecvSocketSignal()
174 int getSecurityFlags() in getSecurityFlags()
184 std::shared_ptr<InputStream> GetInputStream() in GetInputStream()
193 std::shared_ptr<OutputStream> GetOutputStream() in GetOutputStream()
202 BluetoothRemoteDevice &GetRemoteDevice() in GetRemoteDevice()
208 bool IsConnected() in IsConnected()
214 int SetBufferSize(int bufferSize) in SetBufferSize()
259 bool RecvSocketPsmOrScn() in RecvSocketPsmOrScn()
276 std::weak_ptr<BluetoothConnectionObserver> observer_;
280 sptr<BluetoothSocketObserverImp> observerImp_ = nullptr;
281 std::shared_ptr<InputStream> inputStream_ {
284 std::shared_ptr<OutputStream> outputStream_ {
288 BluetoothRemoteDevice remoteDevice_;
289 UUID uuid_;
290 BtSocketType type_;
291 std::string address_;
292 int fd_;
293 bool auth_;
294 int socketStatus_;
295 std::atomic<int> socketChannel_{ -1 };
296 std::atomic<uint32_t> maxTxPacketSize_{ 0 };
297 std::atomic<uint32_t> maxRxPacketSize_{ 0 };
364 ClientSocket::impl::impl(const BluetoothRemoteDevice &addr, UUID uuid, BtSocketType type, bool auth) in impl() function in OHOS::Bluetooth::ClientSocket::impl
377 ClientSocket::impl::impl(int fd, std::string address, BtSocketType type) in impl() function in OHOS::Bluetooth::ClientSocket::impl
390 ClientSocket::impl::impl(const BluetoothRemoteDevice &addr, UUID uuid, BtSocketType type, bool auth, in impl() function in OHOS::Bluetooth::ClientSocket::impl
547 struct ServerSocket::impl { struct in OHOS::Bluetooth::ServerSocket
549 ~impl() in ~impl()
560 int Listen() in Listen()
612 int getSecurityFlags() in getSecurityFlags()
622 std::shared_ptr<ClientSocket> Accept(int timeout) in Accept()
654 int RecvSocketFd() in RecvSocketFd()
704 uint16_t GetPacketSizeFromBuf(uint8_t recvBuf[], int recvBufLen) in GetPacketSizeFromBuf()
714 bool RecvSocketPsmOrScn() in RecvSocketPsmOrScn()
731 void Close() in Close()
756 const std::string &GetStringTag() in GetStringTag()
770 static std::string ConvertTypeToString(BtSocketType type) in ConvertTypeToString()
785 sptr<BluetoothServerSocketObserverStub> observer_ = nullptr;
787 sptr<IBluetoothSocket> proxy;
788 UUID uuid_;
789 BtSocketType type_;
790 bool encrypt_;
791 int fd_;
792 int socketStatus_;
793 std::string name_ {
796 int acceptFd_ = 0;
797 std::string acceptAddress_;
798 std::string socketServiceType_ {
801 std::atomic<int> socketChannel_{ -1 };
802 std::atomic<uint32_t> maxTxPacketSize_{ 0 };
803 std::atomic<uint32_t> maxRxPacketSize_{ 0 };
806 ServerSocket::impl::impl(const std::string &name, UUID uuid, BtSocketType type, bool encrypt) in impl() function in OHOS::Bluetooth::ServerSocket::impl