Searched refs:mCarAudioManager (Results 1 – 5 of 5) sorted by relevance
50 private CarAudioManager mCarAudioManager; field in VolumeTestFragment120 mCarAudioManager = (CarAudioManager) mCar.getCarManager(Car.AUDIO_SERVICE);147 mCarAudioManager.setFadeTowardFront(percent); in onCreateView()149 mCarAudioManager.setBalanceTowardRight(percent); in onCreateView()170 if (mCarAudioManager == null) { in adjustVolumeByOne()174 int current = mCarAudioManager.getGroupVolume(groupId); in adjustVolumeByOne()176 mCarAudioManager.setGroupVolume(groupId, volume, in adjustVolumeByOne()186 int volumeGroupCount = mCarAudioManager.getVolumeGroupCount(); in initVolumeInfo()202 int current = mCarAudioManager.getGroupVolume(groupId); in initVolumeInfo()203 int max = mCarAudioManager.getGroupMaxVolume(groupId); in initVolumeInfo()
68 mCarAudioManager = (CarAudioManager) mCar.getCarManager(Car.AUDIO_SERVICE);69 int volumeGroupCount = mCarAudioManager.getVolumeGroupCount();74 mCarAudioManager.getUsagesForVolumeGroupId(groupId));95 private CarAudioManager mCarAudioManager; field in VolumeSettingsPreferenceController148 preference.setValue(mCarAudioManager.getGroupVolume(volumeGroupId)); in createVolumeSeekBarPreference()149 preference.setMin(mCarAudioManager.getGroupMinVolume(volumeGroupId)); in createVolumeSeekBarPreference()150 preference.setMax(mCarAudioManager.getGroupMaxVolume(volumeGroupId)); in createVolumeSeekBarPreference()172 mCarAudioManager.setGroupVolume(volumeGroupId, newVolume, /* flags= */ 0); in setGroupVolume()180 mCarAudioManager = null; in cleanupAudioManager()
67 private CarAudioManager mCarAudioManager; field in VolumeSettingsPreferenceControllerTest89 ShadowCar.setCarManager(Car.AUDIO_SERVICE, mCarAudioManager); in setUp()98 when(mCarAudioManager.getVolumeGroupCount()).thenReturn(1); in setUp()99 when(mCarAudioManager.getUsagesForVolumeGroupId(GROUP_ID)).thenReturn(new int[]{1, 2}); in setUp()100 when(mCarAudioManager.getGroupMinVolume(GROUP_ID)).thenReturn(TEST_MIN_VOLUME); in setUp()101 when(mCarAudioManager.getGroupVolume(GROUP_ID)).thenReturn(TEST_VOLUME); in setUp()102 when(mCarAudioManager.getGroupMaxVolume(GROUP_ID)).thenReturn(TEST_MAX_VOLUME); in setUp()159 verify(mCarAudioManager).setGroupVolume(GROUP_ID, TEST_NEW_VOLUME, 0); in testOnPreferenceChange_audioManagerSet()
34 private CarAudioManager mCarAudioManager; field in CarAudioManagerTest40 mCarAudioManager = (CarAudioManager) getCar().getCarManager(Car.AUDIO_SERVICE); in setUp()45 String[] sources = mCarAudioManager.getExternalSources(); in testGetExternalSources()
94 private CarAudioManager mCarAudioManager; field in AudioTestFragment142 mCarAudioManager = (CarAudioManager) mCar.getCarManager(Car.AUDIO_SERVICE); in connectCar()145 int[] zoneList = mCarAudioManager.getAudioZoneIds(); in connectCar()153 if (mCarAudioManager.isDynamicRoutingEnabled()) { in connectCar()387 if (mCarAudioManager.setZoneIdForUid(zone, uid)) { in handleZoneSelection()544 int zoneIdForDisplayId = mCarAudioManager.getZoneIdForDisplayPortId(selectedDisplayPortId); in createDisplayAudioPlayer()565 int zoneIdForDisplayId = mCarAudioManager.getZoneIdForDisplayPortId(selectedDisplayPortId); in startDisplayAudio()