/packages/apps/Car/Radio/src/com/android/car/radio/widget/ |
D | PlayPauseButton.java | 37 private static final int[] STATE_PLAYING = {R.attr.state_playing}; field in PlayPauseButton 83 case PlaybackState.STATE_PLAYING: in onClick() 93 switchTo = PlaybackState.STATE_PLAYING; in onClick() 110 case PlaybackState.STATE_PLAYING: in onCreateDrawableState() 111 mergeDrawableStates(drawableState, STATE_PLAYING); in onCreateDrawableState()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/ |
D | MediaOutputUtilsTest.java | 88 .setState(PlaybackState.STATE_PLAYING, 0, 1) in getActiveLocalMediaController_remoteMediaPlaying_returnNull() 127 .setState(PlaybackState.STATE_PLAYING, 0, 1) in getActiveLocalMediaController_bothHaveRemoteMediaAndLocalMedia_returnNull() 153 .setState(PlaybackState.STATE_PLAYING, 0, 1) in getActiveLocalMediaController_bothHaveLocalMediaAndRemoteMedia_returnNull() 177 .setState(PlaybackState.STATE_PLAYING, 0, 1) in initPlayback()
|
D | MediaOutputIndicatorWorkerTest.java | 221 .setState(PlaybackState.STATE_PLAYING, 0, 1) in initPlayback() 235 .setState(PlaybackState.STATE_PLAYING, 0, 1) in getActiveLocalMediaController_remoteMediaPlaying_returnNull() 273 .setState(PlaybackState.STATE_PLAYING, 0, 1) in getActiveLocalMediaController_bothHaveRemoteMediaAndLocalMedia_returnNull()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/ |
D | MediaPlayerListTest.java | 148 Assert.assertEquals(data.state.getState(), PlaybackState.STATE_PLAYING); in testUpdateMeidaDataForAudioPlaybackWhenAcitvePlayNotPlaying() 163 MediaData currMediaData = prepareMediaData(PlaybackState.STATE_PLAYING); in testUpdateMediaDataForActivePlayerWhenAudioPlaybackIsNotActive() 175 doReturn(prepareMediaData(PlaybackState.STATE_PLAYING)) in testNotUdpateMediaDataForAudioPlaybackWhenActivePlayerIsPlaying() 184 doReturn(prepareMediaData(PlaybackState.STATE_PLAYING)) in testNotUdpateMediaDataForActivePlayerWhenAudioPlaybackIsActive()
|
D | MediaPlayerWrapperTest.java | 449 mTestState.setState(PlaybackState.STATE_PLAYING, 1000, 1.0f); in testPlaybackStateUpdateSpam() 467 mTestState.setState(PlaybackState.STATE_PLAYING, 1020, 1.0f); in testPlaybackStateUpdateSpam() 472 mTestState.setState(PlaybackState.STATE_PLAYING, 1040, 1.0f); in testPlaybackStateUpdateSpam() 477 mTestState.setState(PlaybackState.STATE_PLAYING, 3000, 1.0f); in testPlaybackStateUpdateSpam()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpStateMachine.java | 140 BluetoothA2dp.STATE_PLAYING); in doQuit() 167 BluetoothA2dp.STATE_PLAYING); in enter() 482 BluetoothA2dp.STATE_PLAYING); in enter() 570 broadcastAudioState(BluetoothA2dp.STATE_PLAYING, in processAudioStateEvent() 582 BluetoothA2dp.STATE_PLAYING); in processAudioStateEvent() 762 case BluetoothA2dp.STATE_PLAYING: in audioStateToString()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
D | DvrPlayer.java | 159 mPlaybackState = PlaybackState.STATE_PLAYING; in play() 174 case PlaybackState.STATE_PLAYING: in pause() 242 mPlaybackState = PlaybackState.STATE_PLAYING; in seekTo() 576 mPlaybackState = PlaybackState.STATE_PLAYING; in resumeToWatchedPositionIfNeeded()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarMediaService.java | 247 boolean weArePlaying = mCurrentPlaybackState == PlaybackState.STATE_PLAYING; 274 .setState(shouldBePlaying ? PlaybackState.STATE_PLAYING 629 if (state.getState() == PlaybackState.STATE_PLAYING in onPlaybackStateChanged() 806 && controller.getPlaybackState().getState() == PlaybackState.STATE_PLAYING) { in updatePrimaryMediaSourceWithCurrentlyPlaying() 1023 == PlaybackState.STATE_PLAYING; in shouldStartPlayback() 1026 return mCurrentPlaybackState == PlaybackState.STATE_PLAYING; in shouldStartPlayback()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/ |
D | MediaPlayerList.java | 321 && (state == null || state.getState() != PlaybackState.STATE_PLAYING)) { in getCurrentPlayStatus() 323 .setState(PlaybackState.STATE_PLAYING, in getCurrentPlayStatus() 731 && currState.getState() == PlaybackState.STATE_PLAYING) { in updateMediaForAudioPlayback() 738 .setState(PlaybackState.STATE_PLAYING, in updateMediaForAudioPlayback() 800 if (mAudioPlaybackIsActive && (data.state.getState() != PlaybackState.STATE_PLAYING)) {
|
D | BrowsedPlayerWrapper.java | 347 if (state == null || state.getState() != PlaybackState.STATE_PLAYING) { 379 if (state.getState() == PlaybackState.STATE_PLAYING) {
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/ |
D | CarMediaServiceTest.java | 263 mockPlaybackStateChange(createPlaybackState(PlaybackState.STATE_PLAYING)); in testActiveSessionListener_StatePlayingChangesSource() 276 mockPlaybackStateChange(createPlaybackState(PlaybackState.STATE_PLAYING)); in testActiveSessionListener_IndependentBrowseUnchanged() 291 mockPlaybackStateChange(createPlaybackState(PlaybackState.STATE_PLAYING)); in testActiveSessionListener_DependentBrowseChanged()
|
/packages/apps/Car/Radio/src/com/android/car/radio/audio/ |
D | AudioStreamController.java | 223 ? PlaybackState.STATE_PLAYING : PlaybackState.STATE_ERROR); in onTuneCompleted() 243 notifyPlaybackStateLocked(PlaybackState.STATE_PLAYING); in requestMuted()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaMediaEvent.java | 37 import static android.support.v4.media.session.PlaybackStateCompat.STATE_PLAYING; 63 PLAYING (STATE_PLAYING),
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerStateMachineTest.java | 1097 PlaybackStateCompat.STATE_PLAYING); in testPlaybackWhileMusicPlaying() 1115 PlaybackStateCompat.STATE_PLAYING); in testPlaybackWhileIdle() 1132 PlaybackStateCompat.STATE_PLAYING); in testPlaybackWhileErrorState() 1152 PlaybackStateCompat.STATE_PLAYING); in testPlaybackWhilePlayingState() 1295 setPlaybackState(PlaybackStateCompat.STATE_PLAYING); in testPlaybackWhileNotActiveDevice()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/helpers/ |
D | PlayStatus.java | 57 case PlaybackState.STATE_PLAYING: in playbackStateToAvrcpState()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/ |
D | PlaybackStateAnnotations.java | 53 PlaybackState.STATE_PLAYING, PlaybackState.STATE_FAST_FORWARDING,
|
D | PlaybackViewModel.java | 397 case PlaybackStateCompat.STATE_PLAYING: in getMainAction() 436 return mState.getState() == PlaybackStateCompat.STATE_PLAYING; in isPlaying()
|
/packages/apps/Settings/src/com/android/settings/media/ |
D | MediaOutputUtils.java | 67 if (playbackState.getState() != PlaybackState.STATE_PLAYING) { in getActiveLocalMediaController()
|
/packages/apps/TV/src/com/android/tv/dvr/ |
D | DvrTvView.java | 55 return mDvrPlayer.getPlaybackState() == PlaybackState.STATE_PLAYING; in isPlaying()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/ |
D | MediaSessionWrapperTest.java | 88 assertThat(mediaSession.mPlaybackState.getState()).isEqualTo(PlaybackState.STATE_PLAYING); in setPlaybackState_true()
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
D | RadioController.java | 199 case PlaybackState.STATE_PLAYING: in onSwitchToPlayState()
|
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/ |
D | ProgressLiveDataTest.java | 73 when(mPlaybackState.getState()).thenReturn(PlaybackStateCompat.STATE_PLAYING); in setUp()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpServiceTest.java | 594 BluetoothA2dp.STATE_PLAYING, in testProcessAudioStateChangedCodecConfigChangedEvents() 618 BluetoothA2dp.STATE_PLAYING); in testProcessAudioStateChangedCodecConfigChangedEvents() 621 BluetoothA2dp.STATE_PLAYING, in testProcessAudioStateChangedCodecConfigChangedEvents()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkStreamHandler.java | 241 == PlaybackStateCompat.STATE_PLAYING && !inCallFromStreamingDevice()) { in handleMessage()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpPlayer.java | 121 case PlaybackStateCompat.STATE_PLAYING: in setPlayStatus()
|