Home
last modified time | relevance | path

Searched refs:getSelectedMediaDevice (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputController.java517 boolean isSelectedDeviceInGroup = getSelectedMediaDevice().size() > 1 in isActiveItem()
518 && getSelectedMediaDevice().contains(device); in isActiveItem()
710 Set<String> selectedDevicesIds = getSelectedMediaDevice().stream() in categorizeMediaItemsLocked()
747 if (!isCurrentConnectedDeviceRemote() && getSelectedMediaDevice().size() == 1) { in attachConnectNewDeviceItemIfNeeded()
774 final List<MediaDevice> selectedDevices = getSelectedMediaDevice(); in getGroupMediaDevices()
838 public List<MediaDevice> getSelectedMediaDevice() { in getSelectedMediaDevice() method in MediaOutputController
839 return mLocalMediaManager.getSelectedMediaDevice(); in getSelectedMediaDevice()
DMediaOutputAdapter.java182 mController.getSelectedMediaDevice(), device))); in onBind()
241 } else if (mController.getSelectedMediaDevice().size() > 1 in onBind()
242 && isDeviceIncluded(mController.getSelectedMediaDevice(), device)) { in onBind()
DMediaOutputBaseAdapter.java109 || (mController.getSelectedMediaDevice().size() == 1 in isCurrentlyConnected()
110 && isDeviceIncluded(mController.getSelectedMediaDevice(), device)); in isCurrentlyConnected()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputControllerTest.java463 .getSelectedMediaDevice(); in onDeviceListUpdate_verifyDeviceListCallback()
495 .getSelectedMediaDevice(); in advanced_onDeviceListUpdateWithConnectedDeviceRemote_verifyItemSize()
917 doReturn(selectedMediaDevices).when(mLocalMediaManager).getSelectedMediaDevice(); in getGroupMediaDevices_differentDeviceOrder_showingSameOrder()
954 doReturn(selectedMediaDevices).when(mLocalMediaManager).getSelectedMediaDevice(); in getGroupMediaDevices_newDevice_verifyDeviceOrder()
1133 doReturn(selectedMediaDevices).when(mLocalMediaManager).getSelectedMediaDevice(); in resetGroupMediaDevices_clearGroupDevices()
DMediaOutputAdapterTest.java164 when(mMediaOutputController.getSelectedMediaDevice()).thenReturn( in onBindViewHolder_bindGroup_withSessionName_verifyView()
184 when(mMediaOutputController.getSelectedMediaDevice()).thenReturn( in onBindViewHolder_bindGroup_noSessionName_verifyView()
685 when(mMediaOutputController.getSelectedMediaDevice()).thenReturn( in onItemClick_onGroupActionTriggered_verifySeekbarDisabled()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java375 public List<MediaDevice> getSelectedMediaDevice() { in getSelectedMediaDevice() method in LocalMediaManager