Home
last modified time | relevance | path

Searched refs:MusicService (Results 1 – 7 of 7) sorted by relevance

/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DMusicIntentReceiver.java39 context.startService(new Intent(MusicService.ACTION_PAUSE)); in onReceive()
49 context.startService(new Intent(MusicService.ACTION_TOGGLE_PLAYBACK)); in onReceive()
52 context.startService(new Intent(MusicService.ACTION_PLAY)); in onReceive()
55 context.startService(new Intent(MusicService.ACTION_PAUSE)); in onReceive()
58 context.startService(new Intent(MusicService.ACTION_STOP)); in onReceive()
61 context.startService(new Intent(MusicService.ACTION_SKIP)); in onReceive()
66 context.startService(new Intent(MusicService.ACTION_REWIND)); in onReceive()
DMainActivity.java78 startService(new Intent(MusicService.ACTION_PLAY)); in onClick()
80 startService(new Intent(MusicService.ACTION_PAUSE)); in onClick()
82 startService(new Intent(MusicService.ACTION_SKIP)); in onClick()
84 startService(new Intent(MusicService.ACTION_REWIND)); in onClick()
86 startService(new Intent(MusicService.ACTION_STOP)); in onClick()
110 Intent i = new Intent(MusicService.ACTION_URL); in showUrlDialog()
128 startService(new Intent(MusicService.ACTION_TOGGLE_PLAYBACK)); in onKeyDown()
DMusicService.java52 public class MusicService extends Service implements OnCompletionListener, OnPreparedListener, class
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMediaNotification.java63 private final MusicService mService;
83 public MediaNotification(MusicService service) { in MediaNotification()
DBrowseFragment.java150 new ComponentName(getActivity(), MusicService.class), in onCreateView()
DQueueFragment.java163 new ComponentName(getActivity(), MusicService.class), in onCreateView()
DMusicService.java113 public class MusicService extends MediaBrowserService implements OnPreparedListener, class
613 startService(new Intent(getApplicationContext(), MusicService.class)); in handlePlayRequest()