Home
last modified time | relevance | path

Searched refs:MediaSessionLegacyHelper (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/media/java/android/media/session/
DMediaSessionLegacyHelper.java48 public class MediaSessionLegacyHelper { class
53 private static MediaSessionLegacyHelper sInstance;
63 private MediaSessionLegacyHelper(Context context) { in MediaSessionLegacyHelper() method in MediaSessionLegacyHelper
70 public static MediaSessionLegacyHelper getHelper(Context context) { in getHelper()
73 sInstance = new MediaSessionLegacyHelper(context.getApplicationContext()); in getHelper()
356 MediaSessionLegacyHelper.sendKeyEvent(mPendingIntent, mContext, mediaButtonIntent); in onMediaButtonEvent()
401 MediaSessionLegacyHelper.sendKeyEvent(mPendingIntent, mContext, intent); in sendKeyEvent()
405 MediaSessionLegacyHelper.sendKeyEvent(mPendingIntent, mContext, intent); in sendKeyEvent()
/frameworks/base/media/java/android/media/
DRemoteControlClient.java25 import android.media.session.MediaSessionLegacyHelper;
373 public void registerWithSession(MediaSessionLegacyHelper helper) { in registerWithSession()
382 public void unregisterWithSession(MediaSessionLegacyHelper helper) { in unregisterWithSession()
DAudioManager.java47 import android.media.session.MediaSessionLegacyHelper;
774 MediaSessionLegacyHelper helper = MediaSessionLegacyHelper.getHelper(getContext()); in dispatchMediaKeyEvent()
876 MediaSessionLegacyHelper helper = MediaSessionLegacyHelper.getHelper(getContext()); in adjustVolume()
905 MediaSessionLegacyHelper helper = MediaSessionLegacyHelper.getHelper(getContext()); in adjustSuggestedStreamVolume()
3224 MediaSessionLegacyHelper helper = MediaSessionLegacyHelper.getHelper(getContext()); in registerMediaButtonIntent()
3266 MediaSessionLegacyHelper helper = MediaSessionLegacyHelper.getHelper(getContext()); in unregisterMediaButtonIntent()
3283 rcClient.registerWithSession(MediaSessionLegacyHelper.getHelper(getContext())); in registerRemoteControlClient()
3298 rcClient.unregisterWithSession(MediaSessionLegacyHelper.getHelper(getContext())); in unregisterRemoteControlClient()
DRemoteController.java26 import android.media.session.MediaSessionLegacyHelper;
663 Bundle legacyMetadata = MediaSessionLegacyHelper.getOldMetadata(metadata, in onNewMediaMetadata()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowView.java34 import android.media.session.MediaSessionLegacyHelper;
332 MediaSessionLegacyHelper.getHelper(mContext).sendVolumeKeyEvent( in dispatchKeyEvent()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java141 import android.media.session.MediaSessionLegacyHelper;
3837 MediaSessionLegacyHelper.getHelper(mContext).sendVolumeKeyEvent( in interceptKeyBeforeQueueing()
3850 MediaSessionLegacyHelper.getHelper(mContext).sendVolumeKeyEvent( in interceptKeyBeforeQueueing()
3962 if (MediaSessionLegacyHelper.getHelper(mContext).isGlobalPriorityActive()) { in interceptKeyBeforeQueueing()
4352 MediaSessionLegacyHelper.getHelper(mContext).sendMediaButtonEvent(event, true); in dispatchMediaKeyWithWakeLockToAudioService()