Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/media/
DMediaButtonReceiverHolder.java188 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON); in send() local
189 mediaButtonIntent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND); in send()
190 mediaButtonIntent.putExtra(Intent.EXTRA_KEY_EVENT, keyEvent); in send()
192 mediaButtonIntent.putExtra(Intent.EXTRA_PACKAGE_NAME, callingPackageName); in send()
206 context, resultCode, mediaButtonIntent, onFinishedListener, handler, in send()
217 mediaButtonIntent.setComponent(mComponentName); in send()
222 context.startActivityAsUser(mediaButtonIntent, userHandle); in send()
226 mediaButtonIntent); in send()
230 context.sendBroadcastAsUser(mediaButtonIntent, userHandle, in send()
DMediaSessionRecord.java1344 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON);
1345 mediaButtonIntent.putExtra(Intent.EXTRA_KEY_EVENT, keyEvent);
1346 return mediaButtonIntent;
/frameworks/base/media/java/android/media/session/
DMediaSession.java749 void dispatchMediaButton(RemoteUserInfo caller, Intent mediaButtonIntent) { in dispatchMediaButton() argument
750 postToCallback(caller, CallbackMessageHandler.MSG_MEDIA_BUTTON, mediaButtonIntent, null); in dispatchMediaButton()
753 void dispatchMediaButtonDelayed(RemoteUserInfo info, Intent mediaButtonIntent, in dispatchMediaButtonDelayed() argument
756 mediaButtonIntent, null, delay); in dispatchMediaButtonDelayed()
916 public boolean onMediaButtonEvent(@NonNull Intent mediaButtonIntent) { in onMediaButtonEvent() argument
918 && Intent.ACTION_MEDIA_BUTTON.equals(mediaButtonIntent.getAction())) { in onMediaButtonEvent()
919 KeyEvent ke = mediaButtonIntent.getParcelableExtra(Intent.EXTRA_KEY_EVENT); in onMediaButtonEvent()
941 mediaButtonIntent, ViewConfiguration.getDoubleTapTimeout()); in onMediaButtonEvent() local
1206 public void onMediaButton(String packageName, int pid, int uid, Intent mediaButtonIntent, in onMediaButton() argument
1212 mediaButtonIntent); in onMediaButton() local
[all …]
DISessionCallback.aidl30 void onMediaButton(String packageName, int pid, int uid, in Intent mediaButtonIntent, in onMediaButton() argument
33 in Intent mediaButtonIntent); in onMediaButtonFromController() argument
DMediaSessionLegacyHelper.java354 public boolean onMediaButtonEvent(Intent mediaButtonIntent) { in onMediaButtonEvent() argument
355 MediaSessionLegacyHelper.sendKeyEvent(mPendingIntent, mContext, mediaButtonIntent); in onMediaButtonEvent()
442 public boolean onMediaButtonEvent(Intent mediaButtonIntent) { in onMediaButtonEvent() argument
444 mMediaButtonListener.onMediaButtonEvent(mediaButtonIntent); in onMediaButtonEvent()
/frameworks/base/media/java/android/media/
DRemoteControlClient.java348 public RemoteControlClient(PendingIntent mediaButtonIntent) { in RemoteControlClient() argument
349 mRcMediaIntent = mediaButtonIntent; in RemoteControlClient()
367 public RemoteControlClient(PendingIntent mediaButtonIntent, Looper looper) { in RemoteControlClient() argument
368 mRcMediaIntent = mediaButtonIntent; in RemoteControlClient()
DAudioManager.java4526 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON); in registerMediaButtonEventReceiver() local
4528 mediaButtonIntent.setComponent(eventReceiver); in registerMediaButtonEventReceiver()
4530 0/*requestCode, ignored*/, mediaButtonIntent, in registerMediaButtonEventReceiver()
4580 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON); in unregisterMediaButtonEventReceiver() local
4582 mediaButtonIntent.setComponent(eventReceiver); in unregisterMediaButtonEventReceiver()
4584 0/*requestCode, ignored*/, mediaButtonIntent, in unregisterMediaButtonEventReceiver()