Home | History | Annotate | Download | only in deskclock

Lines Matching defs:thread

26  * dedicated thread so that this class can be called from the main thread. Consequently, problems
27 * controlling the ringtone do not cause ANRs in the main thread of the application.</p>
57 // Message codes used with the ringtone thread.
64 /** Handler running on the ringtone thread. */
101 * Posts a message to the ringtone-thread handler.
128 * Creates a new ringtone Handler running in its own thread.
132 final HandlerThread thread = new HandlerThread("ringtone-player");
133 thread.start();
135 return new Handler(thread.getLooper()) {
184 * Check if the executing thread is the one dedicated to controlling the ringtone playback.
188 LOGGER.e("Must be on the AsyncRingtonePlayer thread!",
263 /** The audio focus manager. Only used by the ringtone thread. */
276 * Starts the actual playback of the ringtone. Executes on ringtone-thread.
379 * Stops the playback of the ringtone. Executes on the ringtone-thread.
440 /** The audio focus manager. Only used by the ringtone thread. */
443 /** The current ringtone. Only used by the ringtone thread. */
473 * Starts the actual playback of the ringtone. Executes on ringtone-thread.
586 * Stops the playback of the ringtone. Executes on the ringtone-thread.