OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mMediaSession
(Results
1 - 12
of
12
) sorted by null
/cts/hostsidetests/media/app/MediaSessionTestHelper/src/android/media/app/media_session_test_helper/
MediaSessionTestHelperService.java
48
private MediaSession
mMediaSession
;
76
if (
mMediaSession
== null) {
77
mMediaSession
= new MediaSession(this, TAG);
80
if (
mMediaSession
!= null) {
82
mMediaSession
.setActive(true);
85
mMediaSession
.setActive(false);
107
if (
mMediaSession
!= null) {
108
mMediaSession
.release();
109
mMediaSession
= null;
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
Player.java
53
protected MediaSessionCompat
mMediaSession
;
104
if (
mMediaSession
== null) {
107
mMediaSession
.setMetadata(null);
108
mMediaSession
.setPlaybackState(INIT_PLAYBACK_STATE);
112
if (
mMediaSession
== null) {
119
mMediaSession
.setMetadata(null);
128
mMediaSession
.setMetadata(bob.build());
132
if (
mMediaSession
== null) {
155
mMediaSession
.setPlaybackState(pbState);
157
mMediaSession
.setActive(true)
[
all
...]
SampleMediaRouterActivity.java
136
mPlayer = Player.create(SampleMediaRouterActivity.this, route,
mMediaSession
);
149
mMediaSession
.setActive(false);
197
private MediaSessionCompat
mMediaSession
;
391
mMediaRouter.setMediaSessionCompat(
mMediaSession
);
395
mMediaRouter.getSelectedRoute(),
mMediaSession
);
414
mMediaSession
= new MediaSessionCompat(this, "SampleMediaRouter", mEventReceiver,
416
mMediaSession
.setFlags(MediaSessionCompat.FLAG_HANDLES_MEDIA_BUTTONS
418
mMediaSession
.setCallback(new MediaSessionCompat.Callback() {
526
mMediaSession
.release();
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/media/
BluetoothSL4AAudioSrcMBS.java
42
private MediaSession
mMediaSession
= null;
150
mMediaSession
= new MediaSession(this, TAG);
151
mSessionToken =
mMediaSession
.getSessionToken();
153
mMediaSession
.setCallback(mMediaSessionCallback);
154
mMediaSession
.setFlags(MediaSession.FLAG_HANDLES_MEDIA_BUTTONS
162
mPlayback.setMediaSession(
mMediaSession
);
169
mMediaSession
.setPlaybackState(state);
170
mMediaSession
.setActive(true);
177
mMediaSession
.release();
178
mMediaSession
= null
[
all
...]
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
MediaSessionService.java
130
private MediaSessionCompat
mMediaSession
;
176
mMediaSession
.setPlaybackState(createPlaybackStateBuilder(
201
return
mMediaSession
;
216
if (
mMediaSession
== null) {
217
mMediaSession
= new MediaSessionCompat(this, MUSIC_PLAYER_SESSION_TOKEN);
218
mMediaSession
.setFlags(MediaSessionCompat.FLAG_HANDLES_MEDIA_BUTTONS
220
mMediaSession
.setCallback(new MediaSessionCallback());
245
if (
mMediaSession
!= null) {
246
mMediaSession
.release();
247
mMediaSession
= null
[
all
...]
MusicPlayerFragment.java
174
private MediaSessionCompat
mMediaSession
;
203
mMediaSession
= mPlaybackService.getMediaSession();
206
mMediaSession
);
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DvrPlaybackMediaSessionHelper.java
54
private MediaSession
mMediaSession
;
105
if (
mMediaSession
!= null) {
106
mMediaSession
.release();
107
mMediaSession
= null;
115
mMediaSession
.setPlaybackState(new PlaybackState.Builder()
131
mMediaSession
.setActive(false);
164
mMediaSession
= new MediaSession(mActivity, mediaSessionTag);
165
mMediaSession
.setFlags(MediaSession.FLAG_HANDLES_MEDIA_BUTTONS
171
mMediaSession
.setCallback(new MediaSessionCallback());
173
new MediaController(mActivity,
mMediaSession
.getSessionToken()))
[
all
...]
/packages/apps/TV/src/com/android/tv/
MediaSessionWrapper.java
52
private final MediaSession
mMediaSession
;
58
mMediaSession
= new MediaSession(context, MEDIA_SESSION_TAG);
59
mMediaSession
.setCallback(new MediaSession.Callback() {
66
mMediaSession
.setFlags(MediaSession.FLAG_HANDLES_MEDIA_BUTTONS |
81
mMediaSession
.setActive(true);
83
mMediaSession
.setPlaybackState(MEDIA_SESSION_STATE_PLAYING);
84
} else if (
mMediaSession
.isActive()) {
85
mMediaSession
.setPlaybackState(MEDIA_SESSION_STATE_STOPPED);
86
mMediaSession
.setActive(false);
137
mMediaSession
.release()
[
all
...]
/frameworks/base/media/java/android/media/session/
MediaSession.java
[
all
...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
MediaRouter.java
[
all
...]
/frameworks/opt/net/ims/src/java/com/android/ims/
ImsCall.java
521
private ImsStreamMediaSession
mMediaSession
= null;
630
mMediaSession
= null;
810
return
mMediaSession
;
[
all
...]
/prebuilts/sdk/current/support/v7/mediarouter/libs/
android-support-v7-mediarouter.jar
Completed in 802 milliseconds