Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DMessageQueue.cpp147 return queue->eventReceiver(fd, events); in cb_eventReceiver()
150 int MessageQueue::eventReceiver(int /*fd*/, int /*events*/) { in eventReceiver() function in android::MessageQueue
DMessageQueue.h89 int eventReceiver(int fd, int events);
/frameworks/base/media/java/android/media/
DAudioManager.java2516 public void registerMediaButtonEventReceiver(ComponentName eventReceiver) { in registerMediaButtonEventReceiver() argument
2517 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() argument
2548 if (eventReceiver == null) { in registerMediaButtonEventReceiver()
2551 registerMediaButtonIntent(eventReceiver, null); in registerMediaButtonEventReceiver()
2558 public void registerMediaButtonIntent(PendingIntent pi, ComponentName eventReceiver) { in registerMediaButtonIntent() argument
2564 helper.addMediaButtonListener(pi, eventReceiver, getContext()); in registerMediaButtonIntent()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java587 ComponentName eventReceiver = ComponentName.unflattenFromString(receiverName); in restoreMediaButtonReceiver() local
588 if (eventReceiver == null) { in restoreMediaButtonReceiver()
592 mRestoredMediaButtonReceiver = eventReceiver; in restoreMediaButtonReceiver()