Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputDialog.java102 if (mMediaOutputController.getCurrentConnectedMediaDevice() != null) { in getStopButtonVisibility()
104 mMediaOutputController.getCurrentConnectedMediaDevice()); in getStopButtonVisibility()
118 if (mMediaOutputController.getCurrentConnectedMediaDevice() != null) { in isBroadcastSupported()
120 mMediaOutputController.getCurrentConnectedMediaDevice()); in isBroadcastSupported()
DMediaOutputController.java654 : getCurrentConnectedMediaDevice(); in buildMediaItems()
762 MediaDevice currentConnectedMediaDevice = getCurrentConnectedMediaDevice(); in isCurrentConnectedDeviceRemote()
768 MediaDevice currentConnectedMediaDevice = getCurrentConnectedMediaDevice(); in isCurrentOutputDeviceHasSessionOngoing()
810 mMetricLogger.updateOutputEndPoints(getCurrentConnectedMediaDevice(), device); in connectDevice()
821 public MediaDevice getCurrentConnectedMediaDevice() { in getCurrentConnectedMediaDevice() method in MediaOutputController
DMediaOutputBroadcastDialog.java499 if (mMediaOutputController.getCurrentConnectedMediaDevice() != null) { in isBroadcastSupported()
501 mMediaOutputController.getCurrentConnectedMediaDevice()); in isBroadcastSupported()
DMediaOutputBaseAdapter.java108 mController.getCurrentConnectedMediaDevice().getId()) in isCurrentlyConnected()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputDialogTest.java396 when(mockMediaOutputController.getCurrentConnectedMediaDevice()).thenReturn(mMediaDevice); in getStopButtonText_supportsBroadcast_returnsBroadcastText()
409 when(mockMediaOutputController.getCurrentConnectedMediaDevice()).thenReturn(null); in onStopButtonClick_notPlaying_releaseSession()
DMediaOutputAdapterTest.java103 when(mMediaOutputController.getCurrentConnectedMediaDevice()).thenReturn(mMediaDevice1); in setUp()