Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVideoProfileTest.java59 assertEquals("Audio Pause", VideoProfile.videoStateToString(VideoProfile.STATE_PAUSED)); in testToString()
61 VideoProfile.STATE_TX_ENABLED | VideoProfile.STATE_PAUSED)); in testToString()
63 VideoProfile.STATE_RX_ENABLED | VideoProfile.STATE_PAUSED)); in testToString()
65 VideoProfile.STATE_BIDIRECTIONAL | VideoProfile.STATE_PAUSED)); in testToString()
75 assertTrue(VideoProfile.isAudioOnly(VideoProfile.STATE_PAUSED)); in testIsAudioOnly()
/packages/apps/Car/Radio/src/com/android/car/radio/widget/
DPlayPauseButton.java38 private static final int[] STATE_PAUSED = {R.attr.state_paused}; field in PlayPauseButton
87 switchTo = PlaybackState.STATE_PAUSED; in onClick()
90 case PlaybackState.STATE_PAUSED: in onClick()
114 case PlaybackState.STATE_PAUSED: in onCreateDrawableState()
118 mergeDrawableStates(drawableState, STATE_PAUSED); in onCreateDrawableState()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/
DMediaPlayerListTest.java143 doReturn(prepareMediaData(PlaybackState.STATE_PAUSED)) in testUpdateMeidaDataForAudioPlaybackWhenAcitvePlayNotPlaying()
151 MediaData currentMediaData = prepareMediaData(PlaybackState.STATE_PAUSED); in testUpdateMeidaDataForAudioPlaybackWhenAcitvePlayNotPlaying()
167 currMediaData = prepareMediaData(PlaybackState.STATE_PAUSED); in testUpdateMediaDataForActivePlayerWhenAudioPlaybackIsNotActive()
190 mActivePlayerCallback.mediaUpdatedCallback(prepareMediaData(PlaybackState.STATE_PAUSED)); in testNotUdpateMediaDataForActivePlayerWhenAudioPlaybackIsActive()
DMediaPlayerWrapperTest.java124 .setState(PlaybackState.STATE_PAUSED, 0, 1.0f); in setUp()
665 s.setState(PlaybackState.STATE_PAUSED, 0, 1.0f); in testMetadataSyncFuzz()
DBrowserPlayerWrapperTest.java301 builder.setState(PlaybackState.STATE_PAUSED, 0, 1); in testPlayItem()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DProgressLiveData.java46 NO_PROGRESS_STATES.add(PlaybackStateCompat.STATE_PAUSED);
75 if (mPlaybackState.getState() != PlaybackStateCompat.STATE_PAUSED in updateProgress()
DPlaybackStateAnnotations.java52 @IntDef({PlaybackState.STATE_NONE, PlaybackState.STATE_STOPPED, PlaybackState.STATE_PAUSED,
DPlaybackViewModel.java407 case PlaybackStateCompat.STATE_PAUSED: in getMainAction()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaMediaEvent.java36 import static android.support.v4.media.session.PlaybackStateCompat.STATE_PAUSED;
62 PAUSED (STATE_PAUSED),
DTmaPlayer.java180 .setState(PlaybackStateCompat.STATE_PAUSED, mCurrentPositionMs, mPlaybackSpeed) in prepareMediaItem()
332 .setState(PlaybackStateCompat.STATE_PAUSED, mCurrentPositionMs, mPlaybackSpeed) in pausePlayback()
DTmaBrowser.java166 playbackState.setState(PlaybackStateCompat.STATE_PAUSED, 0, 0); in updatePlaybackState()
/packages/apps/Dialer/java/com/android/incallui/videotech/ims/
DImsVideoTech.java267 int pausedVideoState = call.getDetails().getVideoState() | VideoProfile.STATE_PAUSED; in pause()
346 return videoState & (~VideoProfile.STATE_PAUSED); in getUnpausedVideoState()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCertInstaller.java59 private static final int STATE_PAUSED = 3; field in CertInstaller
168 mState = STATE_PAUSED; in onPause()
341 if (mState == STATE_PAUSED) { in extractPkcs12InBackground()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackControlHelper.java190 && state != PlaybackState.STATE_PAUSED; in isMediaPlaying()
347 case PlaybackState.STATE_PAUSED: in onStateChanged()
DDvrPlayer.java176 mPlaybackState = PlaybackState.STATE_PAUSED; in pause()
572 mPlaybackState = PlaybackState.STATE_PAUSED; in resumeToWatchedPositionIfNeeded()
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/helpers/
DPlayStatus.java60 case PlaybackState.STATE_PAUSED: in playbackStateToAvrcpState()
/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioController.java202 case PlaybackState.STATE_PAUSED: in onSwitchToPlayState()
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/
DProgressLiveDataTest.java140 when(mPlaybackState.getState()).thenReturn(PlaybackStateCompat.STATE_PAUSED); in testDoesntMoveForwardWhenPaused()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpPlayer.java124 case PlaybackStateCompat.STATE_PAUSED: in setPlayStatus()
DAvrcpControllerService.java237 playbackState = PlaybackStateCompat.STATE_PAUSED; in toPlaybackStateFromJni()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/
DCarMediaServiceTest.java305 mockPlaybackStateChange(createPlaybackState(PlaybackState.STATE_PAUSED)); in testActiveSessionListener_StatePaused()
/packages/services/Telecomm/proto/
Dtelecom.proto125 STATE_PAUSED = 4; enumerator
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java1198 setPlaybackState(PlaybackStateCompat.STATE_PAUSED); in testBecomeActive()
1225 Assert.assertEquals(PlaybackStateCompat.STATE_PAUSED, playbackState.getState()); in testBecomeActive()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPlayer.java426 .setState(PlaybackState.STATE_PAUSED, currentPosition, PLAYBACK_SPEED_STOPPED) in pausePlayback()
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java275 : PlaybackState.STATE_PAUSED,