Searched refs:mediaButtonIntent (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/media/java/android/media/session/ |
D | MediaSession.java | 716 void dispatchMediaButton(RemoteUserInfo caller, Intent mediaButtonIntent) { in dispatchMediaButton() argument 717 postToCallback(caller, CallbackMessageHandler.MSG_MEDIA_BUTTON, mediaButtonIntent, null); in dispatchMediaButton() 720 void dispatchMediaButtonDelayed(RemoteUserInfo info, Intent mediaButtonIntent, in dispatchMediaButtonDelayed() argument 723 mediaButtonIntent, null, delay); in dispatchMediaButtonDelayed() 882 public boolean onMediaButtonEvent(@NonNull Intent mediaButtonIntent) { in onMediaButtonEvent() argument 884 && Intent.ACTION_MEDIA_BUTTON.equals(mediaButtonIntent.getAction())) { in onMediaButtonEvent() 885 KeyEvent ke = mediaButtonIntent.getParcelableExtra(Intent.EXTRA_KEY_EVENT); in onMediaButtonEvent() 907 mediaButtonIntent, ViewConfiguration.getDoubleTapTimeout()); in onMediaButtonEvent() local 1172 public void onMediaButton(String packageName, int pid, int uid, Intent mediaButtonIntent, in onMediaButton() argument 1178 mediaButtonIntent); in onMediaButton() local [all …]
|
D | ISessionCallback.aidl | 31 void onMediaButton(String packageName, int pid, int uid, in Intent mediaButtonIntent, in onMediaButton() argument 34 ISessionControllerCallback caller, in Intent mediaButtonIntent); in onMediaButtonFromController() argument
|
D | MediaSessionLegacyHelper.java | 354 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/ |
D | RemoteControlClient.java | 347 public RemoteControlClient(PendingIntent mediaButtonIntent) { in RemoteControlClient() argument 348 mRcMediaIntent = mediaButtonIntent; in RemoteControlClient() 366 public RemoteControlClient(PendingIntent mediaButtonIntent, Looper looper) { in RemoteControlClient() argument 367 mRcMediaIntent = mediaButtonIntent; in RemoteControlClient()
|
D | AudioManager.java | 3218 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON); in registerMediaButtonEventReceiver() local 3220 mediaButtonIntent.setComponent(eventReceiver); in registerMediaButtonEventReceiver() 3222 0/*requestCode, ignored*/, mediaButtonIntent, 0/*flags*/); in registerMediaButtonEventReceiver() 3271 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON); in unregisterMediaButtonEventReceiver() local 3273 mediaButtonIntent.setComponent(eventReceiver); in unregisterMediaButtonEventReceiver() 3275 0/*requestCode, ignored*/, mediaButtonIntent, 0/*flags*/); in unregisterMediaButtonEventReceiver()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 2137 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON); in dispatchMediaKeyEventLocked() local 2138 mediaButtonIntent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND); in dispatchMediaKeyEventLocked() 2139 mediaButtonIntent.putExtra(Intent.EXTRA_KEY_EVENT, keyEvent); in dispatchMediaKeyEventLocked() 2143 mediaButtonIntent.putExtra(Intent.EXTRA_PACKAGE_NAME, callerPackageName); in dispatchMediaKeyEventLocked() 2153 mediaButtonIntent, mKeyEventReceiver, mHandler); in dispatchMediaKeyEventLocked() 2175 mediaButtonIntent.setComponent(receiver); in dispatchMediaKeyEventLocked() 2179 mContext.startActivityAsUser(mediaButtonIntent, userHandle); in dispatchMediaKeyEventLocked() 2182 mContext.startForegroundServiceAsUser(mediaButtonIntent, in dispatchMediaKeyEventLocked() 2187 mContext.sendBroadcastAsUser(mediaButtonIntent, userHandle); in dispatchMediaKeyEventLocked()
|
D | MediaSessionRecord.java | 1230 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON); in createMediaButtonIntent() local 1231 mediaButtonIntent.putExtra(Intent.EXTRA_KEY_EVENT, keyEvent); in createMediaButtonIntent() 1232 return mediaButtonIntent; in createMediaButtonIntent()
|