Home
last modified time | relevance | path

Searched refs:mediaButtonIntent (Results 1 – 10 of 10) sorted by relevance

/frameworks/support/v4/api21/android/support/v4/media/session/
DMediaSessionCompatApi21.java137 public boolean onMediaButtonEvent(Intent mediaButtonIntent); in onMediaButtonEvent() argument
166 public boolean onMediaButtonEvent(Intent mediaButtonIntent) { in onMediaButtonEvent() argument
167 return mCallback.onMediaButtonEvent(mediaButtonIntent) in onMediaButtonEvent()
168 || super.onMediaButtonEvent(mediaButtonIntent); in onMediaButtonEvent()
/frameworks/base/media/java/android/media/
DRemoteControlClient.java350 public RemoteControlClient(PendingIntent mediaButtonIntent) { in RemoteControlClient() argument
351 mRcMediaIntent = mediaButtonIntent; in RemoteControlClient()
379 public RemoteControlClient(PendingIntent mediaButtonIntent, Looper looper) { in RemoteControlClient() argument
380 mRcMediaIntent = mediaButtonIntent; in RemoteControlClient()
DAudioManager.java2503 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON); in registerMediaButtonEventReceiver() local
2505 mediaButtonIntent.setComponent(eventReceiver); in registerMediaButtonEventReceiver()
2507 0/*requestCode, ignored*/, mediaButtonIntent, 0/*flags*/); in registerMediaButtonEventReceiver()
2556 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON); in unregisterMediaButtonEventReceiver() local
2558 mediaButtonIntent.setComponent(eventReceiver); in unregisterMediaButtonEventReceiver()
2560 0/*requestCode, ignored*/, mediaButtonIntent, 0/*flags*/); in unregisterMediaButtonEventReceiver()
/frameworks/base/media/java/android/media/session/
DMediaSession.java571 private void dispatchMediaButton(Intent mediaButtonIntent) { in dispatchMediaButton() argument
572 postToCallback(CallbackMessageHandler.MSG_MEDIA_BUTTON, mediaButtonIntent); in dispatchMediaButton()
728 public boolean onMediaButtonEvent(@NonNull Intent mediaButtonIntent) { in onMediaButtonEvent() argument
730 && Intent.ACTION_MEDIA_BUTTON.equals(mediaButtonIntent.getAction())) { in onMediaButtonEvent()
731 KeyEvent ke = mediaButtonIntent.getParcelableExtra(Intent.EXTRA_KEY_EVENT); in onMediaButtonEvent()
918 public void onMediaButton(Intent mediaButtonIntent, int sequenceNumber, in onMediaButton() argument
923 session.dispatchMediaButton(mediaButtonIntent); in onMediaButton()
DISessionCallback.aidl29 void onMediaButton(in Intent mediaButtonIntent, int sequenceNumber, in ResultReceiver cb); in onMediaButton() argument
DMediaSessionLegacyHelper.java395 public boolean onMediaButtonEvent(Intent mediaButtonIntent) { in onMediaButtonEvent() argument
396 MediaSessionLegacyHelper.sendKeyEvent(mPendingIntent, mContext, mediaButtonIntent); in onMediaButtonEvent()
483 public boolean onMediaButtonEvent(Intent mediaButtonIntent) { in onMediaButtonEvent() argument
485 mMediaButtonListener.onMediaButtonEvent(mediaButtonIntent); in onMediaButtonEvent()
/frameworks/support/v4/java/android/support/v4/media/session/
DMediaSessionCompat.java128 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON); in MediaSessionCompat() local
130 mediaButtonIntent.setComponent(mediaButtonEventReceiver); in MediaSessionCompat()
132 0/* requestCode, ignored */, mediaButtonIntent, 0/* flags */); in MediaSessionCompat()
612 public boolean onMediaButtonEvent(Intent mediaButtonIntent) { in onMediaButtonEvent() argument
613 return Callback.this.onMediaButtonEvent(mediaButtonIntent); in onMediaButtonEvent()
1099 public boolean onMediaButtonEvent(Intent mediaButtonIntent) { in setCallback()
1100 return callback.onMediaButtonEvent(mediaButtonIntent); in setCallback()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java961 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON); in dispatchMediaKeyEventLocked() local
962 mediaButtonIntent.putExtra(Intent.EXTRA_KEY_EVENT, keyEvent); in dispatchMediaKeyEventLocked()
967 mediaButtonIntent, mKeyEventReceiver, null); in dispatchMediaKeyEventLocked()
969 mediaButtonIntent.setComponent(user.mRestoredMediaButtonReceiver); in dispatchMediaKeyEventLocked()
970 getContext().sendBroadcastAsUser(mediaButtonIntent, in dispatchMediaKeyEventLocked()
DMediaSessionRecord.java844 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON); in sendMediaButton() local
845 mediaButtonIntent.putExtra(Intent.EXTRA_KEY_EVENT, keyEvent); in sendMediaButton()
847 mCb.onMediaButton(mediaButtonIntent, sequenceId, cb); in sendMediaButton()
1000 public boolean sendMediaButton(KeyEvent mediaButtonIntent) { in sendMediaButton() argument
1001 return mSessionCb.sendMediaButton(mediaButtonIntent, 0, null); in sendMediaButton()
/frameworks/support/v4/ics/android/support/v4/media/session/
DMediaSessionCompatApi14.java230 public boolean onMediaButtonEvent(Intent mediaButtonIntent); in onMediaButtonEvent() argument