Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DTestCarAudioDeviceInfoBuilder.java86 CarAudioDeviceInfo infoMock = Mockito.mock(CarAudioDeviceInfo.class); in build() local
87 when(infoMock.getStepValue()).thenReturn(mStepValue); in build()
88 when(infoMock.getDefaultGain()).thenReturn(mDefaultGain); in build()
89 when(infoMock.getMaxGain()).thenReturn(mMaxGain); in build()
90 when(infoMock.getMinGain()).thenReturn(mMinGain); in build()
91 when(infoMock.getAddress()).thenReturn(mAddress); in build()
92 when(infoMock.getAudioDevice()).thenReturn(attributeMock); in build()
93 when(infoMock.isActive()).thenReturn(mIsActive); in build()
94 return infoMock; in build()
DVolumeGroupBuilder.java95 public VolumeGroupBuilder addCarAudioDeviceInfoMock(CarAudioDeviceInfo infoMock) { in addCarAudioDeviceInfoMock() argument
96 mCarAudioDeviceInfoMock = infoMock; in addCarAudioDeviceInfoMock()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioDynamicRoutingTest.java348 VolumeGroupBuilder addCarAudioDeviceInfoMock(CarAudioDeviceInfo infoMock) { in addCarAudioDeviceInfoMock() argument
349 mCarAudioDeviceInfoMock = infoMock; in addCarAudioDeviceInfoMock()