Searched refs:fmc (Results 1 – 5 of 5) sorted by relevance
161 FadeManagerConfiguration fmc = new FadeManagerConfiguration in build_withFadeDurations_succeeds() local164 expect.withMessage("Fade state for builder with duration").that(fmc.getFadeState()) in build_withFadeDurations_succeeds()167 .that(fmc.getFadeableUsages()) in build_withFadeDurations_succeeds()170 .that(fmc.getUnfadeableContentTypes()) in build_withFadeDurations_succeeds()173 .that(fmc.getUnfadeablePlayerTypes()) in build_withFadeDurations_succeeds()176 .that(fmc.getUnfadeableUids()).isEmpty(); in build_withFadeDurations_succeeds()178 .that(fmc.getUnfadeableAudioAttributes()).isEmpty(); in build_withFadeDurations_succeeds()180 .that(fmc.getFadeOutVolumeShaperConfigForUsage(AudioAttributes.USAGE_MEDIA)) in build_withFadeDurations_succeeds()183 .that(fmc.getFadeOutDurationForUsage(AudioAttributes.USAGE_GAME)) in build_withFadeDurations_succeeds()186 .that(fmc.getFadeInVolumeShaperConfigForUsage(AudioAttributes.USAGE_MEDIA)) in build_withFadeDurations_succeeds()[all …]
184 FadeManagerConfiguration fmc = createFadeMgrConfig(/* fadeableUsages= */ usageList, in testGetFadeableUsages_withFadeManagerConfigurations_equals() local189 fadeConfigs.setFadeManagerConfiguration(fmc); in testGetFadeableUsages_withFadeManagerConfigurations_equals()192 .that(fadeConfigs.getFadeableUsages()).isEqualTo(fmc.getFadeableUsages()); in testGetFadeableUsages_withFadeManagerConfigurations_equals()200 FadeManagerConfiguration fmc = createFadeMgrConfig(/* fadeableUsages= */ null, in testGetUnfadeableContentTypes_withFadeManagerConfigurations_equals() local205 fadeConfigs.setFadeManagerConfiguration(fmc); in testGetUnfadeableContentTypes_withFadeManagerConfigurations_equals()209 .isEqualTo(fmc.getUnfadeableContentTypes()); in testGetUnfadeableContentTypes_withFadeManagerConfigurations_equals()217 FadeManagerConfiguration fmc = createFadeMgrConfig(/* fadeableUsages= */ null, in testGetUnfadeableAudioAttributes_withFadeManagerConfigurations_equals() local222 fadeConfigs.setFadeManagerConfiguration(fmc); in testGetUnfadeableAudioAttributes_withFadeManagerConfigurations_equals()226 .isEqualTo(fmc.getUnfadeableAudioAttributes()); in testGetUnfadeableAudioAttributes_withFadeManagerConfigurations_equals()233 FadeManagerConfiguration fmc = createFadeMgrConfig(/* fadeableUsages= */ null, in testGetUnfadeableUids_withFadeManagerConfigurations_equals() local[all …]
837 public Builder(@NonNull FadeManagerConfiguration fmc) { in Builder() argument838 mFadeState = fmc.mFadeState; in Builder()839 copyUsageToFadeWrapperMapInternal(fmc.mUsageToFadeWrapperMap); in Builder()841 fmc.mAttrToFadeWrapperMap); in Builder()842 mFadeableUsages = fmc.mFadeableUsages.clone(); in Builder()844 mUnfadeableContentTypes = fmc.mUnfadeableContentTypes.clone(); in Builder()846 mUnfadeablePlayerTypes = fmc.mUnfadeablePlayerTypes.clone(); in Builder()847 mUnfadeableUids = fmc.mUnfadeableUids.clone(); in Builder()848 mUnfadeableAudioAttributes = new ArrayList<>(fmc.mUnfadeableAudioAttributes); in Builder()849 mFadeOutDurationMillis = fmc.mFadeOutDurationMillis; in Builder()[all …]
323 FgsManagerController fmc = new FgsManagerControllerImpl( in testShowUserVisibleJobsOnCreation() local338 fmc.init(); in testShowUserVisibleJobsOnCreation()339 Assert.assertTrue(fmc.getIncludesUserVisibleJobs()); in testShowUserVisibleJobsOnCreation()350 fmc = new FgsManagerControllerImpl( in testShowUserVisibleJobsOnCreation()365 fmc.init(); in testShowUserVisibleJobsOnCreation()366 Assert.assertFalse(fmc.getIncludesUserVisibleJobs()); in testShowUserVisibleJobsOnCreation()
13192 private void validateFadeManagerConfiguration(FadeManagerConfiguration fmc) { in validateFadeManagerConfiguration() argument13194 List<AudioAttributes> attrs = fmc.getAudioAttributesWithVolumeShaperConfigs(); in validateFadeManagerConfiguration()