Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DMediaControllerTest.java393 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON); in testTransportControlsAndMediaSessionCallback() local
394 mediaButtonIntent.putExtra(Intent.EXTRA_KEY_EVENT, event); in testTransportControlsAndMediaSessionCallback()
395 callback.onMediaButtonEvent(mediaButtonIntent); in testTransportControlsAndMediaSessionCallback()
689 public boolean onMediaButtonEvent(Intent mediaButtonIntent) { in onMediaButtonEvent() argument
693 mKeyEvent = mediaButtonIntent.getParcelableExtra(Intent.EXTRA_KEY_EVENT); in onMediaButtonEvent()
696 return super.onMediaButtonEvent(mediaButtonIntent); in onMediaButtonEvent()
DMediaSessionManagerTest.java459 public boolean onMediaButtonEvent(Intent mediaButtonIntent) { in onMediaButtonEvent() argument
460 KeyEvent event = (KeyEvent) mediaButtonIntent.getParcelableExtra( in onMediaButtonEvent()
DMediaRouterTest.java223 PendingIntent mediaButtonIntent = PendingIntent.getBroadcast( in testUserRouteInfo() local
225 RemoteControlClient rcc = new RemoteControlClient(mediaButtonIntent); in testUserRouteInfo()
DMediaSessionTest.java335 Intent mediaButtonIntent = new Intent(Intent.ACTION_MEDIA_BUTTON).setComponent( in testCallbackOnMediaButtonEvent() local
337 PendingIntent pi = PendingIntent.getBroadcast(getContext(), 0, mediaButtonIntent, 0); in testCallbackOnMediaButtonEvent()