Searched refs:audioDevicesRemoved (Results 1 – 12 of 12) sorted by relevance
943 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()
848 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()
470 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()
621 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()
85 verify(mMockCarAudioService).audioDevicesRemoved(audioDevicesCaptor.capture()); in captureRemovedAudioDevices()
184 when(carVolumeGroup.audioDevicesRemoved(anyList())).thenReturn(!mIsActive); in build()
50 mCarAudioService.audioDevicesRemoved(removedDevices); in onAudioDevicesRemoved()
438 boolean audioDevicesRemoved(List<AudioDeviceInfo> devices) { in audioDevicesRemoved() method in CarAudioZone442 if (!mCarAudioZoneConfigs.valueAt(c).audioDevicesRemoved(devices)) { in audioDevicesRemoved()
568 boolean audioDevicesRemoved(List<AudioDeviceInfo> devices) { in audioDevicesRemoved() method in CarAudioZoneConfig572 if (!mVolumeGroups.get(c).audioDevicesRemoved(devices)) { in audioDevicesRemoved()
156 public boolean audioDevicesRemoved(List<AudioDeviceInfo> devices) { in audioDevicesRemoved() method in CarAudioDeviceInfo
1079 public boolean audioDevicesRemoved(List<AudioDeviceInfo> devices) { in audioDevicesRemoved() method in CarVolumeGroup1083 if (!mContextToDevices.valueAt(c).audioDevicesRemoved(devices)) { in audioDevicesRemoved()
3965 void audioDevicesRemoved(AudioDeviceInfo[] removedDevices) {3990 if (!zone.audioDevicesRemoved(devices)) {