Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerWrapper.java67 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 …]
DMediaPlayerList.java274 final PlaybackState state = player.getPlaybackState(); in getCurrentMediaId()
302 PlaybackState state = player.getPlaybackState(); in getCurrentPlayStatus()
DBrowsedPlayerWrapper.java346 PlaybackState state = mController.getPlaybackState();
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DMediaPlayerWrapperTest.java127 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/
DDvrPlaybackMediaSessionHelper.java122 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()
DDvrPlaybackControlHelper.java177 PlaybackState playbackState = mMediaController.getPlaybackState(); in hasValidMedia()
183 PlaybackState playbackState = mMediaController.getPlaybackState(); in isMediaPlaying()
243 PlaybackState playbackState = mMediaController.getPlaybackState(); in getCurrentPosition()
DDvrPlaybackOverlayFragment.java285 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()
DDvrPlayer.java345 public int getPlaybackState() { in getPlaybackState() method in DvrPlayer
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DMpegTsPlayerV2.java268 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/
DMpegTsPlayer.java370 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/
DAvrcpControllerStateMachine.java240 || 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()
DBluetoothMediaBrowserService.java241 public static synchronized int getPlaybackState() { in getPlaybackState() method in BluetoothMediaBrowserService
244 sBluetoothMediaBrowserService.mSession.getController().getPlaybackState(); in getPlaybackState()
DAvrcpPlayer.java172 public PlaybackStateCompat getPlaybackState() { in getPlaybackState() method in AvrcpPlayer
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DMediaButtonController.java268 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/
DCarMediaService.java438 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/
DAvrcpControllerStateMachineTest.java179 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/
DRadioController.java100 public LiveData<Integer> getPlaybackState() { in getPlaybackState() method in RadioController
101 return mAppService.getPlaybackState(); in getPlaybackState()
DDisplayController.java99 radioController.getPlaybackState().observe(activity, this::onPlaybackStateChanged); in DisplayController()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/
DMediaController.java79 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/
DPlaybackViewModelTest.java191 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/
DPlaybackViewModel.java250 onPlaybackStateChanged(mMediaController.getPlaybackState()); in onMediaControllerChanged()
585 PlaybackStateCompat oldState = mMediaController.getPlaybackState(); in seekTo()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrTvView.java55 return mDvrPlayer.getPlaybackState() == PlaybackState.STATE_PLAYING; in isPlaying()
/packages/apps/Car/Radio/src/com/android/car/radio/media/
DTunerSession.java90 appService.getPlaybackState().observeForever(this::onPlaybackStateChanged); in TunerSession()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStreamHandler.java239 if (BluetoothMediaBrowserService.getPlaybackState() in handleMessage()
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DRadioAppServiceWrapper.java278 public LiveData<Integer> getPlaybackState() { in getPlaybackState() method in RadioAppServiceWrapper