Home
last modified time | relevance | path

Searched refs:keyIntent (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java922 Intent keyIntent = new Intent(Intent.ACTION_MEDIA_BUTTON, null); in dispatchMediaKeyEventForCalls() local
923 keyIntent.putExtra(Intent.EXTRA_KEY_EVENT, keyEvent); in dispatchMediaKeyEventForCalls()
924 keyIntent.setPackage(mMediaReceiverForCalls.getPackageName()); in dispatchMediaKeyEventForCalls()
927 keyIntent.putExtra(EXTRA_WAKELOCK_ACQUIRED, WAKELOCK_RELEASE_ON_FINISHED); in dispatchMediaKeyEventForCalls()
931 mContext.sendOrderedBroadcastAsUser(keyIntent, UserHandle.ALL, in dispatchMediaKeyEventForCalls()
949 Intent keyIntent = new Intent(Intent.ACTION_MEDIA_BUTTON, null); in dispatchMediaKeyEvent() local
950 keyIntent.putExtra(Intent.EXTRA_KEY_EVENT, keyEvent); in dispatchMediaKeyEvent()
957 keyIntent, this, mEventHandler); in dispatchMediaKeyEvent()
966 keyIntent.putExtra(EXTRA_WAKELOCK_ACQUIRED, WAKELOCK_RELEASE_ON_FINISHED); in dispatchMediaKeyEvent()
970 mContext.sendOrderedBroadcastAsUser(keyIntent, UserHandle.ALL, in dispatchMediaKeyEvent()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java985 Intent keyIntent = new Intent(Intent.ACTION_MEDIA_BUTTON, null); in dispatchMediaKeyEventLocked() local
986 keyIntent.putExtra(Intent.EXTRA_KEY_EVENT, keyEvent); in dispatchMediaKeyEventLocked()
988 keyIntent.putExtra(EXTRA_WAKELOCK_ACQUIRED, in dispatchMediaKeyEventLocked()
991 getContext().sendOrderedBroadcastAsUser(keyIntent, UserHandle.CURRENT, in dispatchMediaKeyEventLocked()