Home
last modified time | relevance | path

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

12

/packages/apps/Car/Radio/src/com/android/car/radio/widget/
DPlayPauseButton.java37 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/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DMediaPlayerListTest.java149 Assert.assertEquals(data.state.getState(), PlaybackState.STATE_PLAYING); in testUpdateMeidaDataForAudioPlaybackWhenAcitvePlayNotPlaying()
164 MediaData currMediaData = prepareMediaData(PlaybackState.STATE_PLAYING); in testUpdateMediaDataForActivePlayerWhenAudioPlaybackIsNotActive()
176 doReturn(prepareMediaData(PlaybackState.STATE_PLAYING)) in testNotUdpateMediaDataForAudioPlaybackWhenActivePlayerIsPlaying()
185 doReturn(prepareMediaData(PlaybackState.STATE_PLAYING)) in testNotUdpateMediaDataForActivePlayerWhenAudioPlaybackIsActive()
DMediaPlayerWrapperTest.java414 mTestState.setState(PlaybackState.STATE_PLAYING, 1000, 1.0f); in testPlaybackStateUpdateSpam()
432 mTestState.setState(PlaybackState.STATE_PLAYING, 1020, 1.0f); in testPlaybackStateUpdateSpam()
437 mTestState.setState(PlaybackState.STATE_PLAYING, 1040, 1.0f); in testPlaybackStateUpdateSpam()
442 mTestState.setState(PlaybackState.STATE_PLAYING, 3000, 1.0f); in testPlaybackStateUpdateSpam()
DBrowserPlayerWrapperTest.java203 builder.setState(PlaybackState.STATE_PLAYING, 0, 1); in testPlayItem()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java137 BluetoothA2dp.STATE_PLAYING); in doQuit()
164 BluetoothA2dp.STATE_PLAYING); in enter()
479 BluetoothA2dp.STATE_PLAYING); in enter()
567 broadcastAudioState(BluetoothA2dp.STATE_PLAYING, in processAudioStateEvent()
579 BluetoothA2dp.STATE_PLAYING); in processAudioStateEvent()
758 case BluetoothA2dp.STATE_PLAYING: in audioStateToString()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlayer.java159 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()
DDvrPlaybackControlHelper.java342 case PlaybackState.STATE_PLAYING: in onStateChanged()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerList.java304 && (state == null || state.getState() != PlaybackState.STATE_PLAYING)) { in getCurrentPlayStatus()
306 .setState(PlaybackState.STATE_PLAYING, in getCurrentPlayStatus()
694 && currState.getState() == PlaybackState.STATE_PLAYING) { in updateMediaForAudioPlayback()
701 .setState(PlaybackState.STATE_PLAYING, in updateMediaForAudioPlayback()
763 if (mAudioPlaybackIsActive && (data.state.getState() != PlaybackState.STATE_PLAYING)) {
DBrowsedPlayerWrapper.java347 if (state == null || state.getState() != PlaybackState.STATE_PLAYING) {
379 if (state.getState() == PlaybackState.STATE_PLAYING) {
/packages/apps/Car/Radio/src/com/android/car/radio/audio/
DAudioStreamController.java223 ? PlaybackState.STATE_PLAYING : PlaybackState.STATE_ERROR); in onTuneCompleted()
243 notifyPlaybackStateLocked(PlaybackState.STATE_PLAYING); in requestMuted()
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java452 if (state.getState() == PlaybackState.STATE_PLAYING in onPlaybackStateChanged()
584 && controller.getPlaybackState().getState() == PlaybackState.STATE_PLAYING) { in updatePrimaryMediaSourceWithCurrentlyPlaying()
784 == PlaybackState.STATE_PLAYING; in shouldStartPlayback()
786 return mCurrentPlaybackState == PlaybackState.STATE_PLAYING; in shouldStartPlayback()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java753 PlaybackStateCompat.STATE_PLAYING); in testPlaybackWhileMusicPlaying()
771 PlaybackStateCompat.STATE_PLAYING); in testPlaybackWhileIdle()
788 PlaybackStateCompat.STATE_PLAYING); in testPlaybackWhileErrorState()
808 PlaybackStateCompat.STATE_PLAYING); in testPlaybackWhilePlayingState()
838 PlaybackStateCompat.STATE_PLAYING); in testPlaybackWhileNotActiveDevice()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaMediaEvent.java37 import static android.support.v4.media.session.PlaybackStateCompat.STATE_PLAYING;
63 PLAYING (STATE_PLAYING),
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/
DPlayStatus.java57 case PlaybackState.STATE_PLAYING: in playbackStateToAvrcpState()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackStateAnnotations.java52 PlaybackState.STATE_PLAYING, PlaybackState.STATE_FAST_FORWARDING,
DPlaybackViewModel.java356 case PlaybackStateCompat.STATE_PLAYING: in getMainAction()
395 return mState.getState() == PlaybackStateCompat.STATE_PLAYING; in isPlaying()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrTvView.java55 return mDvrPlayer.getPlaybackState() == PlaybackState.STATE_PLAYING; in isPlaying()
/packages/apps/TV/tests/robotests/src/com/android/tv/
DMediaSessionWrapperTest.java88 assertThat(mediaSession.mPlaybackState.getState()).isEqualTo(PlaybackState.STATE_PLAYING); in setPlaybackState_true()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java593 BluetoothA2dp.STATE_PLAYING, in testProcessAudioStateChangedCodecConfigChangedEvents()
617 BluetoothA2dp.STATE_PLAYING); in testProcessAudioStateChangedCodecConfigChangedEvents()
620 BluetoothA2dp.STATE_PLAYING, in testProcessAudioStateChangedCodecConfigChangedEvents()
/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioController.java199 case PlaybackState.STATE_PLAYING: in onSwitchToPlayState()
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/
DProgressLiveDataTest.java73 when(mPlaybackState.getState()).thenReturn(PlaybackStateCompat.STATE_PLAYING); in setUp()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpPlayer.java122 case PlaybackStateCompat.STATE_PLAYING: in setPlayStatus()
DAvrcpControllerStateMachine.java241 != PlaybackStateCompat.STATE_PLAYING) { in requestActive()
537 if (playbackState.getState() == PlaybackStateCompat.STATE_PLAYING in processMessage()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStreamHandler.java240 == PlaybackStateCompat.STATE_PLAYING && !inCallFromStreamingDevice()) { in handleMessage()
/packages/apps/TV/src/com/android/tv/
DMediaSessionWrapper.java56 PlaybackState.STATE_PLAYING,

12