Home | History | Annotate | Download | only in music

Lines Matching full:service

21 import android.app.Service;
67 public class MediaPlaybackService extends Service {
160 // interval after which we stop the service when idle
363 // If the service was idle, but got killed before it stopped itself, the
373 Log.e(LOGTAG, "Service being destroyed while still playing.");
443 //Log.i("@@@@ service", "created queue string in " + (System.currentTimeMillis() - start) + " ms");
474 //Log.i("@@@@ service", "saved state in " + (System.currentTimeMillis() - start) + " ms");
493 //Log.i("@@@@ service", "loaded queue: " + q);
554 // - music service is restarted, service restores state, doesn't find
678 // make sure the service will shut down on its own if it was
695 // an in-progress action requesting audio focus ends, so don't stop the service now.
700 // before stopping the service, so that pause/resume isn't slow.
701 // Also delay stopping the service if we're transitioning between tracks.
708 // No active playlist, OK to stop the service right now
1988 // require the media service, so it's OK to do this now, while the
1989 // service is still being restarted
2076 * By making this a static class with a WeakReference to the Service, we
2077 * ensure that the Service can be GCd even when the system process still
2083 ServiceStub(MediaPlaybackService service) {
2084 mService = new WeakReference<MediaPlaybackService>(service);