Searched refs:mNavigationDeviceInfo (Results 1 – 3 of 3) sorted by relevance
137 private CarAudioDeviceInfo mNavigationDeviceInfo; field in CarAudioVolumeGroupTest158 mNavigationDeviceInfo = new CarAudioDeviceInfo(mAudioManagerWrapper, in setUp()160 mNavigationDeviceInfo.setAudioDeviceInfo(getMockAudioDeviceInfo(NAVIGATION_DEVICE_ADDRESS)); in setUp()261 expect.withMessage("Nav device info min gain").that(mNavigationDeviceInfo.getMinGain()) in updateAudioDeviceInfo_succeeds()263 expect.withMessage("Nav device info max gain").that(mNavigationDeviceInfo.getMaxGain()) in updateAudioDeviceInfo_succeeds()265 expect.withMessage("Nav device info step value").that(mNavigationDeviceInfo.getStepValue()) in updateAudioDeviceInfo_succeeds()268 .that(mNavigationDeviceInfo.getDefaultGain()).isEqualTo(TEST_GAIN_DEFAULT_VALUE); in updateAudioDeviceInfo_succeeds()296 .that(mNavigationDeviceInfo.getMinGain()).isEqualTo(MIN_GAIN); in updateAudioDeviceInfo_invalidDeviceInfo_doesNotUpdate()298 .that(mNavigationDeviceInfo.getMaxGain()).isEqualTo(MAX_GAIN); in updateAudioDeviceInfo_invalidDeviceInfo_doesNotUpdate()300 .that(mNavigationDeviceInfo.getStepValue()).isEqualTo(STEP_SIZE); in updateAudioDeviceInfo_invalidDeviceInfo_doesNotUpdate()[all …]
66 private CarAudioDeviceInfo mNavigationDeviceInfo; field in CarVolumeGroupFactoryTest81 mNavigationDeviceInfo = new TestCarAudioDeviceInfoBuilder(NAVIGATION_DEVICE_ADDRESS) in setUp()89 mFactory.setDeviceInfoForContext(TEST_NAVIGATION_CONTEXT_ID, mNavigationDeviceInfo); in setDeviceInfoForContext_associatesDeviceAddresses()100 mFactory.setDeviceInfoForContext(TEST_NAVIGATION_CONTEXT_ID, mNavigationDeviceInfo); in setDeviceInfoForContext_associatesContexts()133 mNavigationDeviceInfo)); in setDeviceInfoForContext_withSameContext_throws()
135 private CarAudioDeviceInfo mNavigationDeviceInfo; field in CarVolumeGroupUnitTest149 mNavigationDeviceInfo = new TestCarAudioDeviceInfoBuilder(NAVIGATION_DEVICE_ADDRESS) in setUp()345 mMediaDeviceInfo.getAudioDevice(), mNavigationDeviceInfo.getAudioDevice()); in getAudioDeviceAttribute_returnsExpectedDevice()438 verify(mNavigationDeviceInfo).setCurrentGain(7); in setCurrentGainIndex_setsGainOnAllBoundDevices()1493 verify(mNavigationDeviceInfo).setCurrentGain(TestCarAudioDeviceInfoBuilder.DEFAULT_GAIN); in onAudioGainChanged_validGain()1499 verify(mNavigationDeviceInfo, times(2)).setCurrentGain( in onAudioGainChanged_validGain()1517 verify(mNavigationDeviceInfo, never()).setCurrentGain(anyInt()); in onAudioGainChanged_invalidGain()2080 carVolumeGroup.getAllSupportedUsagesForAddress(mNavigationDeviceInfo.getAddress()); in getAllSupportedUsagesForAddress()2190 factory.setDeviceInfoForContext(TEST_NAVIGATION_CONTEXT_ID, mNavigationDeviceInfo); in getCarVolumeGroupWithNavigationBound()2214 factory.setDeviceInfoForContext(TEST_NAVIGATION_CONTEXT_ID, mNavigationDeviceInfo); in testInactiveVolumeGroupSetup()[all …]