OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MusicService
(Results
1 - 18
of
18
) sorted by null
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
MusicIntentReceiver.java
38
// send an intent to our
MusicService
to telling it to pause the audio
39
context.startService(new Intent(
MusicService
.ACTION_PAUSE));
49
context.startService(new Intent(
MusicService
.ACTION_TOGGLE_PLAYBACK));
52
context.startService(new Intent(
MusicService
.ACTION_PLAY));
55
context.startService(new Intent(
MusicService
.ACTION_PAUSE));
58
context.startService(new Intent(
MusicService
.ACTION_STOP));
61
context.startService(new Intent(
MusicService
.ACTION_SKIP));
66
context.startService(new Intent(
MusicService
.ACTION_REWIND));
MainActivity.java
34
* Intents to our {@link
MusicService
}.
52
* start the background service ({@link
MusicService
}) that will handle the actual media
76
// Send the correct intent to the
MusicService
, according to the button that was clicked
78
startService(new Intent(
MusicService
.ACTION_PLAY));
80
startService(new Intent(
MusicService
.ACTION_PAUSE));
82
startService(new Intent(
MusicService
.ACTION_SKIP));
84
startService(new Intent(
MusicService
.ACTION_REWIND));
86
startService(new Intent(
MusicService
.ACTION_STOP));
94
* confirms, sends the appropriate intent to the {@link
MusicService
} to cause that URL to be
109
//
MusicService
[
all
...]
MusicService.java
52
public class
MusicService
extends Service implements OnCompletionListener, OnPreparedListener,
495
Log.e("
MusicService
", "IOException playing next song: " + ex.getMessage());
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
Playback.java
63
private final
MusicService
mService;
87
Intent i = new Intent(context,
MusicService
.class);
88
i.setAction(
MusicService
.ACTION_CMD);
89
i.putExtra(
MusicService
.CMD_NAME,
MusicService
.CMD_PAUSE);
96
public Playback(
MusicService
service, MusicProvider musicProvider) {
MusicService.java
108
public class
MusicService
extends MediaBrowserService implements Playback.Callback {
120
private static final String TAG = LogHelper.makeLogTag(
MusicService
.class);
154
mSession = new MediaSession(this, "
MusicService
");
491
// The
MusicService
needs to keep running even after the calling MediaBrowser
494
startService(new Intent(getApplicationContext(),
MusicService
.class));
720
private final WeakReference<
MusicService
> mWeakReference;
722
private DelayedStopHandler(
MusicService
service) {
728
MusicService
service = mWeakReference.get();
[
all
...]
MediaNotificationManager.java
54
private final
MusicService
mService;
73
public MediaNotificationManager(
MusicService
service) {
BrowseFragment.java
44
* It uses a {@link MediaBrowser} to connect to the {@link
MusicService
}. Once connected,
150
new ComponentName(getActivity(),
MusicService
.class),
QueueFragment.java
163
new ComponentName(getActivity(),
MusicService
.class),
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/
Playback.java
63
private final
MusicService
mService;
87
Intent i = new Intent(context,
MusicService
.class);
88
i.setAction(
MusicService
.ACTION_CMD);
89
i.putExtra(
MusicService
.CMD_NAME,
MusicService
.CMD_PAUSE);
96
public Playback(
MusicService
service, MusicProvider musicProvider) {
MusicService.java
108
public class
MusicService
extends MediaBrowserService implements Playback.Callback {
120
private static final String TAG = LogHelper.makeLogTag(
MusicService
.class);
154
mSession = new MediaSession(this, "
MusicService
");
491
// The
MusicService
needs to keep running even after the calling MediaBrowser
494
startService(new Intent(getApplicationContext(),
MusicService
.class));
720
private final WeakReference<
MusicService
> mWeakReference;
722
private DelayedStopHandler(
MusicService
service) {
728
MusicService
service = mWeakReference.get();
[
all
...]
MediaNotificationManager.java
54
private final
MusicService
mService;
73
public MediaNotificationManager(
MusicService
service) {
BrowseFragment.java
44
* It uses a {@link MediaBrowser} to connect to the {@link
MusicService
}. Once connected,
150
new ComponentName(getActivity(),
MusicService
.class),
QueueFragment.java
163
new ComponentName(getActivity(),
MusicService
.class),
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
Playback.java
63
private final
MusicService
mService;
87
Intent i = new Intent(context,
MusicService
.class);
88
i.setAction(
MusicService
.ACTION_CMD);
89
i.putExtra(
MusicService
.CMD_NAME,
MusicService
.CMD_PAUSE);
96
public Playback(
MusicService
service, MusicProvider musicProvider) {
MusicService.java
108
public class
MusicService
extends MediaBrowserService implements Playback.Callback {
120
private static final String TAG = LogHelper.makeLogTag(
MusicService
.class);
154
mSession = new MediaSession(this, "
MusicService
");
491
// The
MusicService
needs to keep running even after the calling MediaBrowser
494
startService(new Intent(getApplicationContext(),
MusicService
.class));
720
private final WeakReference<
MusicService
> mWeakReference;
722
private DelayedStopHandler(
MusicService
service) {
728
MusicService
service = mWeakReference.get();
[
all
...]
MediaNotificationManager.java
54
private final
MusicService
mService;
73
public MediaNotificationManager(
MusicService
service) {
BrowseFragment.java
44
* It uses a {@link MediaBrowser} to connect to the {@link
MusicService
}. Once connected,
150
new ComponentName(getActivity(),
MusicService
.class),
QueueFragment.java
163
new ComponentName(getActivity(),
MusicService
.class),
Completed in 295 milliseconds