/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/ |
D | MediaPlayerWrapper.java | 69 if (getPlaybackState() == null) { in isPlaybackStateReady() 97 mCurrentData.state = getPlaybackState(); in MediaPlayerWrapper() 123 public PlaybackState getPlaybackState() { in getPlaybackState() method in MediaPlayerWrapper 124 return mMediaController.getPlaybackState(); in getPlaybackState() 128 PlaybackState state = mMediaController.getPlaybackState(); in getActiveQueueID() 141 getPlaybackState(), in getCurrentMediaData() 265 getPlaybackState(), in registerCallback() 302 getPlaybackState(), in updateMediaController() 312 getPlaybackState(), in sendMediaUpdate() 353 Log.e(TAG, " └ Current Playstate: " + getPlaybackState()); in handleMessage() [all …]
|
D | MediaPlayerList.java | 291 final PlaybackState state = player.getPlaybackState(); in getCurrentMediaId() 319 PlaybackState state = player.getPlaybackState(); in getCurrentPlayStatus()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/ |
D | MediaOutputUtilsTest.java | 72 when(mMediaController.getPlaybackState()).thenReturn(mPlaybackState); in getActiveLocalMediaController_localMediaPlaying_returnController() 92 when(mMediaController.getPlaybackState()).thenReturn(mPlaybackState); in getActiveLocalMediaController_remoteMediaPlaying_returnNull() 111 when(mMediaController.getPlaybackState()).thenReturn(mPlaybackState); in getActiveLocalMediaController_localMediaStopped_returnNull() 136 when(mMediaController.getPlaybackState()).thenReturn(mPlaybackState); in getActiveLocalMediaController_bothHaveRemoteMediaAndLocalMedia_returnNull() 138 when(remoteMediaController.getPlaybackState()).thenReturn(playbackState); in getActiveLocalMediaController_bothHaveRemoteMediaAndLocalMedia_returnNull() 161 when(mMediaController.getPlaybackState()).thenReturn(mPlaybackState); in getActiveLocalMediaController_bothHaveLocalMediaAndRemoteMedia_returnNull() 163 when(remoteMediaController.getPlaybackState()).thenReturn(playbackState); in getActiveLocalMediaController_bothHaveLocalMediaAndRemoteMedia_returnNull()
|
D | MediaOutputIndicatorWorkerTest.java | 109 when(mMediaController.getPlaybackState()).thenReturn(mPlaybackState); in onSlicePinned_registerCallback() 126 when(mMediaController.getPlaybackState()).thenReturn(mPlaybackState); in onSlicePinned_packageUpdated_checkPackageName() 173 when(mMediaController.getPlaybackState()).thenReturn(mPlaybackState); in onSliceUnpinned_unRegisterCallback() 206 when(mMediaController.getPlaybackState()).thenReturn(mPlaybackState); in getActiveLocalMediaController_localMediaPlaying_returnController() 239 when(mMediaController.getPlaybackState()).thenReturn(mPlaybackState); in getActiveLocalMediaController_remoteMediaPlaying_returnNull() 258 when(mMediaController.getPlaybackState()).thenReturn(mPlaybackState); in getActiveLocalMediaController_localMediaStopped_returnNull() 281 when(mMediaController.getPlaybackState()).thenReturn(mPlaybackState); in getActiveLocalMediaController_bothHaveRemoteMediaAndLocalMedia_returnNull() 283 when(remoteMediaController.getPlaybackState()).thenReturn(playbackState); in getActiveLocalMediaController_bothHaveRemoteMediaAndLocalMedia_returnNull()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/ |
D | MediaPlayerWrapperTest.java | 156 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in setUp() 195 doReturn(null).when(mMockController).getPlaybackState(); in testIsReady() 199 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testIsReady() 226 doReturn(mTestState.build()).when(mUpdatedController).getPlaybackState(); in testControllerUpdate() 283 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testNoQueueMediaUpdates() 331 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testDataOnUpdateNoQueue() 450 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testPlaybackStateUpdateSpam() 468 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testPlaybackStateUpdateSpam() 473 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testPlaybackStateUpdateSpam() 478 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()
|
/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 | BluetoothMediaBrowserService.java | 92 controller == null ? null : controller.getPlaybackState(); in onReceive() 279 public static synchronized int getPlaybackState() { in getPlaybackState() method in BluetoothMediaBrowserService 282 sBluetoothMediaBrowserService.mSession.getController().getPlaybackState(); in getPlaybackState() 351 controller == null ? null : controller.getPlaybackState(); in dump()
|
D | AvrcpControllerStateMachine.java | 482 mAddressedPlayer.getPlaybackState()); in processMessage() 548 PlaybackStateCompat playbackState = mAddressedPlayer.getPlaybackState(); in processMessage() 577 notifyChanged(mAddressedPlayer.getPlaybackState()); in processMessage() 630 notifyChanged(mAddressedPlayer.getPlaybackState()); in processMessage() 636 notifyChanged(mAddressedPlayer.getPlaybackState()); in processMessage()
|
D | AvrcpPlayer.java | 171 public PlaybackStateCompat getPlaybackState() { in getPlaybackState() method in AvrcpPlayer
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
D | MediaButtonController.java | 286 PlaybackViewModel.PlaybackStateWrapper state = getPlaybackState(); in onNextClicked() 293 PlaybackViewModel.PlaybackStateWrapper state = getPlaybackState(); in onPrevClicked() 299 private PlaybackViewModel.PlaybackStateWrapper getPlaybackState() { in getPlaybackState() method in MediaButtonController
|
/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 | 97 radioController.getPlaybackState().observe(activity, this::onPlaybackStateChanged); in DisplayController()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarMediaService.java | 270 PlaybackState oldState = mediaController.getPlaybackState(); 615 PlaybackState state = mediaController.getPlaybackState(); in MediaControllerCallback() 805 if (controller.getPlaybackState() != null in updatePrimaryMediaSourceWithCurrentlyPlaying() 806 && controller.getPlaybackState().getState() == PlaybackState.STATE_PLAYING) { in updatePrimaryMediaSourceWithCurrentlyPlaying() 997 PlaybackState state = mActiveUserMediaController.getPlaybackState(); in updateActiveMediaControllerLocked()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/mockable/ |
D | MediaController.java | 79 public PlaybackState getPlaybackState() { in getPlaybackState() method in MediaController 80 return mDelegate.getPlaybackState(); in getPlaybackState()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerStateMachineTest.java | 390 BluetoothMediaBrowserService.getPlaybackState()); in testControlOnly() 419 BluetoothMediaBrowserService.getPlaybackState()); in testBrowsingOnly() 1223 PlaybackStateCompat playbackState = controller.getPlaybackState(); in testBecomeActive() 1304 BluetoothMediaBrowserService.getPlaybackState()); in testPlaybackWhileNotActiveDevice() 1329 PlaybackStateCompat playbackState = controller.getPlaybackState(); in testPlayPositionChangeWhileNotActiveDevice()
|
/packages/apps/Settings/src/com/android/settings/media/ |
D | MediaOutputUtils.java | 56 final PlaybackState playbackState = controller.getPlaybackState(); in getActiveLocalMediaController()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/ |
D | MediaOutputPreferenceControllerTest.java | 165 when(mMediaController.getPlaybackState()).thenReturn(mPlaybackState); in setUp() 276 when(mMediaController.getPlaybackState()).thenReturn(mPlaybackState); in updateState_noActiveLocalPlayback_noTitle()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrTvView.java | 55 return mDvrPlayer.getPlaybackState() == PlaybackState.STATE_PLAYING; in isPlaying()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/ |
D | PlaybackViewModel.java | 288 onPlaybackStateChanged(mMediaController.getPlaybackState()); in setMediaController() 626 PlaybackStateCompat oldState = mMediaController.getPlaybackState(); in seekTo()
|
/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 | 240 if (BluetoothMediaBrowserService.getPlaybackState() in handleMessage()
|