Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 25 of 72) sorted by relevance

123

/device/generic/goldfish-opengl/system/egl/
DClientAPIExts.cpp96 EGLThreadInfo* thread = getEGLThreadInfo(); \
97 if (!thread->currentContext) { \
100 int clientMajorVersion = (int)thread->currentContext->majorVersion; \
111 EGLThreadInfo* thread = getEGLThreadInfo(); \
112 if (!thread->currentContext) { \
115 int idx = (int)thread->currentContext->majorVersion - 1; \
/device/linaro/hikey/hifi/xaf/host-apf/include/os/android/
Dxf-osal.h183 static inline int __xf_thread_create(xf_thread_t *thread, void * (*f)(void *), void *arg) in __xf_thread_create() argument
194 r = -pthread_create(thread, &attr, f, arg); in __xf_thread_create()
203 static inline int __xf_thread_destroy(xf_thread_t *thread) in __xf_thread_destroy() argument
208 pthread_kill(*thread,SIGUSR1); in __xf_thread_destroy()
211 pthread_join(*thread, &r); in __xf_thread_destroy()
/device/google/cuttlefish/common/frontend/socket_vsock_proxy/
Dmain.cpp137 std::thread(SocketToVsock, SocketReceiver{socket}, SocketSender{vsock}); in HandleConnection()
167 auto thread = std::thread(HandleConnection, std::move(vsock_socket), in TcpServer() local
169 thread.detach(); in TcpServer()
214 auto thread = std::thread(HandleConnection, std::move(vsock_client), in VsockServer() local
216 thread.detach(); in VsockServer()
/device/google/cuttlefish/guest/hals/gps/
Dgps_vsoc.cpp42 if (s->thread > 0) { in gps_state_cleanup()
43 pthread_join(s->thread, NULL); in gps_state_cleanup()
50 s->thread = 0; in gps_state_cleanup()
76 _gps_state.thread = 0; in gce_gps_init()
93 _gps_state.thread = callbacks->create_thread_cb( in gce_gps_init()
95 if (!_gps_state.thread) { in gce_gps_init()
/device/linaro/hikey/hifi/xaf/host-apf/include/os/xos/
Dxf-osal.h179 static inline int __xf_thread_create(xf_thread_t *thread, xf_entry_t *f, in __xf_thread_create() argument
186 r = xos_thread_create(thread, 0, f, arg, name, stack, stack_size, priority, 0, 0); in __xf_thread_create()
192 static inline int __xf_thread_destroy(xf_thread_t *thread) in __xf_thread_destroy() argument
201 r = xos_thread_delete(thread); in __xf_thread_destroy()
/device/google/cuttlefish/common/libs/utils/
Dsubprocess.cpp300 std::vector<std::thread*> threads_;
302 ThreadJoiner(const std::vector<std::thread*> threads) : threads_(threads) {} in ThreadJoiner()
304 for (auto& thread : threads_) { in ~ThreadJoiner() local
305 if (thread->joinable()) { in ~ThreadJoiner()
306 thread->join(); in ~ThreadJoiner()
326 std::thread stdin_thread, stdout_thread, stderr_thread; in RunWithManagedStdio()
342 stdin_thread = std::thread([pipe_write, stdin, &io_error]() { in RunWithManagedStdio()
362 stdout_thread = std::thread([pipe_read, stdout, &io_error]() { in RunWithManagedStdio()
382 stderr_thread = std::thread([pipe_read, stderr, &io_error]() { in RunWithManagedStdio()
/device/google/wahoo/usb/
DUsbGadget.h57 using ::std::thread;
68 unique_ptr<thread> mMonitor;
/device/google/cuttlefish/host/frontend/webrtc/lib/
Dport_range_socket_factory.cpp52 rtc::Thread* thread, std::pair<uint16_t, uint16_t> udp_port_range, in PortRangeSocketFactory() argument
54 : rtc::BasicPacketSocketFactory(thread), in PortRangeSocketFactory()
Dstreamer.cpp66 auto thread = rtc::Thread::CreateWithSocketServer(); in CreateAndStartThread() local
67 if (!thread) { in CreateAndStartThread()
71 thread->SetName(name, nullptr); in CreateAndStartThread()
72 if (!thread->Start()) { in CreateAndStartThread()
76 return thread; in CreateAndStartThread()
Dport_range_socket_factory.h32 PortRangeSocketFactory(rtc::Thread* thread,
/device/google/bonito/usb/
DUsbGadget.h58 using ::std::thread;
70 unique_ptr<thread> mMonitor;
/device/google/crosshatch/usb/
DUsbGadget.h58 using ::std::thread;
70 unique_ptr<thread> mMonitor;
/device/google/cuttlefish/guest/commands/vsoc_input_service/
Dvsoc_input_service.cpp101 std::thread screen_thread([this, touch_fd]() { in ProcessEvents()
114 std::thread keyboard_thread([this, keyboard_fd]() { in ProcessEvents()
/device/google/cuttlefish/host/commands/secure_env/
Dsecure_env.cpp114 std::thread keymaster_thread([&keymaster_server, &keymaster]() { in main()
128 std::thread gatekeeper_thread([&gatekeeper_server, &gatekeeper]() { in main()
/device/generic/opengl-transport/host/libs/virglrenderer/
DContext.h80 worker = std::thread(&Context::worker_func, this); in setPidTid()
112 std::thread worker;
DREADME.md68 thread safe. We do not require thread safety because no decoder state is shared
77 process. The second kind of context is per-thread, used by the EGL/GLES
79 processed in their own thread by AVDVirglRenderer so as to minimize the number
/device/generic/goldfish/gnss/
Dgnss_hw_conn.h44 std::thread m_thread;
/device/generic/goldfish/sensors/
Dmultihal_sensors.h108 std::thread m_sensorThread;
136 std::thread m_batchThread;
/device/google/cuttlefish/host/frontend/webrtc/
Dconnection_observer.h45 std::thread run_loop_thread_;
/device/google/bonito/pixelstats/
Dservice.cpp56 std::thread listenThread(&UeventListener::ListenForever, &ueventListener); in main()
/device/google/cuttlefish/host/libs/screen_connector/
Dsocket_based_screen_connector.h51 std::thread screen_server_thread_;
/device/google/cuttlefish/host/frontend/vnc_server/
Dvnc_server.cpp46 std::thread t(&VncServer::StartClientThread, this, std::move(sock)); in StartClient()
Dsimulated_hw_composer.h62 std::thread stripe_maker_;
/device/google/cuttlefish/host/commands/run_cvd/
Dprocess_monitor.h61 std::thread monitor_thread_;
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/
Dvsocket_screen_view.h52 std::thread broadcast_thread_;

123