/device/generic/goldfish-opengl/system/egl/ |
D | ClientAPIExts.cpp | 96 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/ |
D | xf-osal.h | 183 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/ |
D | main.cpp | 137 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/ |
D | gps_vsoc.cpp | 42 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/ |
D | xf-osal.h | 179 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/ |
D | subprocess.cpp | 300 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/ |
D | UsbGadget.h | 57 using ::std::thread; 68 unique_ptr<thread> mMonitor;
|
/device/google/cuttlefish/host/frontend/webrtc/lib/ |
D | port_range_socket_factory.cpp | 52 rtc::Thread* thread, std::pair<uint16_t, uint16_t> udp_port_range, in PortRangeSocketFactory() argument 54 : rtc::BasicPacketSocketFactory(thread), in PortRangeSocketFactory()
|
D | streamer.cpp | 66 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()
|
D | port_range_socket_factory.h | 32 PortRangeSocketFactory(rtc::Thread* thread,
|
/device/google/bonito/usb/ |
D | UsbGadget.h | 58 using ::std::thread; 70 unique_ptr<thread> mMonitor;
|
/device/google/crosshatch/usb/ |
D | UsbGadget.h | 58 using ::std::thread; 70 unique_ptr<thread> mMonitor;
|
/device/google/cuttlefish/guest/commands/vsoc_input_service/ |
D | vsoc_input_service.cpp | 101 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/ |
D | secure_env.cpp | 114 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/ |
D | Context.h | 80 worker = std::thread(&Context::worker_func, this); in setPidTid() 112 std::thread worker;
|
D | README.md | 68 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/ |
D | gnss_hw_conn.h | 44 std::thread m_thread;
|
/device/generic/goldfish/sensors/ |
D | multihal_sensors.h | 108 std::thread m_sensorThread; 136 std::thread m_batchThread;
|
/device/google/cuttlefish/host/frontend/webrtc/ |
D | connection_observer.h | 45 std::thread run_loop_thread_;
|
/device/google/bonito/pixelstats/ |
D | service.cpp | 56 std::thread listenThread(&UeventListener::ListenForever, &ueventListener); in main()
|
/device/google/cuttlefish/host/libs/screen_connector/ |
D | socket_based_screen_connector.h | 51 std::thread screen_server_thread_;
|
/device/google/cuttlefish/host/frontend/vnc_server/ |
D | vnc_server.cpp | 46 std::thread t(&VncServer::StartClientThread, this, std::move(sock)); in StartClient()
|
D | simulated_hw_composer.h | 62 std::thread stripe_maker_;
|
/device/google/cuttlefish/host/commands/run_cvd/ |
D | process_monitor.h | 61 std::thread monitor_thread_;
|
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/ |
D | vsocket_screen_view.h | 52 std::thread broadcast_thread_;
|