Searched refs:mSessionManager (Results 1 – 4 of 4) sorted by relevance
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/media/ |
D | SampleMediaRouterActivity.java | 112 private final SessionManager mSessionManager = new SessionManager("app"); field in SampleMediaRouterActivity 141 mSessionManager.setPlayer(mPlayer); 142 mSessionManager.unsuspend(); 154 long pos = item.getPosition() + (mSessionManager.isPaused() ? 156 mSessionManager.suspend(pos); 340 if (mSessionManager.isPaused()) { in onCreate() 341 mSessionManager.resume(); in onCreate() 343 mSessionManager.pause(); in onCreate() 352 mSessionManager.stop(); in onCreate() 363 mSessionManager.seek(item.getItemId(), pos); in onCreate() [all …]
|
D | SampleMediaRouteProvider.java | 232 private final SessionManager mSessionManager = new SessionManager("mrp"); field in SampleMediaRouteProvider.SampleRouteController 239 mSessionManager.setPlayer(mPlayer); in SampleRouteController() 240 mSessionManager.setCallback(new SessionManager.Callback() { in SampleRouteController() 317 Log.d(TAG, mSessionManager.toString()); in onControlRequest() 323 if (mSessionManager.getCurrentItem() != null) { in onControlRequest() 348 if (sid != null && !sid.equals(mSessionManager.getSessionId())) { in handlePlay() 352 if (mSessionManager.hasSession()) { in handlePlay() 353 mSessionManager.stop(); in handlePlay() 360 if (sid != null && !sid.equals(mSessionManager.getSessionId())) { in handleEnqueue() 387 PlaylistItem item = mSessionManager.add(null, uri, mime, receiver); in handleEnqueue() [all …]
|
/frameworks/base/media/java/android/media/ |
D | RemoteController.java | 68 private MediaSessionManager mSessionManager; field in RemoteController 125 mSessionManager = (MediaSessionManager) context in RemoteController() 539 mSessionManager.addOnActiveSessionsChangedListener(mSessionListener, listenerComponent, in startListeningToSessions() 541 mSessionListener.onActiveSessionsChanged(mSessionManager in startListeningToSessions() 553 mSessionManager.removeOnActiveSessionsChangedListener(mSessionListener); in stopListeningToSessions()
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionLegacyHelper.java | 55 private MediaSessionManager mSessionManager; field in MediaSessionLegacyHelper 64 mSessionManager = (MediaSessionManager) context in MediaSessionLegacyHelper() 173 mSessionManager.dispatchMediaKeyEvent(keyEvent, needWakeLock); in sendMediaButtonEvent() 184 mSessionManager.dispatchVolumeKeyEvent(keyEvent, stream, musicOnly); in sendVolumeKeyEvent() 188 mSessionManager.dispatchAdjustVolume(suggestedStream, delta, flags); in sendAdjustVolumeBy() 195 return mSessionManager.isGlobalPriorityActive(); in isGlobalPriorityActive()
|