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.java194 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON); in send() local
195 mediaButtonIntent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND); in send()
196 mediaButtonIntent.putExtra(Intent.EXTRA_KEY_EVENT, keyEvent); in send()
198 mediaButtonIntent.putExtra(Intent.EXTRA_PACKAGE_NAME, callingPackageName); in send()
212 context, resultCode, mediaButtonIntent, onFinishedListener, handler, in send()
223 mediaButtonIntent.setComponent(mComponentName); in send()
228 context.startActivityAsUser(mediaButtonIntent, userHandle); in send()
232 mediaButtonIntent); in send()
236 context.sendBroadcastAsUser(mediaButtonIntent, userHandle, in send()
DMediaSessionRecord.java1100 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON);
1101 mediaButtonIntent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
1102 mediaButtonIntent.setComponent(componentName);
1109 mediaButtonIntent, PackageManager.ResolveInfoFlags.of(0), userHandle);
1765 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON);
1766 mediaButtonIntent.putExtra(Intent.EXTRA_KEY_EVENT, keyEvent);
1767 return mediaButtonIntent;
/frameworks/base/media/java/android/media/session/
DMediaSession.java760 void dispatchMediaButton(RemoteUserInfo caller, Intent mediaButtonIntent) { in dispatchMediaButton() argument
761 postToCallback(caller, CallbackMessageHandler.MSG_MEDIA_BUTTON, mediaButtonIntent, null); in dispatchMediaButton()
764 void dispatchMediaButtonDelayed(RemoteUserInfo info, Intent mediaButtonIntent, in dispatchMediaButtonDelayed() argument
767 mediaButtonIntent, null, delay); in dispatchMediaButtonDelayed()
927 public boolean onMediaButtonEvent(@NonNull Intent mediaButtonIntent) { in onMediaButtonEvent() argument
929 && Intent.ACTION_MEDIA_BUTTON.equals(mediaButtonIntent.getAction())) { in onMediaButtonEvent()
930 …KeyEvent ke = mediaButtonIntent.getParcelableExtra(Intent.EXTRA_KEY_EVENT, android.view.KeyEvent.c… in onMediaButtonEvent()
952 mediaButtonIntent, ViewConfiguration.getDoubleTapTimeout()); in onMediaButtonEvent() local
1217 public void onMediaButton(String packageName, int pid, int uid, Intent mediaButtonIntent, in onMediaButton() argument
1223 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.java357 public boolean onMediaButtonEvent(Intent mediaButtonIntent) { in onMediaButtonEvent() argument
358 MediaSessionLegacyHelper.sendKeyEvent(mPendingIntent, mContext, mediaButtonIntent); in onMediaButtonEvent()
445 public boolean onMediaButtonEvent(Intent mediaButtonIntent) { in onMediaButtonEvent() argument
447 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.java5266 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON); in registerMediaButtonEventReceiver() local
5268 mediaButtonIntent.setComponent(eventReceiver); in registerMediaButtonEventReceiver()
5270 0/*requestCode, ignored*/, mediaButtonIntent, in registerMediaButtonEventReceiver()
5320 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON); in unregisterMediaButtonEventReceiver() local
5322 mediaButtonIntent.setComponent(eventReceiver); in unregisterMediaButtonEventReceiver()
5324 0/*requestCode, ignored*/, mediaButtonIntent, in unregisterMediaButtonEventReceiver()