Searched refs:fadeableUsages (Results 1 – 3 of 3) sorted by relevance
244 private static FadeManagerConfiguration createFadeMgrConfig(List<Integer> fadeableUsages, in createFadeMgrConfig() argument248 if (fadeableUsages != null) { in createFadeMgrConfig()249 builder.setFadeableUsages(fadeableUsages); in createFadeMgrConfig()260 if (fadeableUsages != null) { in createFadeMgrConfig()261 for (int index = 0; index < fadeableUsages.size(); index++) { in createFadeMgrConfig()263 createGenericAudioAttributesForUsage(fadeableUsages.get(index)), in createFadeMgrConfig()267 if (fadeableUsages != null) { in createFadeMgrConfig()268 for (int index = 0; index < fadeableUsages.size(); index++) { in createFadeMgrConfig()270 createGenericAudioAttributesForUsage(fadeableUsages.get(index)), in createFadeMgrConfig()
442 final List<Integer> fadeableUsages = List.of( in testSetFadeableUsages() local455 .setFadeableUsages(fadeableUsages) in testSetFadeableUsages()470 .that(fmc.getFadeableUsages()).isEqualTo(fadeableUsages); in testSetFadeableUsages()475 final List<Integer> fadeableUsages = List.of( in testSetFadeableUsages_withInvalidUsage_fails() local482 new FadeManagerConfiguration.Builder().setFadeableUsages(fadeableUsages).build() in testSetFadeableUsages_withInvalidUsage_fails()502 final List<Integer> fadeableUsages = List.of( in testSetFadeableUsages_withEmptyListClears_addsNewUsage() local508 .setFadeableUsages(fadeableUsages); in testSetFadeableUsages_withEmptyListClears_addsNewUsage()
178 @NonNull IntArray fadeableUsages, @NonNull IntArray unfadeableContentTypes, in FadeManagerConfiguration() argument189 mFadeableUsages = Objects.requireNonNull(fadeableUsages, in FadeManagerConfiguration()637 int[] fadeableUsages = in.createIntArray(); in FadeManagerConfiguration() local650 this.mFadeableUsages = IntArray.wrap(fadeableUsages); in FadeManagerConfiguration()