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/newavrcp/
DMediaPlayerListTest.java144 doReturn(prepareMediaData(PlaybackState.STATE_PAUSED)) in testUpdateMeidaDataForAudioPlaybackWhenAcitvePlayNotPlaying()
152 MediaData currentMediaData = prepareMediaData(PlaybackState.STATE_PAUSED); in testUpdateMeidaDataForAudioPlaybackWhenAcitvePlayNotPlaying()
168 currMediaData = prepareMediaData(PlaybackState.STATE_PAUSED); in testUpdateMediaDataForActivePlayerWhenAudioPlaybackIsNotActive()
191 mActivePlayerCallback.mediaUpdatedCallback(prepareMediaData(PlaybackState.STATE_PAUSED)); in testNotUdpateMediaDataForActivePlayerWhenAudioPlaybackIsActive()
DMediaPlayerWrapperTest.java98 .setState(PlaybackState.STATE_PAUSED, 0, 1.0f); in setUp()
629 s.setState(PlaybackState.STATE_PAUSED, 0, 1.0f); in testMetadataSyncFuzz()
DBrowserPlayerWrapperTest.java198 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.java377 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.java179 .setState(PlaybackStateCompat.STATE_PAUSED, mCurrentPositionMs, mPlaybackSpeed) in prepareMediaItem()
328 .setState(PlaybackStateCompat.STATE_PAUSED, mCurrentPositionMs, mPlaybackSpeed) in pausePlayback()
DTmaBrowser.java144 playbackState.setState(PlaybackStateCompat.STATE_PAUSED, 0, 0); in updatePlaybackState()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCertInstaller.java54 private static final int STATE_PAUSED = 3; field in CertInstaller
138 mState = STATE_PAUSED; in onPause()
311 if (mState == STATE_PAUSED) { in extractPkcs12InBackground()
/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/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/avrcp/helpers/
DPlayStatus.java60 case PlaybackState.STATE_PAUSED: in playbackStateToAvrcpState()
/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/Car/Radio/src/com/android/car/radio/
DRadioController.java202 case PlaybackState.STATE_PAUSED: in onSwitchToPlayState()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpPlayer.java125 case PlaybackStateCompat.STATE_PAUSED: in setPlayStatus()
DAvrcpControllerService.java466 playbackState = PlaybackStateCompat.STATE_PAUSED; in onPlayStatusChanged()
/packages/apps/Settings/src/com/android/settings/panel/
DMediaOutputPanel.java268 || playState == PlaybackState.STATE_PAUSED)) {
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/
DMediaOutputPanelTest.java310 when(mPlaybackState.getState()).thenReturn(PlaybackState.STATE_PAUSED); in onPlaybackStateChanged_stateFromPlayingToPaused_verifyCallForceClose()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/
DCarMediaServiceTest.java290 mockPlaybackStateChange(createPlaybackState(PlaybackState.STATE_PAUSED)); in testActiveSessionListener_StatePaused()
/packages/services/Telecomm/proto/
Dtelecom.proto125 STATE_PAUSED = 4; enumerator
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPlayer.java424 .setState(PlaybackState.STATE_PAUSED, currentPosition, PLAYBACK_SPEED_STOPPED) in pausePlayback()