Home
last modified time | relevance | path

Searched refs:audioDevicesAdded (Results 1 – 12 of 12) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioZoneConfigUnitTest.java900 boolean status = zoneConfig.audioDevicesAdded(List.of(musicAudioDeviceInfo)); in audioDevicesAdded_withAlreadyActiveGroups()
903 verify(mMockMusicGroup, never()).audioDevicesAdded(any()); in audioDevicesAdded_withAlreadyActiveGroups()
904 verify(mMockNavGroup, never()).audioDevicesAdded(any()); in audioDevicesAdded_withAlreadyActiveGroups()
905 verify(mMockVoiceGroup, never()).audioDevicesAdded(any()); in audioDevicesAdded_withAlreadyActiveGroups()
915 boolean status = zoneConfig.audioDevicesAdded(List.of(musicAudioDeviceInfo)); in audioDevicesAdded_withInactiveGroups()
918 verify(mMockInactiveMusicGroup).audioDevicesAdded(any()); in audioDevicesAdded_withInactiveGroups()
919 verify(mMockNavGroup).audioDevicesAdded(any()); in audioDevicesAdded_withInactiveGroups()
920 verify(mMockVoiceGroup).audioDevicesAdded(any()); in audioDevicesAdded_withInactiveGroups()
931 () -> zoneConfig.audioDevicesAdded(/* devices= */ null)); in audioDevicesAdded_withInactiveGroups_andNullDevices()
DCarAudioZoneUnitTest.java811 when(mMockZoneConfig0.audioDevicesAdded(any())).thenReturn(true); in audioDevicesAdded_withConfigUpdated()
816 boolean updated = mTestAudioZone.audioDevicesAdded(infos); in audioDevicesAdded_withConfigUpdated()
819 verify(mMockZoneConfig0).audioDevicesAdded(infos); in audioDevicesAdded_withConfigUpdated()
824 when(mMockZoneConfig0.audioDevicesAdded(any())).thenReturn(false); in audioDevicesAdded_withConfigNotUpdated()
829 boolean updated = mTestAudioZone.audioDevicesAdded(infos); in audioDevicesAdded_withConfigNotUpdated()
832 verify(mMockZoneConfig0).audioDevicesAdded(infos); in audioDevicesAdded_withConfigNotUpdated()
840 () -> mTestAudioZone.audioDevicesAdded(/* devices= */ null)); in audioDevicesAdded_withNullDevices()
DCarAudioDeviceInfoTest.java415 boolean updated = info.audioDevicesAdded(List.of(audioDeviceInfo)); in audioDevicesAdded_withSameDeviceType()
429 boolean updated = info.audioDevicesAdded(List.of(audioDeviceInfo)); in audioDevicesAdded_withDifferentDeviceType()
445 () -> info.audioDevicesAdded(/* devices= */ null)); in audioDevicesAdded_withNullDevices()
457 boolean updated = info.audioDevicesAdded(List.of(audioDeviceInfo)); in audioDevicesAdded_withBluetoothDeviceForBusTypeDeviceInfo()
DCarAudioVolumeGroupTest.java577 when(mockCarDeviceInfo.audioDevicesAdded(any())).thenReturn(true); in audioDevicesAdded_whileInactive()
580 boolean updated = carVolumeGroup.audioDevicesAdded(List.of(mockInfo)); in audioDevicesAdded_whileInactive()
596 boolean updated = carVolumeGroup.audioDevicesAdded(List.of(mockInfo)); in audioDevicesAdded_whileActive()
599 verify(mockCarDeviceInfo, never()).audioDevicesAdded(any()); in audioDevicesAdded_whileActive()
610 () -> carVolumeGroup.audioDevicesAdded(/* devices= */ null)); in audioDevicesAdded_withNullDevices()
663 verify(mockCarDeviceInfo).audioDevicesAdded(captor.capture()); in captureAddedDevices()
DCarAudioDeviceCallbackTest.java78 verify(mMockCarAudioService).audioDevicesAdded(audioDevicesCaptor.capture()); in captureAddedAudioDevices()
DVolumeGroupBuilder.java183 when(carVolumeGroup.audioDevicesAdded(anyList())).thenReturn(!mIsActive); in build()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioDeviceCallback.java42 mCarAudioService.audioDevicesAdded(addedDevices); in onAudioDevicesAdded()
DCarAudioZone.java426 boolean audioDevicesAdded(List<AudioDeviceInfo> devices) { in audioDevicesAdded() method in CarAudioZone
430 if (!mCarAudioZoneConfigs.valueAt(c).audioDevicesAdded(devices)) { in audioDevicesAdded()
DCarAudioZoneConfig.java550 boolean audioDevicesAdded(List<AudioDeviceInfo> devices) { in audioDevicesAdded() method in CarAudioZoneConfig
560 if (!mVolumeGroups.get(c).audioDevicesAdded(devices)) { in audioDevicesAdded()
DCarAudioDeviceInfo.java128 boolean audioDevicesAdded(List<AudioDeviceInfo> devices) { in audioDevicesAdded() method in CarAudioDeviceInfo
DCarVolumeGroup.java1057 public boolean audioDevicesAdded(List<AudioDeviceInfo> devices) { in audioDevicesAdded() method in CarVolumeGroup
1065 if (!mContextToDevices.valueAt(c).audioDevicesAdded(devices)) { in audioDevicesAdded()
DCarAudioService.java3929 void audioDevicesAdded(AudioDeviceInfo[] addedDevices) {
3953 if (!zone.audioDevicesAdded(devices)) {