Home
last modified time | relevance | path

Searched refs:AUDIOFOCUS_REQUEST_GRANTED (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java330 return AudioManager.AUDIOFOCUS_REQUEST_GRANTED; in pushBelowLockedFocusOwners()
453 AudioManager.AUDIOFOCUS_REQUEST_GRANTED); in notifyExtPolicyCurrentFocusAsync()
517 } else if (requestResult == AudioManager.AUDIOFOCUS_REQUEST_GRANTED in notifyExtFocusPolicyFocusRequest_syncAf()
722 AudioManager.AUDIOFOCUS_REQUEST_GRANTED); in requestAudioFocus()
723 return AudioManager.AUDIOFOCUS_REQUEST_GRANTED; in requestAudioFocus()
755 nfr.handleFocusGainFromRequest(AudioManager.AUDIOFOCUS_REQUEST_GRANTED); in requestAudioFocus()
758 AudioManager.AUDIOFOCUS_REQUEST_GRANTED); in requestAudioFocus()
765 return AudioManager.AUDIOFOCUS_REQUEST_GRANTED; in requestAudioFocus()
786 return AudioManager.AUDIOFOCUS_REQUEST_GRANTED; in abandonAudioFocus()
808 return AudioManager.AUDIOFOCUS_REQUEST_GRANTED; in abandonAudioFocus()
DFocusRequester.java317 AudioManager.AUDIOFOCUS_REQUEST_GRANTED); in handleFocusGain()
338 if (focusRequestResult == AudioManager.AUDIOFOCUS_REQUEST_GRANTED) { in handleFocusGainFromRequest()
448 return AudioManager.AUDIOFOCUS_REQUEST_GRANTED; in dispatchFocusChange()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioManagerTest.java149 result == AudioManager.AUDIOFOCUS_REQUEST_GRANTED); in verifyAudioFocusLoss()
154 result == AudioManager.AUDIOFOCUS_REQUEST_GRANTED); in verifyAudioFocusLoss()
219 result == AudioManager.AUDIOFOCUS_REQUEST_GRANTED); in testAudioFocusStressListenerRequestAbandon()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DPlayback.java247 if (result == AudioManager.AUDIOFOCUS_REQUEST_GRANTED) { in tryToGetAudioFocus()
259 if (mAudioManager.abandonAudioFocus(this) == AudioManager.AUDIOFOCUS_REQUEST_GRANTED) { in giveUpAudioFocus()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DLocalRenderer.java479 mHasAudioFocus = result == AudioManager.AUDIOFOCUS_REQUEST_GRANTED; in requestAudioFocus()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DSearchBar.java633 if (result != AudioManager.AUDIOFOCUS_REQUEST_GRANTED) { in startRecognition()
/frameworks/base/media/java/android/media/
DAudioManager.java2224 public static final int AUDIOFOCUS_REQUEST_GRANTED = 1; field in AudioManager
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt14107 field public static final int AUDIOFOCUS_REQUEST_GRANTED = 1; // 0x1
/frameworks/base/api/
Dcurrent.txt21143 field public static final int AUDIOFOCUS_REQUEST_GRANTED = 1; // 0x1
Dsystem-current.txt22964 field public static final int AUDIOFOCUS_REQUEST_GRANTED = 1; // 0x1