Searched refs:eventReceiver (Results 1 – 3 of 3) sorted by relevance
146 return queue->eventReceiver(fd, events); in cb_eventReceiver()149 int MessageQueue::eventReceiver(int /*fd*/, int /*events*/) { in eventReceiver() function in android::MessageQueue
90 int eventReceiver(int fd, int events);
2647 public void registerMediaButtonEventReceiver(ComponentName eventReceiver) { in registerMediaButtonEventReceiver() argument2648 if (eventReceiver == null) { in registerMediaButtonEventReceiver()2651 if (!eventReceiver.getPackageName().equals(getContext().getPackageName())) { in registerMediaButtonEventReceiver()2659 mediaButtonIntent.setComponent(eventReceiver); in registerMediaButtonEventReceiver()2662 registerMediaButtonIntent(pi, eventReceiver); in registerMediaButtonEventReceiver()2678 public void registerMediaButtonEventReceiver(PendingIntent eventReceiver) { in registerMediaButtonEventReceiver() argument2679 if (eventReceiver == null) { in registerMediaButtonEventReceiver()2682 registerMediaButtonIntent(eventReceiver, null); in registerMediaButtonEventReceiver()2689 public void registerMediaButtonIntent(PendingIntent pi, ComponentName eventReceiver) { in registerMediaButtonIntent() argument2695 helper.addMediaButtonListener(pi, eventReceiver, getContext()); in registerMediaButtonIntent()[all …]