Home
last modified time | relevance | path

Searched refs:SocketThread (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/arkui/ui_lite/test/autotest/src/
H A Dsocket_thread.cpp19 SocketThread::SocketThread() in SocketThread() function in OHOS::SocketThread
24 SocketThread::~SocketThread() in ~SocketThread()
29 void SocketThread::run() in run()
38 void SocketThread::Quit() in Quit()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/
H A Dsocket_listener.cpp24 SocketThread &SocketThread::GetInstance() in GetInstance()
26 static SocketThread instance; in GetInstance()
30 bool SocketThread::Initialize() in Initialize()
51 thread_ = std::make_unique<std::thread>(&SocketThread::OnListenEvents, this); in Initialize()
57 bool SocketThread::Uninitialize() in Uninitialize()
78 bool SocketThread::AddSocket(int fd, int flag, Socket &sock) in AddSocket()
113 void SocketThread::OnListenEvents(void) in OnListenEvents()
159 int SocketThread::FindFd(Socket &sock) in FindFd()
171 void SocketThread::DeleteFd(Socket &sock) in DeleteFd()
177 bool SocketThread::DeleteSocket(Socket &sock) in DeleteSocket()
H A Dsocket_listener.h29 class SocketThread final {
31 static SocketThread &GetInstance();
64 SocketThread() = default;
65 ~SocketThread() = default;
H A Dsocket_service.cpp44 SocketThread::GetInstance().Initialize(); in Enable()
59 SocketThread::GetInstance().Uninitialize(); in Disable()
190 SocketThread::GetInstance().DeleteSocket(*socket); in ProcessMessage()
H A Dsocket.cpp409 SocketThread::GetInstance().AddSocket(transportFd_, 0, *this); in Connect()
432 SocketThread::GetInstance().AddSocket(transportFd_, 0, *this); in Listen()
491 SocketThread::GetInstance().DeleteSocket(*this); in ReceiveSdpResult()
527 SocketThread::GetInstance().AddSocket( in AddSocketInternal()
579 SocketThread::GetInstance().DeleteSocket(*serverSocket); in ProcessDisconnection()
595 SocketThread::GetInstance().DeleteSocket(*this); in ProcessDisconnection()
714 SocketThread::GetInstance().AddSocket( in OnSocketWriteReadyNative()
720 SocketThread::GetInstance().DeleteSocket(sock); in OnSocketWriteReadyNative()
798 SocketThread::GetInstance().AddSocket(this->transportFd_, 1, *this); in WriteDataToAPP()
803 SocketThread::GetInstance().DeleteSocket(*this); in WriteDataToAPP()
/ohos5.0/foundation/arkui/ui_lite/test/autotest/include/
H A Dscoket_thread.h25 class SocketThread : public QThread {
28 SocketThread();
29 ~SocketThread();
/ohos5.0/foundation/arkui/ui_lite/tools/qt/simulator/uitest/
H A Dmain_widget.h72 SocketThread* socketThread_;
H A Dmain_widget.cpp73 socketThread_ = new SocketThread(); in CreateSocketThread()