Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputMetricLogger.java255 if (mediaItem.getMediaDevice().isPresent() in updateLoggingMediaItemCount()
256 && mediaItem.getMediaDevice().get().isConnected()) { in updateLoggingMediaItemCount()
257 switch (mediaItem.getMediaDevice().get().getDeviceType()) { in updateLoggingMediaItemCount()
DMediaItem.java84 public Optional<MediaDevice> getMediaDevice() { in getMediaDevice() method in MediaItem
DMediaOutputAdapter.java105 currentMediaItem.getMediaDevice().get(), in onBindViewHolder()
120 return currentMediaItem.getMediaDevice().isPresent() in getItemId()
121 ? currentMediaItem.getMediaDevice().get().getId().hashCode() in getItemId()
DMediaOutputController.java676 if (originalMediaItem.getMediaDevice().isPresent() in buildMediaItems()
677 && TextUtils.equals(originalMediaItem.getMediaDevice().get().getId(), in buildMediaItems()
902 if (mediaItem.getMediaDevice().isPresent() in isAnyDeviceTransferring()
903 && mediaItem.getMediaDevice().get().getState() in isAnyDeviceTransferring()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputControllerTest.java471 if (item.getMediaDevice().isPresent()) { in onDeviceListUpdate_verifyDeviceListCallback()
472 devices.add(item.getMediaDevice().get()); in onDeviceListUpdate_verifyDeviceListCallback()
506 if (item.getMediaDevice().isPresent()) { in advanced_onDeviceListUpdateWithConnectedDeviceRemote_verifyItemSize()
507 devices.add(item.getMediaDevice().get()); in advanced_onDeviceListUpdateWithConnectedDeviceRemote_verifyItemSize()
530 if (item.getMediaDevice().isPresent()) { in advanced_categorizeMediaItems_withSuggestedDevice_verifyDeviceListSize()
531 devices.add(item.getMediaDevice().get()); in advanced_categorizeMediaItems_withSuggestedDevice_verifyDeviceListSize()
DMediaOutputAdapterTest.java134 0).getMediaDevice().get().getId().hashCode()); in getItemId_validPosition_returnCorrespondingId()
165 mMediaItems.stream().map((item) -> item.getMediaDevice().get()).collect( in onBindViewHolder_bindGroup_withSessionName_verifyView()
185 mMediaItems.stream().map((item) -> item.getMediaDevice().get()).collect( in onBindViewHolder_bindGroup_noSessionName_verifyView()
686 mMediaItems.stream().map((item) -> item.getMediaDevice().get()).collect( in onItemClick_onGroupActionTriggered_verifySeekbarDisabled()