Home | History | Annotate | Download | only in music

Lines Matching refs:Service

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