Searched refs:afi (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioPolicy.java | 403 public void onAudioFocusGrant(AudioFocusInfo afi, int requestResult) {} in onAudioFocusGrant() argument 404 public void onAudioFocusLoss(AudioFocusInfo afi, boolean wasNotified) {} in onAudioFocusLoss() argument 426 public void notifyAudioFocusGrant(AudioFocusInfo afi, int requestResult) { 427 sendMsg(MSG_FOCUS_GRANT, afi, requestResult); 429 Log.v(TAG, "notifyAudioFocusGrant: pack=" + afi.getPackageName() + " client=" 430 + afi.getClientId() + "reqRes=" + requestResult); 434 public void notifyAudioFocusLoss(AudioFocusInfo afi, boolean wasNotified) { 435 sendMsg(MSG_FOCUS_LOSS, afi, wasNotified ? 1 : 0); 437 Log.v(TAG, "notifyAudioFocusLoss: pack=" + afi.getPackageName() + " client=" 438 + afi.getClientId() + "wasNotified=" + wasNotified);
|
D | IAudioPolicyCallback.aidl | 26 void notifyAudioFocusGrant(in AudioFocusInfo afi, int requestResult); in notifyAudioFocusGrant() argument 27 void notifyAudioFocusLoss(in AudioFocusInfo afi, boolean wasNotified); in notifyAudioFocusLoss() argument
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | MediaFocusControl.java | 143 final AudioFocusInfo afi = fr.toAudioFocusInfo(); in removeFocusStackEntry() local 144 afi.clearLossReceived(); in removeFocusStackEntry() 145 notifyExtPolicyFocusLoss_syncAf(afi, false); in removeFocusStackEntry() 350 void notifyExtPolicyFocusGrant_syncAf(AudioFocusInfo afi, int requestResult) { in notifyExtPolicyFocusGrant_syncAf() argument 354 pcb.notifyAudioFocusGrant(afi, requestResult); in notifyExtPolicyFocusGrant_syncAf() 365 void notifyExtPolicyFocusLoss_syncAf(AudioFocusInfo afi, boolean wasDispatched) { in notifyExtPolicyFocusLoss_syncAf() argument 369 pcb.notifyAudioFocusLoss(afi, wasDispatched); in notifyExtPolicyFocusLoss_syncAf()
|