Searched refs:getBusForContext (Results 1 – 4 of 4) sorted by relevance
136 when(mMockAudioControlWrapper.getBusForContext(anyInt())).thenReturn(INVALID_BUS); in constructor_throwsIfLegacyContextNotAssignedToBus()151 when(mMockAudioControlWrapper.getBusForContext(anyInt())).thenReturn(INVALID_BUS); in constructor_throwsIfNullInputDevices()165 when(mMockAudioControlWrapper.getBusForContext(anyInt())).thenReturn(INVALID_BUS); in constructor_throwsIfNullContext()177 when(mMockAudioControlWrapper.getBusForContext(anyInt())).thenReturn(INVALID_BUS); in constructor_throwsIfNullCarAudioDeviceInfo()191 when(mMockAudioControlWrapper.getBusForContext(anyInt())).thenReturn(INVALID_BUS); in constructor_throwsIfNullCarAudioControl()205 when(mMockAudioControlWrapper.getBusForContext(anyInt())).thenReturn(INVALID_BUS); in constructor_throwsIfNullCarAudioSettings()219 when(mMockAudioControlWrapper.getBusForContext(anyInt())).thenReturn(INVALID_BUS); in constructor_throwsIfNullCarAudioContexts()232 when(mMockAudioControlWrapper.getBusForContext(anyInt())).thenReturn(1); in loadAudioZones_succeeds()247 when(mMockAudioControlWrapper.getBusForContext(anyInt())).thenReturn(1); in loadAudioZones_parsesAllVolumeGroups()262 when(mMockAudioControlWrapper.getBusForContext(anyInt())).thenReturn(1); in loadAudioZones_primaryZoneHasInputDevice()[all …]
93 when(mAudioControlV1.getBusForContext(CONTEXT_NUMBER)).thenReturn(busNumber); in getBusForContext_returnsBusNumber()95 int actualBus = mAudioControlWrapperV1.getBusForContext(CONTEXT_NUMBER); in getBusForContext_returnsBusNumber()101 doThrow(new RemoteException()).when(mAudioControlV1).getBusForContext(CONTEXT_NUMBER); in getBusForContext_throws()104 () -> mAudioControlWrapperV1.getBusForContext(CONTEXT_NUMBER)); in getBusForContext_throws()
162 public int getBusForContext(@CarAudioContext.AudioContext int audioContext) { in getBusForContext() method in AudioControlWrapperV1164 return mAudioControlV1.getBusForContext(audioContext); in getBusForContext()
120 int bus = audioControlWrapper.getBusForContext(legacyContext); in loadBusesForLegacyContexts()