Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCoreAudioVolumeGroupTest.java129 when(mMockAudioManager.getVolumeIndexForAttributes(MUSIC_ATTRIBUTES)) in setupMock()
343 when(mMockAudioManager.getVolumeIndexForAttributes(MUSIC_ATTRIBUTES)).thenReturn(amIndex); in audioManagerIndexSynchronization()
363 when(mMockAudioManager.getVolumeIndexForAttributes(MUSIC_ATTRIBUTES)) in audioManagerMuteStateSynchronization()
376 when(mMockAudioManager.getVolumeIndexForAttributes(MUSIC_ATTRIBUTES)) in audioManagerMuteStateSynchronization()
392 when(mMockAudioManager.getVolumeIndexForAttributes(MUSIC_ATTRIBUTES)) in audioManagerMuteStateSynchronization_withIndexChange()
407 when(mMockAudioManager.getVolumeIndexForAttributes(MUSIC_ATTRIBUTES)).thenReturn(amIndex); in audioManagerMuteStateSynchronization_withIndexChange()
426 when(mMockAudioManager.getVolumeIndexForAttributes(MUSIC_ATTRIBUTES)) in audioManagerMuteStateWithVolumeZeroSynchronization()
439 when(mMockAudioManager.getVolumeIndexForAttributes(MUSIC_ATTRIBUTES)) in audioManagerMuteStateWithVolumeZeroSynchronization()
456 when(mMockAudioManager.getVolumeIndexForAttributes(MUSIC_ATTRIBUTES)) in audioManagerMutedAndUnmutedAtVolumeZeroSynchronization()
463 when(mMockAudioManager.getVolumeIndexForAttributes(MUSIC_ATTRIBUTES)) in audioManagerMutedAndUnmutedAtVolumeZeroSynchronization()
[all …]
DAudioManagerWrapperTest.java115 when(mAudioManager.getVolumeIndexForAttributes(mTestAudioAttributes)) in setUp()
146 public void getVolumeIndexForAttributes() { in getVolumeIndexForAttributes() method in AudioManagerWrapperTest
148 .that(mAudioManagerWrapper.getVolumeIndexForAttributes(mTestAudioAttributes)) in getVolumeIndexForAttributes()
DCarAudioServiceUnitTest.java5376 when(mAudioManager.getVolumeIndexForAttributes(eq(CoreAudioRoutingUtils.MUSIC_ATTRIBUTES))) in onAudioVolumeGroupChanged_dispatchCallbackEvent()
5413 when(mAudioManager.getVolumeIndexForAttributes(eq(CoreAudioRoutingUtils.MUSIC_ATTRIBUTES))) in onAudioVolumeGroupChanged_dispatchCallbackEvent_whenMuted()
6700 when(mAudioManager.getVolumeIndexForAttributes(eq(CoreAudioRoutingUtils.MUSIC_ATTRIBUTES))) in mockCoreAudioRoutingAndVolume()
/packages/services/Car/service/src/com/android/car/audio/
DAudioManagerWrapper.java61 int getVolumeIndexForAttributes(AudioAttributes audioAttributes) { in getVolumeIndexForAttributes() method in AudioManagerWrapper
62 return mAudioManager.getVolumeIndexForAttributes(audioAttributes); in getVolumeIndexForAttributes()
DCoreAudioVolumeGroup.java100 return mAudioManager.getVolumeIndexForAttributes(mAudioAttributes); in getAmCurrentGainIndex()