Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/hal/
Dsnoop_logger_socket_thread.cc41 SnoopLoggerSocketThread::SnoopLoggerSocketThread(std::unique_ptr<SnoopLoggerSocket>&& socket) { in SnoopLoggerSocketThread() function in bluetooth::hal::SnoopLoggerSocketThread
47 SnoopLoggerSocketThread::~SnoopLoggerSocketThread() { in ~SnoopLoggerSocketThread()
51 std::future<bool> SnoopLoggerSocketThread::Start() { in Start()
55 …listen_thread_ = std::make_unique<std::thread>(&SnoopLoggerSocketThread::Run, this, std::move(thre… in Start()
60 void SnoopLoggerSocketThread::Stop() { in Stop()
72 void SnoopLoggerSocketThread::Write(const void* data, size_t length) { in Write()
76 bool SnoopLoggerSocketThread::ThreadIsRunning() const { in ThreadIsRunning()
80 SnoopLoggerSocket* SnoopLoggerSocketThread::GetSocket() { in GetSocket()
84 void SnoopLoggerSocketThread::Run(std::promise<bool> thread_started) { in Run()
Dsnoop_logger_socket_thread.h33 class SnoopLoggerSocketThread : public SnoopLoggerSocketInterface {
35 SnoopLoggerSocketThread(std::unique_ptr<SnoopLoggerSocket>&& socket);
36 SnoopLoggerSocketThread(const SnoopLoggerSocket&) = delete;
37 SnoopLoggerSocketThread& operator=(const SnoopLoggerSocketThread&) = delete;
38 virtual ~SnoopLoggerSocketThread();
Dsnoop_logger_socket_thread_test.cc35 using bluetooth::hal::SnoopLoggerSocketThread;
45 SnoopLoggerSocketThread sls(std::make_unique<SnoopLoggerSocket>(&socket_if)); in TEST_F()
56 SnoopLoggerSocketThread sls(std::make_unique<SnoopLoggerSocket>(&socket_if)); in TEST_F()
64 SnoopLoggerSocketThread sls(std::make_unique<SnoopLoggerSocket>(&socket_if)); in TEST_F()
78 SnoopLoggerSocketThread sls(std::make_unique<SnoopLoggerSocket>(&socket_if)); in TEST_F()
95 SnoopLoggerSocketThread sls(std::make_unique<SnoopLoggerSocket>(&socket_if)); in TEST_F()
122 SnoopLoggerSocketThread sls(std::make_unique<SnoopLoggerSocket>(&socket_if)); in TEST_F()
152 SnoopLoggerSocketThread sls(std::make_unique<SnoopLoggerSocket>(&socket_if)); in TEST_F()
164 SnoopLoggerSocketThread sls(std::make_unique<SnoopLoggerSocket>(&socket_if)); in TEST_F()
204 SnoopLoggerSocketThread sls(std::make_unique<SnoopLoggerSocket>(&socket_if)); in TEST_F()
[all …]
Dsnoop_logger.h336 std::unique_ptr<SnoopLoggerSocketThread> snoop_logger_socket_thread_;
Dsnoop_logger_test.cc40 using bluetooth::hal::SnoopLoggerSocketThread;
147 SnoopLoggerSocketThread* GetSocketThread() { in GetSocketThread()
1475 SnoopLoggerSocketThread slsThread(std::move(sls)); in TEST_F()
1643 SnoopLoggerSocketThread slsThread(std::move(sls)); in TEST_F()
Dsnoop_logger.cc1333 std::make_unique<SnoopLoggerSocketThread>(std::move(snoop_logger_socket)); in Start()