Home | History | Annotate | Download | only in camera

Lines Matching refs:Thread

120      * This method will start the worker thread that would be pulling frames from
140 * This method will stop the worker thread started by startDeliveringFrames.
238 /* Instance is initialized when the worker thread has been successfuly
269 * Worker thread management.
271 * actual device, it does that in a worker thread created in StartCapturing,
273 * it makes sence to encapsulate worker thread management in the base class
278 /* Starts the worker thread.
279 * Typically, worker thread is started from startDeliveringFrames method of
282 * one_burst - Controls how many times thread loop should run. If this
283 * parameter is 'true', thread routine will run only once If this
284 * parameter is 'false', thread routine will run until stopWorkerThread
291 /* Stops the worker thread.
292 * Note that this method will always wait for the worker thread to terminate.
293 * Typically, worker thread is started from stopDeliveringFrames method of
300 /* Implementation of the worker thread routine.
301 * In the default implementation of the worker thread routine we simply
302 * return 'false' forcing the thread loop to exit, and the thread to
306 * true To continue thread loop (this method will be called again), or false
307 * to exit the thread loop and to terminate the thread.
311 /* Encapsulates a worker thread used by the emulated camera device.
314 class WorkerThread : public Thread {
322 : Thread(true), // Callbacks may involve Java calls.
342 /* Starts the thread
344 * one_burst - Controls how many times thread loop should run. If
345 * this parameter is 'true', thread routine will run only once
346 * If this parameter is 'false', thread routine will run until
360 * prior to starting the thread routine.
364 /* Stops the thread. */
373 /* Thread exit request has been received. */
379 /* Select on an FD event, keeping in mind thread exit message.
383 * only wait on a control message to the thread.
396 /* Implements abstract method of the base Thread class. */
411 /* FD that is used to send control messages into the thread. */
414 /* FD that thread uses to receive control messages. */
417 /* Controls number of times the thread loop runs.
421 /* Enumerates control messages that can be sent into the thread. */
423 /* Stop the thread. */
428 /* Worker thread accessor. */
442 /* Worker thread that is used in frame capturing. */