Searched refs:mSessionManager (Results 1 – 6 of 6) sorted by relevance
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
D | SampleMediaRouterActivity.java | 106 private final SessionManager mSessionManager = new SessionManager("app"); field in SampleMediaRouterActivity 133 mSessionManager.setPlayer(mPlayer); 134 mSessionManager.unsuspend(); 146 long pos = item.getPosition() + (mSessionManager.isPaused() ? 148 mSessionManager.suspend(pos); 303 if (mSessionManager.isPaused()) { in onCreate() 304 mSessionManager.resume(); in onCreate() 306 mSessionManager.pause(); in onCreate() 315 mSessionManager.stop(); in onCreate() 326 mSessionManager.seek(item.getItemId(), pos); in onCreate() [all …]
|
D | SampleMediaRouteProvider.java | 231 private final SessionManager mSessionManager = new SessionManager("mrp"); field in SampleMediaRouteProvider.SampleRouteController 238 mSessionManager.setPlayer(mPlayer); in SampleRouteController() 239 mSessionManager.setCallback(new SessionManager.Callback() { in SampleRouteController() 316 Log.d(TAG, mSessionManager.toString()); in onControlRequest() 322 if (mSessionManager.getCurrentItem() != null) { in onControlRequest() 347 if (sid != null && !sid.equals(mSessionManager.getSessionId())) { in handlePlay() 351 if (mSessionManager.hasSession()) { in handlePlay() 352 mSessionManager.stop(); in handlePlay() 359 if (sid != null && !sid.equals(mSessionManager.getSessionId())) { in handleEnqueue() 386 PlaylistItem item = mSessionManager.add(null, uri, mime, receiver); in handleEnqueue() [all …]
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | BordeauxService.java | 66 BordeauxSessionManager mSessionManager; field in BordeauxService 76 mSessionManager = new BordeauxSessionManager(this); in onCreate() 95 mSessionManager.saveSessions(); in onDestroy() 128 mSessionManager.getSessionKey(uidname, learnerClass, name); 131 IBinder iLearner = mSessionManager.getSessionBinder(learnerClass, key);
|
/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() 218 mSessionManager.dispatchAdjustVolume(AudioManager.USE_DEFAULT_STREAM_TYPE, in sendVolumeKeyEvent() 222 mSessionManager.dispatchAdjustVolume(AudioManager.USE_DEFAULT_STREAM_TYPE, in sendVolumeKeyEvent() 230 mSessionManager.dispatchAdjustVolume(suggestedStream, delta, flags); in sendAdjustVolumeBy() 237 return mSessionManager.isGlobalPriorityActive(); in isGlobalPriorityActive()
|
/frameworks/base/docs/html/guide/topics/media/ |
D | mediarouteprovider.jd | 441 Log.d(TAG, mSessionManager.toString());
|