Home
last modified time | relevance | path

Searched refs:getMetadata (Results 1 – 25 of 42) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DAdvancedBluetoothDetailsHeaderControllerTest.java109 when(mBluetoothDevice.getMetadata( in refresh_connected_updateCorrectInfo()
112 when(mBluetoothDevice.getMetadata( in refresh_connected_updateCorrectInfo()
115 when(mBluetoothDevice.getMetadata( in refresh_connected_updateCorrectInfo()
150 when(mBluetoothDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)) in getAvailabilityStatus_untetheredHeadsetWithConfigOn_returnAvailable()
161 when(mBluetoothDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)) in getAvailabilityStatus_untetheredHeadsetWithConfigOff_returnUnavailable()
172 when(mBluetoothDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)) in getAvailabilityStatus_notUntetheredHeadsetWithConfigOn_returnUnavailable()
183 when(mBluetoothDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)) in getAvailabilityStatus_notUntetheredHeadsetWithConfigOff_returnUnavailable()
203 when(mBluetoothDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)) in onStart_isAvailable_registerCallback()
216 when(mBluetoothDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)) in onStop_isAvailable_unregisterCallback()
227 when(mBluetoothDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)) in onStart_notAvailable_registerCallback()
[all …]
DForgetDeviceDialogFragmentTest.java103 when(mBluetoothDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)) in createDialog_untetheredDevice_showUntetheredMessage()
117 when(mBluetoothDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)) in createDialog_normalDevice_showNormalMessage()
DBluetoothDetailsHeaderControllerTest.java132 when(mBluetoothDevice.getMetadata( in isAvailable_untetheredHeadsetWithConfigOn_returnFalse()
143 when(mBluetoothDevice.getMetadata( in isAvailable_untetheredHeadsetWithConfigOff_returnTrue()
DBluetoothFeatureProviderImplTest.java51 when(mBluetoothDevice.getMetadata( in getBluetoothDeviceSettingsUri_containCorrectMacAddress()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerWrapper.java76 if (getMetadata() == null) { in isMetadataReady()
93 mCurrentData.metadata = Util.toMetadata(getMetadata()); in MediaPlayerWrapper()
112 protected MediaMetadata getMetadata() { in getMetadata() method in MediaPlayerWrapper
113 return mMediaController.getMetadata(); in getMetadata()
117 return Util.toMetadata(getMetadata()); in getCurrentMetadata()
191 Metadata mdata = Util.toMetadata(getMetadata()); in isMetadataSynced()
222 Util.toMetadata(getMetadata()), in registerCallback()
259 Util.toMetadata(getMetadata()), in updateMediaController()
269 Util.toMetadata(getMetadata()), in sendMediaUpdate()
310 Log.e(TAG, " └ Current Metadata: " + Util.toMetadata(getMetadata())); in handleMessage()
[all …]
DGPMWrapper.java54 Metadata mdata = Util.toMetadata(getMetadata()); in isMetadataSynced()
/packages/apps/Camera2/src/com/android/camera/data/
DVideoRotationMetadataLoader.java30 final String rotation = filmstripItem.getMetadata().getVideoOrientation(); in isRotated()
39 data.getMetadata().setVideoOrientation(retriever.extractMetadata( in loadRotationMetadata()
45 data.getMetadata().setVideoWidth(Integer.parseInt(val)); in loadRotationMetadata()
50 data.getMetadata().setVideoHeight(Integer.parseInt(val)); in loadRotationMetadata()
DMetadataLoader.java43 context, data.getData().getUri(), data.getMetadata()); in loadMetadata()
45 context, data.getData().getUri(), data.getMetadata()); in loadMetadata()
49 data.getMetadata().setLoaded(true); in loadMetadata()
DPhotoItem.java138 if (getMetadata().isPanorama() || in fillImageView()
139 getMetadata().isPanorama360()) { in fillImageView()
141 } else if (getMetadata().isUsePanoramaViewer()) { in fillImageView()
144 } else if (this.getMetadata().isHasRgbzData()) { in fillImageView()
DFilmstripItem.java70 public Metadata getMetadata(); in getMetadata() method
DPlaceholderItem.java134 public Metadata getMetadata() { in getMetadata() method in PlaceholderItem
DFixedLastProxyAdapter.java166 return mLastData.getMetadata().isLoaded(); in isMetadataUpdatedAt()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DMediaPlayerWrapperTest.java126 doReturn(mTestMetadata.build()).when(mMockController).getMetadata(); in setUp()
168 doReturn(null).when(mMockController).getMetadata(); in testIsReady()
172 doReturn(mTestMetadata.build()).when(mMockController).getMetadata(); in testIsReady()
193 doReturn(mTestMetadata.build()).when(mUpdatedController).getMetadata(); in testControllerUpdate()
230 doReturn(mTestMetadata.build()).when(mMockController).getMetadata(); in testNoQueueMediaUpdates()
292 doReturn(mTestMetadata.build()).when(mMockController).getMetadata(); in testDataOnUpdateNoQueue()
336 doReturn(mTestMetadata.build()).when(mMockController).getMetadata(); in testNullMetadata()
519 doReturn(mTestMetadata.build()).when(mMockController).getMetadata(); in testMetadataSync()
579 doReturn(mTestMetadata.build()).when(mMockController).getMetadata(); in testMetadataSyncFail()
654 doReturn(m.build()).when(mMockController).getMetadata(); in testMetadataSyncFuzz()
/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/
DProgramInfoExt.java78 RadioMetadata meta = info.getMetadata(); in getProgramName()
111 public static @NonNull RadioMetadata getMetadata(@NonNull ProgramInfo info) { in getMetadata() method in ProgramInfoExt
112 RadioMetadata meta = info.getMetadata(); in getMetadata()
136 RadioMetadata meta = info.getMetadata(); in toMediaMetadata()
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/
DPlaybackViewModelTest.java96 mPlaybackViewModel.getMetadata().observe(mLifecycleOwner, observer); in testGetMetadata()
190 when(mMediaController.getMetadata()).thenReturn(mMediaMetadata); in testChangeMediaSource_consistentController()
203 when(newController.getMetadata()).thenReturn(newMetadata); in testChangeMediaSource_consistentController()
207 mPlaybackViewModel.getMetadata().observe(mLifecycleOwner, mediaItemMetadata -> { in testChangeMediaSource_consistentController()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackControlHelper.java195 MediaMetadata mediaMetadata = mMediaController.getMetadata(); in getMediaId()
203 MediaMetadata mediaMetadata = mMediaController.getMetadata(); in getMediaTitle()
211 MediaMetadata mediaMetadata = mMediaController.getMetadata(); in getMediaSubtitle()
219 MediaMetadata mediaMetadata = mMediaController.getMetadata(); in getMediaDuration()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DMetadataController.java101 playbackViewModel.getMetadata().observe(lifecycleOwner, in MetadataController()
168 combine(playbackViewModel.getMetadata(), playbackViewModel.getProgress(), in MetadataController()
176 pair(playbackViewModel.getMetadata(), playbackViewModel.getProgress()).observe( in MetadataController()
DPlaybackFragment.java106 playbackViewModel.getMetadata().observe(getViewLifecycleOwner(), in onCreateView()
144 mTitle = mapNonNull(playbackViewModel.getMetadata(), MediaItemMetadata::getTitle); in init()
145 mSubtitle = mapNonNull(playbackViewModel.getMetadata(), MediaItemMetadata::getArtist); in init()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/
DMediaController.java88 public MediaMetadata getMetadata() { in getMetadata() method in MediaController
89 return mDelegate.getMetadata(); in getMetadata()
247 MediaMetadata data = getMetadata(); in toString()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothFeatureProviderImpl.java36 final byte[] uriByte = bluetoothDevice.getMetadata( in getBluetoothDeviceSettingsUri()
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
DMetadataImage.java45 public ListenableFuture<TotalCaptureResultProxy> getMetadata() { in getMetadata() method in MetadataImage
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
DMetadataFuture.java55 public ListenableFuture<TotalCaptureResultProxy> getMetadata() { in getMetadata() method in MetadataFuture
DSimpleImageCaptureCommand.java82 imageSaver.addFullSizeImage(image, metadataFuture.getMetadata()); in run()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackViewModel.java162 public LiveData<MediaItemMetadata> getMetadata() { in getMetadata() method in PlaybackViewModel
249 onMetadataChanged(mMediaController.getMetadata()); in onMediaControllerChanged()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPlayer.java331 MediaMetadata metadata = mDataModel.getMetadata(current.getDescription().getMediaId()); in startPlayback()
470 MediaMetadata metadata = mDataModel.getMetadata(next.getMediaId()); in playCurrentQueueIndex()

12