Home
last modified time | relevance | path

Searched refs:AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioFocusRequest.java308 return (mFlags & AudioManager.AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS) in willPauseWhenDucked()
309 == AudioManager.AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS; in willPauseWhenDucked()
578 | (mPausesOnDuck ? AudioManager.AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS : 0) in build()
DAudioManager.java4500 public static final int AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS = 0x1 << 1; field in AudioManager
4519 | AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS;
4522 | AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS | AUDIOFOCUS_FLAG_LOCK;
4654 if (((flags & AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS) in requestAudioFocus()
4655 == AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS) && (l == null)) { in requestAudioFocus()
4669 .setWillPauseWhenDucked((flags & AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS) in requestAudioFocus()
4670 == AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS) in requestAudioFocus()
/frameworks/base/services/core/java/com/android/server/audio/
DFocusRequester.java244 if ((flags & AudioManager.AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS) != 0) { in flagsToString()
401 & AudioManager.AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS) == 0) { in handleFocusLoss()
470 & AudioManager.AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS) != 0)) { in frameworkHandleFocusLoss()
DFadeOutManager.java149 if ((loser.getGrantFlags() & AudioManager.AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS) != 0) { in canCauseFadeOut()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DFadeOutManagerTest.java84 AudioManager.AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS); in testCanCauseFadeOut_forFaders_returnsTrue()
109 AudioManager.AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS); in testCanCauseFadeOut_forUnfaderFlag_returnsFalse()
/frameworks/base/core/api/
Dsystem-current.txt7088 field public static final int AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS = 2; // 0x2