Home
last modified time | relevance | path

Searched refs:mMediaOutputController (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TvSystemUI/src/com/android/systemui/tv/media/
DTvMediaOutputDialogActivity.java71 private TvMediaOutputController mMediaOutputController; field in TvMediaOutputDialogActivity
128 mMediaOutputController = new TvMediaOutputController(this, getPackageName(), in onCreate()
133 mAdapter = new TvMediaOutputAdapter(this, mMediaOutputController, this); in onCreate()
172 mMediaOutputController.start(this); in onStart()
177 mMediaOutputController.stop(); in onStop()
184 if (mMediaOutputController.isRefreshing()) { in refresh()
187 mMediaOutputController.setRefreshing(true); in refresh()
204 MediaDevice activeDevice = mMediaOutputController.getCurrentConnectedMediaDevice(); in onRouteChanged()
206 mMediaOutputController.showVolumeDialog(); in onRouteChanged()
215 && mMediaOutputController.getCurrentConnectedMediaDevice() != null) { in onDeviceListChanged()
[all …]
DTvMediaOutputAdapter.java53 private final TvMediaOutputController mMediaOutputController; field in TvMediaOutputAdapter
65 mMediaOutputController = mediaOutputController; in TvMediaOutputAdapter()
142 mMediaItemList.addAll(mMediaOutputController.getMediaItemList()); in updateItems()
231 if (mMediaOutputController.isAnyDeviceTransferring()) { in transferOutput()
239 mMediaOutputController.setTemporaryAllowListExceptionIfNeeded(mediaDevice); in transferOutput()
240 mMediaOutputController.connectDevice(mediaDevice); in transferOutput()
250 mMediaOutputController.getCurrentConnectedMediaDevice().getId()) in isCurrentlyConnected()
251 || (mMediaOutputController.getSelectedMediaDevice().size() == 1 in isCurrentlyConnected()
252 && isDeviceIncluded(mMediaOutputController.getSelectedMediaDevice(), device)); in isCurrentlyConnected()