Searched refs:MUSIC_ATTRIBUTES (Results 1 – 9 of 9) sorted by relevance
28 import static com.android.car.audio.CoreAudioRoutingUtils.MUSIC_ATTRIBUTES;118 .when(() -> CoreAudioHelper.getVolumeGroupIdForAudioAttributes(MUSIC_ATTRIBUTES)); in setupMock()120 .when(() -> CoreAudioHelper.getProductStrategyForAudioAttributes(MUSIC_ATTRIBUTES)); in setupMock()123 doReturn(MUSIC_ATTRIBUTES).when(() -> in setupMock()125 when(mMockAudioManager.getMinVolumeIndexForAttributes(MUSIC_ATTRIBUTES)) in setupMock()127 when(mMockAudioManager.getMaxVolumeIndexForAttributes(MUSIC_ATTRIBUTES)) in setupMock()129 when(mMockAudioManager.getVolumeIndexForAttributes(MUSIC_ATTRIBUTES)) in setupMock()315 when(mMockAudioManager.getMinVolumeIndexForAttributes(MUSIC_ATTRIBUTES)) in setMute_whenNotMutable()343 when(mMockAudioManager.getVolumeIndexForAttributes(MUSIC_ATTRIBUTES)).thenReturn(amIndex); in audioManagerIndexSynchronization()363 when(mMockAudioManager.getVolumeIndexForAttributes(MUSIC_ATTRIBUTES)) in audioManagerMuteStateSynchronization()[all …]
24 import static com.android.car.audio.CoreAudioRoutingUtils.MUSIC_ATTRIBUTES;86 .that(CoreAudioHelper.getStrategyForAudioAttributes(MUSIC_ATTRIBUTES)) in getStrategyForAudioAttributes_withValidAttributes_succeeds()107 .that(CoreAudioHelper.getStrategyForAudioAttributesOrDefault(MUSIC_ATTRIBUTES)) in getStrategyForAudioAttributesOrDefault_withValidAttributes_succeeds()129 .that(CoreAudioHelper.getProductStrategyForAudioAttributes(MUSIC_ATTRIBUTES)) in getProductStrategyForAudioAttributes_withValidAttributes_succeeds()219 .isEqualTo(MUSIC_ATTRIBUTES); in selectAttributesForVolumeGroupName_withValidName_succeeds()241 MUSIC_ATTRIBUTES) in getVolumeGroupNameForAudioAttributes_withSupportedAttributes_succeeds()242 .that(CoreAudioHelper.getVolumeGroupNameForAudioAttributes(MUSIC_ATTRIBUTES)) in getVolumeGroupNameForAudioAttributes_withSupportedAttributes_succeeds()264 MUSIC_ATTRIBUTES) in getVolumeGroupIdForAudioAttributes_withSupportedAttributes_succeeds()265 .that(CoreAudioHelper.getVolumeGroupIdForAudioAttributes(MUSIC_ATTRIBUTES)) in getVolumeGroupIdForAudioAttributes_withSupportedAttributes_succeeds()
27 import static com.android.car.audio.CoreAudioRoutingUtils.MUSIC_ATTRIBUTES;68 private static final AudioAttributes MEDIA_AUDIO_ATTRIBUTE = MUSIC_ATTRIBUTES;241 .isEqualTo(MUSIC_ATTRIBUTES); in metadataToAudioAttribute_withMusic_succeeds()
53 public static final AudioAttributes MUSIC_ATTRIBUTES = new AudioAttributes.Builder() field in CoreAudioRoutingUtils297 AudioAttributes[] musicAttributesArray = { MUSIC_ATTRIBUTES, MOVIE_ATTRIBUTES };
153 eq(CoreAudioRoutingUtils.MUSIC_ATTRIBUTES))); in setupMock()181 CoreAudioRoutingUtils.MUSIC_ATTRIBUTES)) in getContextForAudioAttribute_usingCoreRouting()934 CoreAudioRoutingUtils.MUSIC_ATTRIBUTES); in getAudioAttributeWrapperFromAttributes_withMusic_hashCode_succeeds()
5376 when(mAudioManager.getVolumeIndexForAttributes(eq(CoreAudioRoutingUtils.MUSIC_ATTRIBUTES))) in onAudioVolumeGroupChanged_dispatchCallbackEvent()5413 when(mAudioManager.getVolumeIndexForAttributes(eq(CoreAudioRoutingUtils.MUSIC_ATTRIBUTES))) in onAudioVolumeGroupChanged_dispatchCallbackEvent_whenMuted()6695 eq(CoreAudioRoutingUtils.MUSIC_ATTRIBUTES))) in mockCoreAudioRoutingAndVolume()6698 eq(CoreAudioRoutingUtils.MUSIC_ATTRIBUTES))) in mockCoreAudioRoutingAndVolume()6700 when(mAudioManager.getVolumeIndexForAttributes(eq(CoreAudioRoutingUtils.MUSIC_ATTRIBUTES))) in mockCoreAudioRoutingAndVolume()6723 CoreAudioRoutingUtils.MUSIC_ATTRIBUTES)); in mockCoreAudioRoutingAndVolume()6724 doReturn(CoreAudioRoutingUtils.MUSIC_ATTRIBUTES) in mockCoreAudioRoutingAndVolume()
40 static final AudioAttributes MUSIC_ATTRIBUTES = new AudioAttributes.Builder() field in CoreAudioRoutingUtils268 new AudioAttributes[] { MUSIC_ATTRIBUTES }, MUSIC_CONTEXT_NAME, in getCarAudioContextInfos()
2099 CoreAudioRoutingUtils.MUSIC_ATTRIBUTES)); in setupAudioManagerMock()2100 doReturn(CoreAudioRoutingUtils.MUSIC_ATTRIBUTES) in setupAudioManagerMock()
72 static final AudioAttributes[] MUSIC_ATTRIBUTES = new AudioAttributes[] { field in FocusInteraction332 MUSIC_ATTRIBUTES,