Searched refs:requestResult (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/media/java/android/media/audiopolicy/ |
D | IAudioPolicyCallback.aidl | 26 void notifyAudioFocusGrant(in AudioFocusInfo afi, int requestResult); in notifyAudioFocusGrant() argument 29 void notifyAudioFocusRequest(in AudioFocusInfo afi, int requestResult); in notifyAudioFocusRequest() argument
|
D | AudioPolicy.java | 436 public void onAudioFocusGrant(AudioFocusInfo afi, int requestResult) {} in onAudioFocusGrant() argument 447 public void onAudioFocusRequest(AudioFocusInfo afi, int requestResult) {} in onAudioFocusRequest() argument 477 public void notifyAudioFocusGrant(AudioFocusInfo afi, int requestResult) { 478 sendMsg(MSG_FOCUS_GRANT, afi, requestResult); 481 + afi.getClientId() + "reqRes=" + requestResult); 493 public void notifyAudioFocusRequest(AudioFocusInfo afi, int requestResult) { 494 sendMsg(MSG_FOCUS_REQUEST, afi, requestResult); 497 + afi.getClientId() + "reqRes=" + requestResult);
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | MediaFocusControl.java | 467 void notifyExtPolicyFocusGrant_syncAf(AudioFocusInfo afi, int requestResult) { in notifyExtPolicyFocusGrant_syncAf() argument 471 pcb.notifyAudioFocusGrant(afi, requestResult); in notifyExtPolicyFocusGrant_syncAf() 500 boolean notifyExtFocusPolicyFocusRequest_syncAf(AudioFocusInfo afi, int requestResult, in notifyExtFocusPolicyFocusRequest_syncAf() argument 517 } else if (requestResult == AudioManager.AUDIOFOCUS_REQUEST_GRANTED in notifyExtFocusPolicyFocusRequest_syncAf() 518 || requestResult == AudioManager.AUDIOFOCUS_REQUEST_DELAYED) { in notifyExtFocusPolicyFocusRequest_syncAf() 526 mFocusPolicy.notifyAudioFocusRequest(afi, requestResult); in notifyExtFocusPolicyFocusRequest_syncAf() 742 final int requestResult = pushBelowLockedFocusOwners(nfr); in requestAudioFocus() local 743 if (requestResult != AudioManager.AUDIOFOCUS_REQUEST_FAILED) { in requestAudioFocus() 744 notifyExtPolicyFocusGrant_syncAf(nfr.toAudioFocusInfo(), requestResult); in requestAudioFocus() local 746 return requestResult; in requestAudioFocus()
|