Searched refs:connectedDeviceViewModel (Results 1 – 3 of 3) sorted by relevance
96 val connectedDeviceViewModel by collectLastValue(underTest.connectedDeviceViewModel) in playingSession_connectedDeviceViewMode_hasTheDevice() constant99 assertThat(connectedDeviceViewModel!!.label).isEqualTo("media_output_label_title") in playingSession_connectedDeviceViewMode_hasTheDevice()100 assertThat(connectedDeviceViewModel!!.deviceName).isEqualTo("test_device") in playingSession_connectedDeviceViewMode_hasTheDevice()114 val connectedDeviceViewModel by collectLastValue(underTest.connectedDeviceViewModel) in notPlaying_connectedDeviceViewMode_hasTheDevice() constant117 assertThat(connectedDeviceViewModel!!.label) in notPlaying_connectedDeviceViewMode_hasTheDevice()119 assertThat(connectedDeviceViewModel!!.deviceName).isEqualTo("test_device") in notPlaying_connectedDeviceViewMode_hasTheDevice()134 val connectedDeviceViewModel by collectLastValue(underTest.connectedDeviceViewModel) in notPlaying_inAudioSharing_deviceNameSetToAudioSharing() constant137 assertThat(connectedDeviceViewModel!!.label) in notPlaying_inAudioSharing_deviceNameSetToAudioSharing()139 assertThat(connectedDeviceViewModel!!.deviceName).isEqualTo("audio_sharing") in notPlaying_inAudioSharing_deviceNameSetToAudioSharing()
79 val connectedDeviceViewModel: ConnectedDeviceViewModel? by in <lambda>() constant80 viewModel.connectedDeviceViewModel.collectAsStateWithLifecycle() in <lambda>()105 connectedDeviceViewModel?.let { ConnectedDeviceText(it) } in <lambda>()113 private fun RowScope.ConnectedDeviceText(connectedDeviceViewModel: ConnectedDeviceViewModel) { in <lambda>()120 text = connectedDeviceViewModel.label.toString(), in <lambda>()125 connectedDeviceViewModel.deviceName?.let { in <lambda>()
54 val connectedDeviceViewModel: StateFlow<ConnectedDeviceViewModel?> = in <lambda>() constant in com.android.systemui.volume.panel.component.mediaoutput.ui.viewmodel.MediaOutputViewModel