Lines Matching refs:thread
33 * thread, and stops itself when it runs out of work.
36 * from an application's main thread. The IntentService class exists to
39 * will receive the Intents, launch a worker thread, and stop the service as
42 * <p>All requests are handled on a single worker thread -- they may take as
76 * @param name Used to name the worker thread, important only for debugging.
110 HandlerThread thread = new HandlerThread("IntentService[" + mName + "]");
111 thread.start();
113 mServiceLooper = thread.getLooper();
154 * This method is invoked on the worker thread with a request to process.
156 * worker thread that runs independently from other application logic.