Searched refs:mCarAudioManager (Results 1 – 5 of 5) sorted by relevance
48 private CarAudioManager mCarAudioManager; field in VolumeTestFragment119 mCarAudioManager = (CarAudioManager) car.getCarManager(Car.AUDIO_SERVICE);140 mCarAudioManager.setFadeTowardFront(percent); in onCreateView()142 mCarAudioManager.setBalanceTowardRight(percent); in onCreateView()163 if (mCarAudioManager == null) { in adjustVolumeByOne()167 int current = mCarAudioManager.getGroupVolume(groupId); in adjustVolumeByOne()169 mCarAudioManager.setGroupVolume(groupId, volume, in adjustVolumeByOne()179 int volumeGroupCount = mCarAudioManager.getVolumeGroupCount(); in initVolumeInfo()195 int current = mCarAudioManager.getGroupVolume(groupId); in initVolumeInfo()196 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()
91 private CarAudioManager mCarAudioManager; field in AudioTestFragment141 mCarAudioManager = (CarAudioManager) car.getCarManager(Car.AUDIO_SERVICE); in connectCar()144 int[] zoneList = mCarAudioManager.getAudioZoneIds(); in connectCar()153 if (mCarAudioManager.isDynamicRoutingEnabled()) { in connectCar()391 if (mCarAudioManager.setZoneIdForUid(zone, uid)) { in handleZoneSelection()548 int zoneIdForDisplayId = mCarAudioManager.getZoneIdForDisplayPortId(selectedDisplayPortId); in createDisplayAudioPlayer()569 int zoneIdForDisplayId = mCarAudioManager.getZoneIdForDisplayPortId(selectedDisplayPortId); in startDisplayAudio()