Home
last modified time | relevance | path

Searched refs:requestResult (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/media/java/android/media/audiopolicy/
DIAudioPolicyCallback.aidl26 void notifyAudioFocusGrant(in AudioFocusInfo afi, int requestResult); in notifyAudioFocusGrant() argument
29 void notifyAudioFocusRequest(in AudioFocusInfo afi, int requestResult); in notifyAudioFocusRequest() argument
DAudioPolicy.java750 public void onAudioFocusGrant(AudioFocusInfo afi, int requestResult) {} in onAudioFocusGrant() argument
761 public void onAudioFocusRequest(AudioFocusInfo afi, int requestResult) {} in onAudioFocusRequest() argument
806 public void notifyAudioFocusGrant(AudioFocusInfo afi, int requestResult) {
807 sendMsg(MSG_FOCUS_GRANT, afi, requestResult);
810 + afi.getClientId() + "reqRes=" + requestResult);
822 public void notifyAudioFocusRequest(AudioFocusInfo afi, int requestResult) {
823 sendMsg(MSG_FOCUS_REQUEST, afi, requestResult);
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java542 void notifyExtPolicyFocusGrant_syncAf(AudioFocusInfo afi, int requestResult) { in notifyExtPolicyFocusGrant_syncAf() argument
546 pcb.notifyAudioFocusGrant(afi, requestResult); in notifyExtPolicyFocusGrant_syncAf()
622 void setFocusRequestResultFromExtPolicy(AudioFocusInfo afi, int requestResult) { in setFocusRequestResultFromExtPolicy() argument
629 if (requestResult == AudioManager.AUDIOFOCUS_REQUEST_FAILED) { in setFocusRequestResultFromExtPolicy()
635 fr.dispatchFocusResultFromExtPolicy(requestResult); in setFocusRequestResultFromExtPolicy()
874 final int requestResult = pushBelowLockedFocusOwners(nfr); in requestAudioFocus() local
875 if (requestResult != AudioManager.AUDIOFOCUS_REQUEST_FAILED) { in requestAudioFocus()
876 notifyExtPolicyFocusGrant_syncAf(nfr.toAudioFocusInfo(), requestResult); in requestAudioFocus() local
878 return requestResult; in requestAudioFocus()
DFocusRequester.java469 void dispatchFocusResultFromExtPolicy(int requestResult) { in dispatchFocusResultFromExtPolicy() argument
478 Log.v(TAG, "dispatching result" + requestResult + " to " + mClientId); in dispatchFocusResultFromExtPolicy()
481 fd.dispatchFocusResultFromExtPolicy(requestResult, mClientId); in dispatchFocusResultFromExtPolicy()
DAudioService.java7664 public void setFocusRequestResultFromExtPolicy(AudioFocusInfo afi, int requestResult, in setFocusRequestResultFromExtPolicy() argument
7676 mMediaFocusControl.setFocusRequestResultFromExtPolicy(afi, requestResult); in setFocusRequestResultFromExtPolicy()
/frameworks/base/media/java/android/media/
DIAudioFocusDispatcher.aidl29 void dispatchFocusResultFromExtPolicy(int requestResult, String clientId); in dispatchFocusResultFromExtPolicy() argument
DAudioManager.java2576 public void dispatchFocusResultFromExtPolicy(int requestResult, String clientId) {
2582 focusReceiver.notifyResult(requestResult);
2974 return focusReceiver.requestResult(); in requestAudioFocus()
3013 int requestResult() { return mFocusRequestResult; } in requestResult() method in AudioManager.BlockingFocusResultReceiver
3015 void notifyResult(int requestResult) { in notifyResult() argument
3018 mFocusRequestResult = requestResult; in notifyResult()
3091 @FocusRequestResult int requestResult, @NonNull AudioPolicy ap) { in setFocusRequestResult() argument
3100 service.setFocusRequestResultFromExtPolicy(afi, requestResult, ap.cb()); in setFocusRequestResult()
DIAudioService.aidl250 oneway void setFocusRequestResultFromExtPolicy(in AudioFocusInfo afi, int requestResult, in setFocusRequestResultFromExtPolicy() argument
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt34305 Landroid/media/AudioManager$BlockingFocusResultReceiver;->requestResult()I