Home
last modified time | relevance | path

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

12

/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/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp264 case STATE_PAUSED: in start_l()
301 case STATE_PAUSED: in stop()
332 case STATE_PAUSED: in pause()
337 mState = STATE_PAUSED; in pause()
361 mState = STATE_PAUSED; in setPlaybackSettings()
364 && (mState == STATE_PAUSED in setPlaybackSettings()
394 case STATE_PAUSED: in seekTo()
417 if (mSeekInProgress || (mState == STATE_PAUSED && !mAtEOS)) { in getCurrentPosition()
746 mState = STATE_PAUSED; in notifyListener_l()
DNuPlayerDriver.h93 STATE_PAUSED, enumerator
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DPlayer.java43 protected static final int STATE_PAUSED = 5; field in Player
137 case STATE_PAUSED: in publishState()
138 bob.setState(PlaybackStateCompat.STATE_PAUSED, -1, 0); in publishState()
DLocalPlayer.java138 if (mState == STATE_PLAYING || mState == STATE_PAUSED) { in seek()
151 if (mState == STATE_PLAYING || mState == STATE_PAUSED) { in getStatus()
171 mState = STATE_PAUSED; in pause()
182 if (mState == STATE_READY || mState == STATE_PAUSED) { in resume()
195 if (mState == STATE_PLAYING || mState == STATE_PAUSED) { in stop()
226 mState = mState == STATE_PREPARING_FOR_PLAY ? STATE_PLAYING : STATE_PAUSED; in onPrepared()
643 if (getState() == STATE_PLAYING || getState() == STATE_PAUSED) { in getSnapshot()
DRemotePlayer.java216 publishState(STATE_PAUSED); in pause()
/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
317 return hasState(videoState, VideoProfile.STATE_PAUSED); in isPaused()
/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/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/media-compat/ics/android/support/v4/media/session/
DMediaSessionCompatApi14.java35 final static int STATE_PAUSED = 2; field in MediaSessionCompatApi14
114 case STATE_PAUSED: in getRccStateFromState()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DQueueFragment.java210 case PlaybackStateCompat.STATE_PAUSED: in onPlaybackStateChanged()
262 if (state == PlaybackStateCompat.STATE_PAUSED ||
DPlayback.java157 if (mState == PlaybackState.STATE_PAUSED && !mediaHasChanged && mMediaPlayer != null) { in play()
211 mState = PlaybackState.STATE_PAUSED; in pause()
DMediaBrowserServiceSupport.java672 || state == PlaybackStateCompat.STATE_PAUSED) { in updatePlaybackState()
/frameworks/base/core/java/android/widget/
DVideoView.java84 private static final int STATE_PAUSED = 4; field in VideoView
734 mCurrentState = STATE_PAUSED; in pause()
737 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/java/android/support/v4/media/session/
DPlaybackStateCompat.java189 @IntDef({STATE_NONE, STATE_STOPPED, STATE_PAUSED, STATE_PLAYING, STATE_FAST_FORWARDING,
215 public final static int STATE_PAUSED = 2; field in PlaybackStateCompat
/frameworks/av/media/libmedia/
DAudioTrack.cpp648 if (mState != STATE_ACTIVE && mState != STATE_PAUSED) { in stop()
723 mState = STATE_PAUSED; in pause()
1100 if (isOffloaded_l() && ((mState == STATE_PAUSED) || (mState == STATE_PAUSED_STOPPING))) { in getPosition()
1824 mState = STATE_PAUSED; in processAudioBuffer()
2325 case STATE_PAUSED: in getTimestamp()
2411 if (isOffloaded_l() && (mState == STATE_PAUSED || mState == STATE_PAUSED_STOPPING)) { in getTimestamp()
/frameworks/av/include/media/
DAudioTrack.h984 STATE_PAUSED, enumerator
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java333 if (includeRecentlyActive && state == mPlaybackState.STATE_PAUSED) { in isPlaybackActive()
793 if (MediaSession.isActiveState(oldState) && newState == PlaybackState.STATE_PAUSED) { in setPlaybackState()

12