Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioZoneConfigUnitTest.java943 boolean status = zoneConfig.audioDevicesRemoved(List.of(musicAudioDeviceInfo)); in audioDevicesRemoved_withAlreadyActiveGroups()
946 verify(mMockMusicGroup).audioDevicesRemoved(any()); in audioDevicesRemoved_withAlreadyActiveGroups()
947 verify(mMockNavGroup).audioDevicesRemoved(any()); in audioDevicesRemoved_withAlreadyActiveGroups()
948 verify(mMockVoiceGroup).audioDevicesRemoved(any()); in audioDevicesRemoved_withAlreadyActiveGroups()
958 boolean status = zoneConfig.audioDevicesRemoved(List.of(musicAudioDeviceInfo)); in audioDevicesRemoved_withInactiveGroups()
961 verify(mMockInactiveMusicGroup).audioDevicesRemoved(any()); in audioDevicesRemoved_withInactiveGroups()
962 verify(mMockNavGroup).audioDevicesRemoved(any()); in audioDevicesRemoved_withInactiveGroups()
963 verify(mMockVoiceGroup).audioDevicesRemoved(any()); in audioDevicesRemoved_withInactiveGroups()
973 () -> zoneConfig.audioDevicesRemoved(/* devices= */ null)); in audioDevicesRemoved_withInactiveGroups_andNullDevices()
DCarAudioZoneUnitTest.java848 when(mMockZoneConfig0.audioDevicesRemoved(any())).thenReturn(true); in audioDevicesRemoved_withConfigUpdated()
853 boolean updated = mTestAudioZone.audioDevicesRemoved(infos); in audioDevicesRemoved_withConfigUpdated()
856 verify(mMockZoneConfig0).audioDevicesRemoved(infos); in audioDevicesRemoved_withConfigUpdated()
861 when(mMockZoneConfig0.audioDevicesRemoved(any())).thenReturn(false); in audioDevicesRemoved_withConfigNotUpdated()
866 boolean updated = mTestAudioZone.audioDevicesRemoved(infos); in audioDevicesRemoved_withConfigNotUpdated()
869 verify(mMockZoneConfig0).audioDevicesRemoved(infos); in audioDevicesRemoved_withConfigNotUpdated()
877 () -> mTestAudioZone.audioDevicesRemoved(/* devices= */ null)); in audioDevicesRemoved_withNullDevices()
DCarAudioDeviceInfoTest.java470 boolean updated = info.audioDevicesRemoved(List.of(audioDeviceInfo)); in audioDevicesRemoved_withSameDeviceType()
487 boolean updated = info.audioDevicesRemoved(List.of(removedHeadsetAudioDevice, in audioDevicesRemoved_withDifferentDeviceType()
504 () -> info.audioDevicesRemoved(/* devices= */ null)); in audioDevicesRemoved_withNullDevices()
516 boolean updated = info.audioDevicesRemoved(List.of(audioDeviceInfo)); in audioDevicesRemoved_withBluetoothDeviceForBusTypeDeviceInfo()
DCarAudioVolumeGroupTest.java621 when(mockCarDeviceInfo.audioDevicesRemoved(any())).thenReturn(true); in audioDevicesRemoved_whileActive()
624 boolean updated = carVolumeGroup.audioDevicesRemoved(List.of(mockInfo)); in audioDevicesRemoved_whileActive()
636 when(mockCarDeviceInfo.audioDevicesRemoved(any())).thenReturn(false); in audioDevicesRemoved_whileInactive()
639 boolean updated = carVolumeGroup.audioDevicesRemoved(List.of(mockInfo)); in audioDevicesRemoved_whileInactive()
654 () -> carVolumeGroup.audioDevicesRemoved(/* devices= */ null)); in audioDevicesRemoved_withNullDevices()
670 verify(mockCarDeviceInfo).audioDevicesRemoved(captor.capture()); in captureRemovedDevices()
DCarAudioDeviceCallbackTest.java85 verify(mMockCarAudioService).audioDevicesRemoved(audioDevicesCaptor.capture()); in captureRemovedAudioDevices()
DVolumeGroupBuilder.java184 when(carVolumeGroup.audioDevicesRemoved(anyList())).thenReturn(!mIsActive); in build()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioDeviceCallback.java50 mCarAudioService.audioDevicesRemoved(removedDevices); in onAudioDevicesRemoved()
DCarAudioZone.java438 boolean audioDevicesRemoved(List<AudioDeviceInfo> devices) { in audioDevicesRemoved() method in CarAudioZone
442 if (!mCarAudioZoneConfigs.valueAt(c).audioDevicesRemoved(devices)) { in audioDevicesRemoved()
DCarAudioZoneConfig.java568 boolean audioDevicesRemoved(List<AudioDeviceInfo> devices) { in audioDevicesRemoved() method in CarAudioZoneConfig
572 if (!mVolumeGroups.get(c).audioDevicesRemoved(devices)) { in audioDevicesRemoved()
DCarAudioDeviceInfo.java156 public boolean audioDevicesRemoved(List<AudioDeviceInfo> devices) { in audioDevicesRemoved() method in CarAudioDeviceInfo
DCarVolumeGroup.java1079 public boolean audioDevicesRemoved(List<AudioDeviceInfo> devices) { in audioDevicesRemoved() method in CarVolumeGroup
1083 if (!mContextToDevices.valueAt(c).audioDevicesRemoved(devices)) { in audioDevicesRemoved()
DCarAudioService.java3965 void audioDevicesRemoved(AudioDeviceInfo[] removedDevices) {
3990 if (!zone.audioDevicesRemoved(devices)) {