Home
last modified time | relevance | path

Searched refs:isFadeable (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DFadeConfigurationsTest.java162 .that(mFadeConfigurations.isFadeable(TEST_MEDIA_AUDIO_ATTRIBUTE, TEST_UID_SYSTEM, in testIsFadeable_forDefaultConstr_forFadableAttributes_returnsTrue()
165 .that(mFadeConfigurations.isFadeable(TEST_GAME_AUDIO_ATTRIBUTE, TEST_UID_USER, in testIsFadeable_forDefaultConstr_forFadableAttributes_returnsTrue()
172 .that(mFadeConfigurations.isFadeable(TEST_SPEECH_AUDIO_ATTRIBUTE, TEST_UID_SYSTEM, in testIsFadeable_forDefaultConstr_forUnfadableAttributes_returnsFalse()
175 .that(mFadeConfigurations.isFadeable(TEST_GAME_AUDIO_ATTRIBUTE, TEST_UID_USER, in testIsFadeable_forDefaultConstr_forUnfadableAttributes_returnsFalse()
/frameworks/base/services/core/java/com/android/server/audio/
DFadeConfigurations.java309 if (!isFadeable(aa, INVALID_UID, AudioPlaybackConfiguration.PLAYER_TYPE_UNKNOWN)) { in getFadeOutDuration()
384 public boolean isFadeable(@NonNull AudioAttributes aa, int uid, in isFadeable() method in FadeConfigurations
DFadeOutManager.java165 return mFadeConfigurations.isFadeable(apc.getAudioAttributes(), apc.getClientUid(), in canBeFadedOut()