Home
last modified time | relevance | path

Searched refs:mSettingsMock (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeGroupFactoryTest.java69 CarAudioSettings mSettingsMock; field in CarVolumeGroupFactoryTest
248 when(mSettingsMock.getStoredVolumeGainIndexForUser(UserHandle.USER_CURRENT, ZONE_ID, in factoryBuild_withNoStoredGain_usesDefaultGain()
261 when(mSettingsMock.getStoredVolumeGainIndexForUser(UserHandle.USER_CURRENT, ZONE_ID, in factoryBuild_withTooLargeStoredGain_usesDefaultGain()
273 when(mSettingsMock.getStoredVolumeGainIndexForUser(UserHandle.USER_CURRENT, ZONE_ID, in factoryBuild_withTooSmallStoredGain_usesDefaultGain()
285 when(mSettingsMock.getStoredVolumeGainIndexForUser(UserHandle.USER_CURRENT, ZONE_ID, in factoryBuild_withValidStoredGain_usesStoredGain()
310 () -> new CarVolumeGroupFactory(/* audioManager= */ null, mSettingsMock, in factoryConstructor_withNullCarAudioContext_fails()
323 () -> new CarVolumeGroupFactory(mAudioManagerMock, mSettingsMock, in factoryConstructor_withNullCarActivationVolumeConfig_fails()
332 return new CarVolumeGroupFactory(mAudioManagerMock, mSettingsMock, TEST_CAR_AUDIO_CONTEXT, in getFactory()
DCoreAudioVolumeGroupTest.java100 CarAudioSettings mSettingsMock; field in CoreAudioVolumeGroupTest
178 mSettingsMock, musicContextToDeviceInfo, PRIMARY_AUDIO_ZONE, ZONE_CONFIG_ID, in setUp()
186 mSettingsMock, navContextToDeviceInfo, PRIMARY_AUDIO_ZONE, ZONE_CONFIG_ID, in setUp()
194 mSettingsMock, oemContextToDeviceInfo, in setUp()
320 mMockAudioManager, mMusicContext, mSettingsMock, musicContextToDeviceInfo, in setMute_whenNotMutable()
DCarAudioVolumeGroupTest.java143 CarAudioSettings mSettingsMock; field in CarAudioVolumeGroupTest
209 verify(mSettingsMock).storeVolumeGainIndexForUser(anyInt(), eq(ZONE_ID), eq(ZONE_CONFIG_ID), in setCurrentGainIndex_updatesCurrentGainIndex()
679 mSettingsMock, contextToDeviceInfo, ZONE_ID, ZONE_CONFIG_ID, GROUP_ID, GROUP_NAME, in getCarAudioVolumeGroupWithDevice()
698 return testVolumeGroupSetup(mSettingsMock); in testVolumeGroupSetup()
DCarVolumeGroupUnitTest.java139 CarAudioSettings mSettingsMock; field in CarVolumeGroupUnitTest
2246 return new CarVolumeGroupFactory(mAudioManagerMock, mSettingsMock, TEST_CAR_AUDIO_CONTEXT, in getFactory()