/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | MediaPlayerWrapper.java | 67 if (getPlaybackState() == null) { in isPlaybackStateReady() 94 mCurrentData.state = getPlaybackState(); in MediaPlayerWrapper() 120 PlaybackState getPlaybackState() { in getPlaybackState() method in MediaPlayerWrapper 121 return mMediaController.getPlaybackState(); in getPlaybackState() 125 PlaybackState state = mMediaController.getPlaybackState(); in getActiveQueueID() 138 getPlaybackState(), in getCurrentMediaData() 223 getPlaybackState(), in registerCallback() 260 getPlaybackState(), in updateMediaController() 270 getPlaybackState(), in sendMediaUpdate() 311 Log.e(TAG, " └ Current Playstate: " + getPlaybackState()); in handleMessage() [all …]
|
D | MediaPlayerList.java | 274 final PlaybackState state = player.getPlaybackState(); in getCurrentMediaId() 302 PlaybackState state = player.getPlaybackState(); in getCurrentPlayStatus()
|
D | BrowsedPlayerWrapper.java | 346 PlaybackState state = mController.getPlaybackState();
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/ |
D | MediaPlayerWrapperTest.java | 127 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in setUp() 160 doReturn(null).when(mMockController).getPlaybackState(); in testIsReady() 164 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testIsReady() 191 doReturn(mTestState.build()).when(mUpdatedController).getPlaybackState(); in testControllerUpdate() 248 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testNoQueueMediaUpdates() 296 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testDataOnUpdateNoQueue() 415 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testPlaybackStateUpdateSpam() 433 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testPlaybackStateUpdateSpam() 438 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testPlaybackStateUpdateSpam() 443 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 | 285 if (mMediaSessionHelper.getPlaybackState() == PlaybackState.STATE_FAST_FORWARDING in onPause() 286 || mMediaSessionHelper.getPlaybackState() == PlaybackState.STATE_REWINDING) { in onPause() 289 if (mMediaSessionHelper.getPlaybackState() == PlaybackState.STATE_NONE) { in onPause()
|
D | DvrPlayer.java | 345 public int getPlaybackState() { in getPlaybackState() method in DvrPlayer
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/ |
D | MpegTsPlayerV2.java | 268 public int getPlaybackState() { in getPlaybackState() method in MpegTsPlayerV2 269 return mPlayer.getPlaybackState(); in getPlaybackState() 274 int state = getPlaybackState(); in isPrepared() 280 int state = getPlaybackState(); in isPlaying() 287 return getPlaybackState() == ExoPlayer.STATE_BUFFERING; in isBuffering()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/ |
D | MpegTsPlayer.java | 370 public int getPlaybackState() { in getPlaybackState() method in MpegTsPlayer 374 return mPlayer.getPlaybackState(); in getPlaybackState() 379 int state = getPlaybackState(); in isPrepared() 385 int state = getPlaybackState(); in isPlaying() 392 return getPlaybackState() == ExoPlayer.STATE_BUFFERING; in isBuffering()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerStateMachine.java | 240 || BluetoothMediaBrowserService.getPlaybackState() in requestActive() 265 BluetoothMediaBrowserService.notifyChanged(mAddressedPlayer.getPlaybackState()); in setActive() 522 PlaybackStateCompat playbackState = mAddressedPlayer.getPlaybackState(); in processMessage() 551 notifyChanged(mAddressedPlayer.getPlaybackState()); in processMessage() 587 notifyChanged(mAddressedPlayer.getPlaybackState()); in processMessage() 593 notifyChanged(mAddressedPlayer.getPlaybackState()); in processMessage()
|
D | BluetoothMediaBrowserService.java | 241 public static synchronized int getPlaybackState() { in getPlaybackState() method in BluetoothMediaBrowserService 244 sBluetoothMediaBrowserService.mSession.getController().getPlaybackState(); in getPlaybackState()
|
D | AvrcpPlayer.java | 172 public PlaybackStateCompat getPlaybackState() { in getPlaybackState() method in AvrcpPlayer
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
D | MediaButtonController.java | 268 PlaybackViewModel.PlaybackStateWrapper state = getPlaybackState(); in onNextClicked() 275 PlaybackViewModel.PlaybackStateWrapper state = getPlaybackState(); in onPrevClicked() 281 private PlaybackViewModel.PlaybackStateWrapper getPlaybackState() { in getPlaybackState() method in MediaButtonController
|
/packages/services/Car/service/src/com/android/car/ |
D | CarMediaService.java | 438 PlaybackState state = mediaController.getPlaybackState(); in MediaControllerCallback() 583 if (controller.getPlaybackState() != null in updatePrimaryMediaSourceWithCurrentlyPlaying() 584 && controller.getPlaybackState().getState() == PlaybackState.STATE_PLAYING) { in updatePrimaryMediaSourceWithCurrentlyPlaying() 756 PlaybackState state = mActiveUserMediaController.getPlaybackState(); in updateActiveMediaController()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerStateMachineTest.java | 179 BluetoothMediaBrowserService.getPlaybackState()); in testDisconnect() 192 BluetoothMediaBrowserService.getPlaybackState()); in testControlOnly() 211 BluetoothMediaBrowserService.getPlaybackState()); in testControlOnly() 224 BluetoothMediaBrowserService.getPlaybackState()); in testBrowsingOnly() 245 BluetoothMediaBrowserService.getPlaybackState()); in testBrowsingOnly()
|
/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 | 99 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 | 191 when(mMediaController.getPlaybackState()).thenReturn(mPlaybackState); in testChangeMediaSource_consistentController() 204 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() 585 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/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkStreamHandler.java | 239 if (BluetoothMediaBrowserService.getPlaybackState() in handleMessage()
|
/packages/apps/Car/Radio/src/com/android/car/radio/service/ |
D | RadioAppServiceWrapper.java | 278 public LiveData<Integer> getPlaybackState() { in getPlaybackState() method in RadioAppServiceWrapper
|