Searched refs:eventReceiver (Results 1 – 4 of 4) sorted by relevance
147 return queue->eventReceiver(fd, events); in cb_eventReceiver()150 int MessageQueue::eventReceiver(int /*fd*/, int /*events*/) { in eventReceiver() function in android::MessageQueue
89 int eventReceiver(int fd, int events);
2516 public void registerMediaButtonEventReceiver(ComponentName eventReceiver) { in registerMediaButtonEventReceiver() argument2517 if (eventReceiver == null) { in registerMediaButtonEventReceiver()2520 if (!eventReceiver.getPackageName().equals(getContext().getPackageName())) { in registerMediaButtonEventReceiver()2528 mediaButtonIntent.setComponent(eventReceiver); in registerMediaButtonEventReceiver()2531 registerMediaButtonIntent(pi, eventReceiver); in registerMediaButtonEventReceiver()2547 public void registerMediaButtonEventReceiver(PendingIntent eventReceiver) { in registerMediaButtonEventReceiver() argument2548 if (eventReceiver == null) { in registerMediaButtonEventReceiver()2551 registerMediaButtonIntent(eventReceiver, null); in registerMediaButtonEventReceiver()2558 public void registerMediaButtonIntent(PendingIntent pi, ComponentName eventReceiver) { in registerMediaButtonIntent() argument2564 helper.addMediaButtonListener(pi, eventReceiver, getContext()); in registerMediaButtonIntent()[all …]
585 ComponentName eventReceiver = ComponentName.unflattenFromString(receiverName); in restoreMediaButtonReceiver() local586 if (eventReceiver == null) { in restoreMediaButtonReceiver()590 mRestoredMediaButtonReceiver = eventReceiver; in restoreMediaButtonReceiver()