Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java1288 private boolean pushMediaButtonReceiver_syncPrs(PendingIntent mediaIntent, in pushMediaButtonReceiver_syncPrs() argument
1291 mPRStack.push(new PlayerRecord(mediaIntent, target, token)); in pushMediaButtonReceiver_syncPrs()
1293 } else if (mPRStack.peek().hasMatchingMediaButtonIntent(mediaIntent)) { in pushMediaButtonReceiver_syncPrs()
1298 mediaIntent.getCreatorPackage()) != AppOpsManager.MODE_ALLOWED) { in pushMediaButtonReceiver_syncPrs()
1314 if (prse.hasMatchingMediaButtonIntent(mediaIntent)) { in pushMediaButtonReceiver_syncPrs()
1321 prse = new PlayerRecord(mediaIntent, target, token); in pushMediaButtonReceiver_syncPrs()
1602 protected void registerMediaButtonIntent(PendingIntent mediaIntent, ComponentName eventReceiver, in registerMediaButtonIntent() argument
1604 Log.i(TAG, " Remote Control registerMediaButtonIntent() for " + mediaIntent); in registerMediaButtonIntent()
1607 if (pushMediaButtonReceiver_syncPrs(mediaIntent, eventReceiver, token)) { in registerMediaButtonIntent()
1618 protected void unregisterMediaButtonIntent(PendingIntent mediaIntent) in unregisterMediaButtonIntent() argument
[all …]
DPlayerRecord.java222 protected PlayerRecord(PendingIntent mediaIntent, ComponentName eventReceiver, IBinder token) in PlayerRecord() argument
224 mMediaIntent = mediaIntent; in PlayerRecord()