Home
last modified time | relevance | path

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

123

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsVideoProviderWrapperTest.java60 VideoProfile.STATE_BIDIRECTIONAL | VideoProfile.STATE_PAUSED)); in testIsPause()
62 VideoProfile.STATE_PAUSED)); in testIsPause()
63 assertFalse(ImsVideoCallProviderWrapper.isPauseRequest(VideoProfile.STATE_PAUSED, in testIsPause()
64 VideoProfile.STATE_PAUSED)); in testIsPause()
73 VideoProfile.STATE_BIDIRECTIONAL | VideoProfile.STATE_PAUSED, in testIsResume()
75 assertTrue(ImsVideoCallProviderWrapper.isResumeRequest(VideoProfile.STATE_PAUSED, in testIsResume()
78 VideoProfile.STATE_BIDIRECTIONAL | VideoProfile.STATE_PAUSED, in testIsResume()
79 VideoProfile.STATE_BIDIRECTIONAL | VideoProfile.STATE_PAUSED)); in testIsResume()
80 assertFalse(ImsVideoCallProviderWrapper.isResumeRequest(VideoProfile.STATE_PAUSED, in testIsResume()
81 VideoProfile.STATE_AUDIO_ONLY | VideoProfile.STATE_PAUSED)); in testIsResume()
[all …]
/frameworks/wilhelm/tests/sandbox/
Dmonkey.c32 STATE_PAUSED, enumerator
59 return STATE_PAUSED; in actionPause()
206 _(STATE_PAUSED, actionDestroy, 1)
207 _(STATE_PAUSED, actionPause, 1)
208 _(STATE_PAUSED, actionPlay, 1)
209 _(STATE_PAUSED, actionRewind, 1)
210 _(STATE_PAUSED, actionSleep, 1)
211 _(STATE_PAUSED, actionStop, 1)
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DPlayer.java45 protected static final int STATE_PAUSED = 5; field in Player
142 case STATE_PAUSED: in publishState()
143 bob.setState(PlaybackStateCompat.STATE_PAUSED, -1, 0); in publishState()
DLocalPlayer.java139 if (mState == STATE_PLAYING || mState == STATE_PAUSED) { in seek()
152 if (mState == STATE_PLAYING || mState == STATE_PAUSED) { in getStatus()
172 mState = STATE_PAUSED; in pause()
183 if (mState == STATE_READY || mState == STATE_PAUSED) { in resume()
196 if (mState == STATE_PLAYING || mState == STATE_PAUSED) { in stop()
227 mState = mState == STATE_PREPARING_FOR_PLAY ? STATE_PLAYING : STATE_PAUSED; in onPrepared()
653 if (getState() == STATE_PLAYING || getState() == STATE_PAUSED) { in getSnapshot()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DLocalRenderer.java68 private static final int CAN_PLAY = STATE_READY | STATE_PAUSED | STATE_ENDED;
81 private static final int CAN_SEEK = STATE_READY | STATE_PLAYING | STATE_PAUSED | STATE_ENDED;
90 private static final int CAN_STOP = STATE_READY | STATE_PLAYING | STATE_PAUSED | STATE_ENDED;
95 private static final int CAN_GET_POSITION = STATE_READY | STATE_PLAYING | STATE_PAUSED;
524 setState(STATE_PAUSED); in onPause()
549 setState(STATE_PAUSED); in onSeekTo()
579 return mState == STATE_PAUSED; in isPaused()
DRenderer.java60 public static final int STATE_PAUSED = 1 << 4; field in Renderer
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerSession.java200 case Renderer.STATE_PAUSED: in onStateChanged()
201 pbState = PlaybackState.STATE_PAUSED; in onStateChanged()
228 Log.d(TAG, "Focus lost, changing state to " + Renderer.STATE_PAUSED); in onFocusLost()
231 bob.setState(PlaybackState.STATE_PAUSED, position, 0, SystemClock.elapsedRealtime()); in onFocusLost()
DOnePlayerActivity.java147 if (state == PlaybackState.STATE_PAUSED
188 case PlaybackState.STATE_PAUSED:
DNotificationHelper.java165 case PlaybackState.STATE_PAUSED: in updateNotification()
/frameworks/base/telecomm/java/android/telecom/
DVideoProfile.java66 STATE_PAUSED})
117 public static final int STATE_PAUSED = 0x4; field in VideoProfile
320 return hasState(videoState, VideoProfile.STATE_PAUSED); in isPaused()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp328 case STATE_PAUSED: in start_l()
365 case STATE_PAUSED: in stop()
396 case STATE_PAUSED: in pause()
401 mState = STATE_PAUSED; in pause()
425 mState = STATE_PAUSED; in setPlaybackSettings()
428 && (mState == STATE_PAUSED in setPlaybackSettings()
458 case STATE_PAUSED: in seekTo()
481 if (mSeekInProgress || (mState == STATE_PAUSED && !mAtEOS)) { in getCurrentPosition()
940 mState = STATE_PAUSED; in notifyListener_l()
DNuPlayerDriver.h105 STATE_PAUSED, enumerator
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DMffContext.java83 public static final int STATE_PAUSED = 2; field in MffContext.State
172 mState.current = State.STATE_PAUSED; in onPause()
184 if (mState.current == State.STATE_PAUSED) { in onResume()
/frameworks/base/telephony/java/com/android/ims/
DImsCallProfile.java353 videostate |= VideoProfile.STATE_PAUSED; in getVideoStateFromImsCallProfile()
355 videostate &= ~VideoProfile.STATE_PAUSED; in getVideoStateFromImsCallProfile()
397 boolean isPaused = isVideoStateSet(videoState, VideoProfile.STATE_PAUSED); in getCallTypeFromVideoState()
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
DImsVideoCallProviderWrapper.java436 toVideoState = toVideoState & ~VideoProfile.STATE_PAUSED; in maybeFilterPauseResume()
467 toVideoState = toVideoState | VideoProfile.STATE_PAUSED; in maybeFilterPauseResume()
486 VideoProfile toProfile = new VideoProfile(fromVideoState | VideoProfile.STATE_PAUSED); in pauseVideo()
511 VideoProfile toProfile = new VideoProfile(fromVideoState & ~VideoProfile.STATE_PAUSED); in resumeVideo()
/frameworks/base/media/java/android/media/session/
DPlaybackState.java181 @IntDef({STATE_NONE, STATE_STOPPED, STATE_PAUSED, STATE_PLAYING, STATE_FAST_FORWARDING,
208 public final static int STATE_PAUSED = 2; field in PlaybackState
502 return STATE_PAUSED; in getStateFromRccState()
536 case STATE_PAUSED: in getRccStateFromState()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DQueueFragment.java211 case PlaybackStateCompat.STATE_PAUSED: in onPlaybackStateChanged()
263 if (state == PlaybackStateCompat.STATE_PAUSED ||
DPlayback.java157 if (mState == PlaybackState.STATE_PAUSED && !mediaHasChanged && mMediaPlayer != null) { in play()
211 mState = PlaybackState.STATE_PAUSED; in pause()
/frameworks/base/core/java/android/widget/
DVideoView.java91 private static final int STATE_PAUSED = 4; field in VideoView
791 mCurrentState = STATE_PAUSED; in pause()
794 mTargetState = STATE_PAUSED; in pause()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DUtil.java104 case PlaybackState.STATE_PAUSED: return "STATE_PAUSED"; in playbackStateStateToString()
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/
DMediaSessionCompatTest.java645 .setState(PlaybackStateCompat.STATE_PAUSED, 0L, 0.0f).build()); in testCallbackOnMediaButtonEvent()
661 .setState(PlaybackStateCompat.STATE_PAUSED, 0L, 0.0f).build()); in testCallbackOnMediaButtonEvent()
673 .setState(PlaybackStateCompat.STATE_PAUSED, 0L, 0.0f).build()); in testCallbackOnMediaButtonEvent()
694 .setState(PlaybackStateCompat.STATE_PAUSED, 0L, 0.0f).build()); in testCallbackOnMediaButtonEvent()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp677 if (mState != STATE_ACTIVE && mState != STATE_PAUSED) { in stop()
754 mState = STATE_PAUSED; in pause()
1132 if (isOffloaded_l() && ((mState == STATE_PAUSED) || (mState == STATE_PAUSED_STOPPING))) { in getPosition()
1866 mState = STATE_PAUSED; in processAudioBuffer()
2432 case STATE_PAUSED: in getTimestamp_l()
2505 if (mState == STATE_PAUSED /* not needed: STATE_PAUSED_STOPPING */) { in getTimestamp_l()
2548 if (isOffloaded_l() && (mState == STATE_PAUSED || mState == STATE_PAUSED_STOPPING)) { in getTimestamp_l()
2866 case STATE_PAUSED: in hasStarted()
/frameworks/support/media-compat/java/android/support/v4/media/session/
DPlaybackStateCompat.java217 @IntDef({STATE_NONE, STATE_STOPPED, STATE_PAUSED, STATE_PLAYING, STATE_FAST_FORWARDING,
243 public final static int STATE_PAUSED = 2; field in PlaybackStateCompat
/frameworks/av/include/media/
DAudioTrack.h1022 STATE_PAUSED, enumerator
/frameworks/av/media/libaudioclient/include/media/
DAudioTrack.h1022 STATE_PAUSED, enumerator

123