Searched refs:MediaSessionLegacyHelper (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionLegacyHelper.java | 47 public class MediaSessionLegacyHelper { class 52 private static MediaSessionLegacyHelper sInstance; 62 private MediaSessionLegacyHelper(Context context) { in MediaSessionLegacyHelper() method in MediaSessionLegacyHelper 68 public static MediaSessionLegacyHelper getHelper(Context context) { in getHelper() 71 sInstance = new MediaSessionLegacyHelper(context.getApplicationContext()); in getHelper() 396 MediaSessionLegacyHelper.sendKeyEvent(mPendingIntent, mContext, mediaButtonIntent); in onMediaButtonEvent() 441 MediaSessionLegacyHelper.sendKeyEvent(mPendingIntent, mContext, intent); in sendKeyEvent() 445 MediaSessionLegacyHelper.sendKeyEvent(mPendingIntent, mContext, intent); in sendKeyEvent()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneFallbackEventHandler.java | 26 import android.media.session.MediaSessionLegacyHelper; 87 MediaSessionLegacyHelper.getHelper(mContext).sendVolumeKeyEvent(event, false); in onKeyDown() 217 MediaSessionLegacyHelper.getHelper(mContext).sendVolumeKeyEvent(event, false); in onKeyUp() 311 MediaSessionLegacyHelper.getHelper(mContext).sendMediaButtonEvent(keyEvent, false); in handleMediaKeyEvent()
|
D | PhoneWindow.java | 92 import android.media.session.MediaSessionLegacyHelper; 1798 MediaSessionLegacyHelper.getHelper(getContext()).sendAdjustVolumeBy( in onKeyDown() 1886 MediaSessionLegacyHelper.getHelper(getContext()).sendAdjustVolumeBy( in onKeyUp()
|
/frameworks/base/media/java/android/media/ |
D | AudioManager.java | 32 import android.media.session.MediaSessionLegacyHelper; 689 MediaSessionLegacyHelper helper = MediaSessionLegacyHelper.getHelper(getContext()); in dispatchMediaKeyEvent() 735 MediaSessionLegacyHelper.getHelper(getContext()) in handleKeyDown() 763 MediaSessionLegacyHelper.getHelper(getContext()) in handleKeyUp() 839 MediaSessionLegacyHelper helper = MediaSessionLegacyHelper.getHelper(getContext()); in adjustVolume() 868 MediaSessionLegacyHelper helper = MediaSessionLegacyHelper.getHelper(getContext()); in adjustSuggestedStreamVolume() 2540 MediaSessionLegacyHelper helper = MediaSessionLegacyHelper.getHelper(getContext()); in registerMediaButtonIntent() 2582 MediaSessionLegacyHelper helper = MediaSessionLegacyHelper.getHelper(getContext()); in unregisterMediaButtonIntent() 2599 rcClient.registerWithSession(MediaSessionLegacyHelper.getHelper(getContext())); in registerRemoteControlClient() 2614 rcClient.unregisterWithSession(MediaSessionLegacyHelper.getHelper(getContext())); in unregisterRemoteControlClient()
|
D | RemoteControlClient.java | 23 import android.media.session.MediaSessionLegacyHelper; 388 public void registerWithSession(MediaSessionLegacyHelper helper) { in registerWithSession() 397 public void unregisterWithSession(MediaSessionLegacyHelper helper) { in unregisterWithSession()
|
D | RemoteController.java | 28 import android.media.session.MediaSessionLegacyHelper; 1045 Bundle legacyMetadata = MediaSessionLegacyHelper.getOldMetadata(metadata, in onNewMediaMetadata()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowView.java | 27 import android.media.session.MediaSessionLegacyHelper; 187 MediaSessionLegacyHelper.getHelper(mContext).sendVolumeKeyEvent(event, true); in dispatchKeyEvent()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 56 import android.media.session.MediaSessionLegacyHelper; 4991 MediaSessionLegacyHelper.getHelper(mContext) in interceptKeyBeforeQueueing() 5004 MediaSessionLegacyHelper.getHelper(mContext) in interceptKeyBeforeQueueing() 5093 if (MediaSessionLegacyHelper.getHelper(mContext).isGlobalPriorityActive()) { in interceptKeyBeforeQueueing() 5342 MediaSessionLegacyHelper.getHelper(mContext).sendMediaButtonEvent(event, true); in dispatchMediaKeyWithWakeLockToAudioService()
|