Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioManager.java2384 public void registerMediaButtonEventReceiver(ComponentName eventReceiver) { in registerMediaButtonEventReceiver() argument
2385 if (eventReceiver == null) { in registerMediaButtonEventReceiver()
2388 if (!eventReceiver.getPackageName().equals(mContext.getPackageName())) { in registerMediaButtonEventReceiver()
2396 mediaButtonIntent.setComponent(eventReceiver); in registerMediaButtonEventReceiver()
2399 registerMediaButtonIntent(pi, eventReceiver); in registerMediaButtonEventReceiver()
2415 public void registerMediaButtonEventReceiver(PendingIntent eventReceiver) { in registerMediaButtonEventReceiver() argument
2416 if (eventReceiver == null) { in registerMediaButtonEventReceiver()
2419 registerMediaButtonIntent(eventReceiver, null); in registerMediaButtonEventReceiver()
2426 public void registerMediaButtonIntent(PendingIntent pi, ComponentName eventReceiver) { in registerMediaButtonIntent() argument
2432 helper.addMediaButtonListener(pi, eventReceiver, mContext); in registerMediaButtonIntent()
[all …]
DPlayerRecord.java219 protected PlayerRecord(PendingIntent mediaIntent, ComponentName eventReceiver, IBinder token) in PlayerRecord() argument
222 mReceiverComponent = eventReceiver; in PlayerRecord()
DMediaFocusControl.java1400 protected void registerMediaButtonIntent(PendingIntent mediaIntent, ComponentName eventReceiver, in registerMediaButtonIntent() argument
1405 if (pushMediaButtonReceiver_syncPrs(mediaIntent, eventReceiver, token)) { in registerMediaButtonIntent()
/frameworks/native/services/surfaceflinger/
DMessageQueue.cpp179 return queue->eventReceiver(fd, events); in cb_eventReceiver()
182 int MessageQueue::eventReceiver(int /*fd*/, int /*events*/) { in eventReceiver() function in android::MessageQueue
DMessageQueue.h90 int eventReceiver(int fd, int events);