/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | MediaPlayerWrapper.java | 66 if (getPlaybackState() == null) { in isPlaybackStateReady() 105 newWrapper.mCurrentData.state = newWrapper.getPlaybackState(); in wrap() 132 PlaybackState getPlaybackState() { in getPlaybackState() method in MediaPlayerWrapper 133 return mMediaController.getPlaybackState(); in getPlaybackState() 137 if (mMediaController.getPlaybackState() == null) return -1; in getActiveQueueID() 138 return mMediaController.getPlaybackState().getActiveQueueItemId(); in getActiveQueueID() 149 getPlaybackState(), in getCurrentMediaData() 234 getPlaybackState(), in registerCallback() 271 getPlaybackState(), in updateMediaController() 281 getPlaybackState(), in sendMediaUpdate() [all …]
|
D | MediaPlayerList.java | 250 final PlaybackState state = player.getPlaybackState(); in getCurrentMediaId() 278 return player.getPlaybackState(); in getCurrentPlayStatus()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/ |
D | MediaPlayerWrapperTest.java | 127 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in setUp() 159 doReturn(null).when(mMockController).getPlaybackState(); in testIsReady() 163 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testIsReady() 189 doReturn(mTestState.build()).when(mUpdatedController).getPlaybackState(); in testControllerUpdate() 246 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testNoQueueMediaUpdates() 294 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testDataOnUpdateNoQueue() 413 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testPlaybackStateUpdateSpam() 431 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testPlaybackStateUpdateSpam() 436 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testPlaybackStateUpdateSpam() 441 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testPlaybackStateUpdateSpam() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
D | DvrPlaybackMediaSessionHelper.java | 122 mDvrPlayer.getPlaybackState(), in updateMediaSessionPlaybackState() 154 public int getPlaybackState() { in getPlaybackState() method in DvrPlaybackMediaSessionHelper 155 return mDvrPlayer.getPlaybackState(); in getPlaybackState() 314 if (mDvrPlayer.getPlaybackState() == PlaybackState.STATE_FAST_FORWARDING) { in onFastForward() 332 if (mDvrPlayer.getPlaybackState() == PlaybackState.STATE_REWINDING) { in onRewind()
|
D | DvrPlaybackControlHelper.java | 177 PlaybackState playbackState = mMediaController.getPlaybackState(); in hasValidMedia() 183 PlaybackState playbackState = mMediaController.getPlaybackState(); in isMediaPlaying() 243 PlaybackState playbackState = mMediaController.getPlaybackState(); in getCurrentPosition()
|
D | DvrPlaybackOverlayFragment.java | 260 if (mMediaSessionHelper.getPlaybackState() == PlaybackState.STATE_FAST_FORWARDING in onPause() 261 || mMediaSessionHelper.getPlaybackState() == PlaybackState.STATE_REWINDING) { in onPause() 264 if (mMediaSessionHelper.getPlaybackState() == PlaybackState.STATE_NONE) { in onPause()
|
D | DvrPlayer.java | 340 public int getPlaybackState() { in getPlaybackState() method in DvrPlayer
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | MpegTsPlayer.java | 369 public int getPlaybackState() { in getPlaybackState() method in MpegTsPlayer 373 return mPlayer.getPlaybackState(); in getPlaybackState() 378 int state = getPlaybackState(); in isPrepared() 384 int state = getPlaybackState(); in isPlaying() 391 return getPlaybackState() == ExoPlayer.STATE_BUFFERING; in isBuffering()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarMediaService.java | 279 PlaybackState state = mediaController.getPlaybackState(); in MediaControllerCallback() 407 if (controller.getPlaybackState() != null in updatePrimaryMediaSourceWithCurrentlyPlaying() 408 && controller.getPlaybackState().getState() == PlaybackState.STATE_PLAYING) { in updatePrimaryMediaSourceWithCurrentlyPlaying() 515 PlaybackState state = mActiveUserMediaController.getPlaybackState(); in updateActiveMediaController()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
D | MediaButtonController.java | 275 PlaybackViewModel.PlaybackStateWrapper state = getPlaybackState(); in onNextClicked() 282 PlaybackViewModel.PlaybackStateWrapper state = getPlaybackState(); in onPrevClicked() 288 private PlaybackViewModel.PlaybackStateWrapper getPlaybackState() { in getPlaybackState() method in MediaButtonController
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerStateMachine.java | 212 BluetoothMediaBrowserService.notifyChanged(mAddressedPlayer.getPlaybackState()); in onBrowsingConnected() 332 BluetoothMediaBrowserService.notifyChanged(mAddressedPlayer.getPlaybackState()); in processMessage() 333 if (mAddressedPlayer.getPlaybackState().getState() in processMessage() 347 mAddressedPlayer.getPlaybackState()); in processMessage()
|
D | AvrcpPlayer.java | 134 public PlaybackState getPlaybackState() { in getPlaybackState() method in AvrcpPlayer
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
D | RadioController.java | 100 public LiveData<Integer> getPlaybackState() { in getPlaybackState() method in RadioController 101 return mAppService.getPlaybackState(); in getPlaybackState()
|
D | DisplayController.java | 101 radioController.getPlaybackState().observe(activity, this::onPlaybackStateChanged); in DisplayController()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/ |
D | MediaController.java | 79 public PlaybackState getPlaybackState() { in getPlaybackState() method in MediaController 80 return mDelegate.getPlaybackState(); in getPlaybackState()
|
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/ |
D | PlaybackViewModelTest.java | 194 when(mMediaController.getPlaybackState()).thenReturn(mPlaybackState); in testChangeMediaSource_consistentController() 207 when(newController.getPlaybackState()).thenReturn(newPlaybackState); in testChangeMediaSource_consistentController()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/ |
D | PlaybackViewModel.java | 250 onPlaybackStateChanged(mMediaController.getPlaybackState()); in onMediaControllerChanged() 572 PlaybackStateCompat oldState = mMediaController.getPlaybackState(); in seekTo()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrTvView.java | 55 return mDvrPlayer.getPlaybackState() == PlaybackState.STATE_PLAYING; in isPlaying()
|
/packages/apps/Car/Radio/src/com/android/car/radio/media/ |
D | TunerSession.java | 90 appService.getPlaybackState().observeForever(this::onPlaybackStateChanged); in TunerSession()
|
/packages/apps/Car/Radio/src/com/android/car/radio/service/ |
D | RadioAppServiceWrapper.java | 277 public LiveData<Integer> getPlaybackState() { in getPlaybackState() method in RadioAppServiceWrapper
|