Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DSeekBarViewModelTest.kt140 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in updateDurationWithPlayback()
179 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in updateDurationNegative()
200 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in updateDurationZero()
217 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in updateDurationNoMetadata()
232 setState(PlaybackState.STATE_PLAYING, position, 1f) in updateElapsedTime()
418 setState(PlaybackState.STATE_PLAYING, 100L, 1f) in queuePollTaskWhenPlaying()
452 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in queuePollTaskWhenListening()
472 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in noQueuePollTaskWhenNotListening()
486 setState(PlaybackState.STATE_PLAYING, 100L, 1f) in pollTaskQueuesAnotherPollTaskWhenPlaying()
506 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in noQueuePollTaskWhenSeeking()
[all …]
DMediaTimeoutListenerTest.kt105 `when`(playingState.state).thenReturn(PlaybackState.STATE_PLAYING) in testOnMediaDataLoaded_registersPlaybackListener()
156 `when`(playingState.state).thenReturn(PlaybackState.STATE_PLAYING) in testOnMediaDataLoaded_migratesKeys()
199 .setState(PlaybackState.STATE_PLAYING, 0L, 0f).build()) in testOnPlaybackStateChanged_cancelsTimeout_whenResumed()
254 `when`(playingState.state).thenReturn(PlaybackState.STATE_PLAYING) in testSessionDestroyed_thenRestarts_resetsTimeout()
/frameworks/wilhelm/tests/sandbox/
Dmonkey.c33 STATE_PLAYING, enumerator
67 return STATE_PLAYING; in actionPlay()
212 _(STATE_PLAYING, actionDestroy, 1)
213 _(STATE_PLAYING, actionPause, 1)
214 _(STATE_PLAYING, actionPlay, 1)
215 _(STATE_PLAYING, actionRewind, 1)
216 _(STATE_PLAYING, actionSleep, 1)
217 _(STATE_PLAYING, actionStop, 1)
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DLocalRenderer.java77 private static final int CAN_PAUSE = STATE_PLAYING;
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;
276 setState(STATE_PLAYING); in onPrepared()
353 if (mState == STATE_PLAYING) { in onAudioFocusChange()
360 if (mState == STATE_PLAYING) { in onAudioFocusChange()
491 if (player != null && mState == STATE_PLAYING) { in onPlay()
500 setState(STATE_PLAYING); in onPlay()
575 return mState == STATE_PLAYING; in isPlaying()
DRenderer.java56 public static final int STATE_PLAYING = 1 << 3; field in Renderer
/frameworks/base/media/java/android/media/metrics/
DPlaybackStateEvent.java41 public static final int STATE_PLAYING = 3; field in PlaybackStateEvent
76 STATE_PLAYING,
104 case STATE_PLAYING: in stateToString()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/test-apps/flickerapp/src/com/android/wm/shell/flicker/testapp/
DPipActivity.java24 import static android.media.session.PlaybackState.STATE_PLAYING;
148 .setOnClickListener(v -> updateMediaSessionState(STATE_PLAYING)); in onCreate()
157 updateMediaSessionState(STATE_PLAYING); in onCreate()
245 case STATE_PLAYING: in updateMediaSessionState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java134 mProvider.onPrimaryMetadataOrStateChanged(metadata, PlaybackState.STATE_PLAYING); in onBindSlice_readsMedia_withoutBypass()
147 mProvider.onPrimaryMetadataOrStateChanged(metadata, PlaybackState.STATE_PLAYING); in onBindSlice_readsMedia_withBypass_notDozing()
214 PlaybackState.STATE_PLAYING); in onMetadataChanged_updatesSlice()
227 PlaybackState.STATE_PLAYING); in onDozingChanged_updatesSliceIfMedia()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerSession.java139 float rate = newState == PlaybackState.STATE_PLAYING ? 1 : 0; in updateState()
203 case Renderer.STATE_PLAYING: in onStateChanged()
204 pbState = PlaybackState.STATE_PLAYING; in onStateChanged()
DOnePlayerActivity.java150 } else if (state == PlaybackState.STATE_PLAYING) {
183 case PlaybackState.STATE_PLAYING:
DNotificationHelper.java162 case PlaybackState.STATE_PLAYING: in updateNotification()
197 if (state == PlaybackState.STATE_PLAYING) { in updateNotification()
DPlayerService.java111 case PlaybackState.STATE_PLAYING:
/frameworks/base/core/java/android/widget/
DVideoView.java93 private static final int STATE_PLAYING = 3; field in VideoView
518 if (mTargetState == STATE_PLAYING) {
534 if (mTargetState == STATE_PLAYING) {
681 boolean isValidState = (mTargetState == STATE_PLAYING);
798 mCurrentState = STATE_PLAYING; in start()
800 mTargetState = STATE_PLAYING; in start()
/frameworks/base/media/java/android/media/session/
DPlaybackState.java190 @IntDef({STATE_NONE, STATE_STOPPED, STATE_PAUSED, STATE_PLAYING, STATE_FAST_FORWARDING,
224 public static final int STATE_PLAYING = 3; field in PlaybackState
517 case PlaybackState.STATE_PLAYING: in isActive()
DMediaSession.java1009 && state.getState() == PlaybackState.STATE_PLAYING; in handleMediaPlayPauseKeySingleTapIfPending()
/frameworks/base/services/core/java/com/android/server/wm/
DTransition.java86 private static final int STATE_PLAYING = 2; field in Transition
97 STATE_PLAYING,
273 if (mState < STATE_PLAYING) { in finishTransition()
333 mState = STATE_PLAYING; in onTransactionReady()
386 if (mState < STATE_PLAYING) return; in cleanUpOnFailure()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/
DUtil.java111 case PlaybackState.STATE_PLAYING: in playbackStateStateToString()
/frameworks/base/media/java/android/media/
DRemoteControlClient.java1048 return PlaybackState.STATE_PLAYING; in getStateFromRccState()
1081 case PlaybackState.STATE_PLAYING: in getRccStateFromState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DSeekBarViewModel.kt41 return this.state == PlaybackState.STATE_PLAYING || in PlaybackState()
DMediaControlPanel.java737 return (state.getState() == PlaybackState.STATE_PLAYING);
/frameworks/base/core/java/android/bluetooth/
DBluetoothA2dp.java159 public static final int STATE_PLAYING = 10; field in BluetoothA2dp
1063 case STATE_PLAYING: in stateToString()
DBluetoothA2dpSink.java454 case BluetoothA2dp.STATE_PLAYING: in stateToString()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java97 PlaybackState.STATE_PLAYING);
818 if (state.getState() == PlaybackState.STATE_PLAYING in getStateWithUpdatedPosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMediaManager.java473 if (PlaybackState.STATE_PLAYING in findPlayingMediaNotification()
/frameworks/base/core/api/
Dcurrent.txt8628 field public static final int STATE_PLAYING = 10; // 0xa
24876 field public static final int STATE_PLAYING = 3; // 0x3
25301 field public static final int STATE_PLAYING = 3; // 0x3

12