Home
last modified time | relevance | path

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

/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DFadeManagerConfigurationUnitTest.java603 final List<Integer> unfadeableContentTypes = List.of( in testSetUnfadeableContentTypes() local
608 .setUnfadeableContentTypes(unfadeableContentTypes).build(); in testSetUnfadeableContentTypes()
611 .that(fmc.getUnfadeableContentTypes()).isEqualTo(unfadeableContentTypes); in testSetUnfadeableContentTypes()
644 final List<Integer> unfadeableContentTypes = List.of( in testSetUnfadeableContentTypes_withEmptyList_clearsExistingList() local
649 .setUnfadeableContentTypes(unfadeableContentTypes).build(); in testSetUnfadeableContentTypes_withEmptyList_clearsExistingList()
684 final List<Integer> unfadeableContentTypes = List.of( in testAddunfadeableContentTypes_withInvalidContentType_fails() local
689 .setUnfadeableContentTypes(unfadeableContentTypes); in testAddunfadeableContentTypes_withInvalidContentType_fails()
701 List<Integer> unfadeableContentTypes = new ArrayList<>(Arrays.asList( in testClearUnfadeableContentTypes() local
708 .setUnfadeableContentTypes(unfadeableContentTypes) in testClearUnfadeableContentTypes()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DFadeConfigurationsTest.java245 List<Integer> unfadeableContentTypes, List<Integer> unfadeableUids, in createFadeMgrConfig() argument
251 if (unfadeableContentTypes != null) { in createFadeMgrConfig()
252 builder.setUnfadeableContentTypes(unfadeableContentTypes); in createFadeMgrConfig()
/frameworks/base/media/java/android/media/
DFadeManagerConfiguration.java178 @NonNull IntArray fadeableUsages, @NonNull IntArray unfadeableContentTypes, in FadeManagerConfiguration() argument
191 mUnfadeableContentTypes = Objects.requireNonNull(unfadeableContentTypes, in FadeManagerConfiguration()
638 int[] unfadeableContentTypes = in.createIntArray(); in FadeManagerConfiguration() local
651 this.mUnfadeableContentTypes = IntArray.wrap(unfadeableContentTypes); in FadeManagerConfiguration()