Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
H A DMediaOutputDialog.java95 if (mMediaOutputController.getCurrentConnectedMediaDevice() != null) { in getStopButtonVisibility()
97 mMediaOutputController.getCurrentConnectedMediaDevice()); in getStopButtonVisibility()
110 if (mMediaOutputController.getCurrentConnectedMediaDevice() != null) { in isBroadcastSupported()
112 mMediaOutputController.getCurrentConnectedMediaDevice()); in isBroadcastSupported()
H A DMediaOutputController.java618 : getCurrentConnectedMediaDevice(); in buildMediaItems()
721 MediaDevice currentConnectedMediaDevice = getCurrentConnectedMediaDevice(); in isCurrentConnectedDeviceRemote()
727 MediaDevice currentConnectedMediaDevice = getCurrentConnectedMediaDevice(); in isCurrentOutputDeviceHasSessionOngoing()
769 mMetricLogger.updateOutputEndPoints(getCurrentConnectedMediaDevice(), device); in connectDevice()
780 MediaDevice getCurrentConnectedMediaDevice() { in getCurrentConnectedMediaDevice() method in MediaOutputController
H A DMediaOutputBroadcastDialog.java494 if (mMediaOutputController.getCurrentConnectedMediaDevice() != null) { in isBroadcastSupported()
496 mMediaOutputController.getCurrentConnectedMediaDevice()); in isBroadcastSupported()
H A DMediaOutputBaseAdapter.java108 mController.getCurrentConnectedMediaDevice().getId()) in isCurrentlyConnected()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
H A DMediaOutputDialogTest.java362 when(mockMediaOutputController.getCurrentConnectedMediaDevice()).thenReturn(mMediaDevice); in getStopButtonText_supportsBroadcast_returnsBroadcastText()
375 when(mockMediaOutputController.getCurrentConnectedMediaDevice()).thenReturn(null); in onStopButtonClick_notPlaying_releaseSession()
H A DMediaOutputAdapterTest.java103 when(mMediaOutputController.getCurrentConnectedMediaDevice()).thenReturn(mMediaDevice1); in setUp()