Home
last modified time | relevance | path

Searched refs:poll_thread (Results 1 – 7 of 7) sorted by relevance

/external/libxcam/tests/
Dtest-poll-thread.cpp216 SmartPtr<PollThread> poll_thread = new PollThread(); in main() local
221 SmartPtr<PollThread> poll_thread = new PollThread(); in main() local
225 poll_thread->set_capture_device(device); in main()
226 poll_thread->set_event_device(event_device); in main()
227 poll_thread->set_poll_callback(poll_cb); in main()
231 poll_thread->start(); in main()
241 ret = poll_thread->stop(); in main()
Dtest-device-manager.cpp879 SmartPtr<PollThread> poll_thread; in main() local
881 poll_thread = new PollThread (); in main()
883 poll_thread = new FakePollThread (path_to_fake.c_str ()); in main()
889 poll_thread = isp_poll_thread; in main()
892 device_manager->set_poll_thread (poll_thread); in main()
/external/python/cpython2/Lib/test/
Dtest_poll.py218 poll_thread = threading.Thread(target=pollster.poll, args=(timeout_ms,))
219 poll_thread.start()
220 poll_thread.join(timeout=0.1)
221 self.assertTrue(poll_thread.is_alive())
225 poll_thread.join()
226 self.assertFalse(poll_thread.is_alive())
/external/python/cpython3/Lib/test/
Dtest_poll.py217 poll_thread = threading.Thread(target=pollster.poll, args=(timeout_ms,))
218 poll_thread.start()
219 poll_thread.join(timeout=0.1)
220 self.assertTrue(poll_thread.is_alive())
224 poll_thread.join()
225 self.assertFalse(poll_thread.is_alive())
/external/libusb/examples/
Ddpfp_threaded.c73 static pthread_t poll_thread; variable
497 r = pthread_create(&poll_thread, NULL, poll_thread_main, NULL); in main()
504 pthread_join(poll_thread, NULL); in main()
511 pthread_join(poll_thread, NULL); in main()
519 pthread_join(poll_thread, NULL); in main()
/external/libxcam/xcore/
DMakefile.am29 poll_thread.cpp \
/external/libxcam/wrapper/gstreamer/
Dgstxcamsrc.cpp923 SmartPtr<PollThread> poll_thread; in gst_xcam_src_start() local
1142 poll_thread = new PollThread (); in gst_xcam_src_start()
1144 poll_thread = new FakePollThread (xcamsrc->path_to_fake); in gst_xcam_src_start()
1150 poll_thread = isp_poll_thread; in gst_xcam_src_start()
1153 device_manager->set_poll_thread (poll_thread); in gst_xcam_src_start()