Home
last modified time | relevance | path

Searched refs:getFadeableUsages (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DFadeManagerConfigurationUnitTest.java133 .that(mFmc.getFadeableUsages()) in build()
167 .that(fmc.getFadeableUsages()) in build_withFadeDurations_succeeds()
204 .that(fmc.getFadeableUsages()) in build_withFadeManagerConfiguration_succeeds()
205 .containsExactlyElementsIn(fmcObj.getFadeableUsages()); in build_withFadeManagerConfiguration_succeeds()
470 .that(fmc.getFadeableUsages()).isEqualTo(fadeableUsages); in testSetFadeableUsages()
519 .that(fmc.getFadeableUsages()).isEqualTo(List.of(AudioAttributes.USAGE_MEDIA)); in testSetFadeableUsages_withEmptyListClears_addsNewUsage()
527 List<Integer> updatedUsages = new ArrayList<>(mFmc.getFadeableUsages()); in testAddFadeableUsage()
538 expect.withMessage("Fadeable usages").that(updatedFmc.getFadeableUsages()) in testAddFadeableUsage()
555 expect.withMessage("Fadeable usages").that(fmc.getFadeableUsages()) in testAddFadeableUsage_withoutSetFadeableUsages()
587 expect.withMessage("Fadeable usages").that(fmc.getFadeableUsages()) in testAddFadeableUsage_withInvalidUsage_fails()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DFadeConfigurationsTest.java108 .that(mFadeConfigurations.getFadeableUsages()).isEqualTo(DEFAULT_FADEABLE_USAGES); in testGetFadeableUsages_forDefaultConstr_equalsDefaultFadeableUsages()
192 .that(fadeConfigs.getFadeableUsages()).isEqualTo(fmc.getFadeableUsages()); in testGetFadeableUsages_withFadeManagerConfigurations_equals()
/frameworks/base/services/core/java/com/android/server/audio/
DFadeConfigurations.java215 public List<Integer> getFadeableUsages() { in getFadeableUsages() method in FadeConfigurations
223 return fadeManagerConfig.isFadeEnabled() ? fadeManagerConfig.getFadeableUsages() in getFadeableUsages()
/frameworks/base/media/java/android/media/
DFadeManagerConfiguration.java216 public List<Integer> getFadeableUsages() { in getFadeableUsages() method in FadeManagerConfiguration
/frameworks/base/core/api/
Dsystem-current.txt7233 method @NonNull public java.util.List<java.lang.Integer> getFadeableUsages();