Home
last modified time | relevance | path

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

/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/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java125 mProvider.onMetadataOrStateChanged(metadata, PlaybackState.STATE_PLAYING); in onBindSlice_readsMedia_withoutBypass()
138 mProvider.onMetadataOrStateChanged(metadata, PlaybackState.STATE_PLAYING); in onBindSlice_readsMedia_withBypass_notDozing()
204 mProvider.onMetadataOrStateChanged(mock(MediaMetadata.class), PlaybackState.STATE_PLAYING); in onMetadataChanged_updatesSlice()
216 mProvider.onMetadataOrStateChanged(mock(MediaMetadata.class), 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.java181 @IntDef({STATE_NONE, STATE_STOPPED, STATE_PAUSED, STATE_PLAYING, STATE_FAST_FORWARDING,
215 public static final int STATE_PLAYING = 3; field in PlaybackState
DMediaSession.java605 case PlaybackState.STATE_PLAYING: in isActiveState()
975 && state.getState() == PlaybackState.STATE_PLAYING; in handleMediaPlayPauseKeySingleTapIfPending()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/
DUtil.java111 case PlaybackState.STATE_PLAYING: in playbackStateStateToString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationMediaTemplateViewWrapper.java101 if (state != null && state.getState() == PlaybackState.STATE_PLAYING
141 if (state.getState() != PlaybackState.STATE_PLAYING) {
/frameworks/base/media/java/android/media/
DRemoteControlClient.java1047 return PlaybackState.STATE_PLAYING; in getStateFromRccState()
1080 case PlaybackState.STATE_PLAYING: in getRccStateFromState()
/frameworks/base/core/java/android/bluetooth/
DBluetoothA2dp.java151 public static final int STATE_PLAYING = 10; field in BluetoothA2dp
865 case STATE_PLAYING: in stateToString()
DBluetoothA2dpSink.java405 case BluetoothA2dp.STATE_PLAYING: in stateToString()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionStack.java69 PlaybackState.STATE_PLAYING };
DMediaSessionRecord.java741 if (state.getState() == PlaybackState.STATE_PLAYING in getStateWithUpdatedPosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMediaManager.java294 if (PlaybackState.STATE_PLAYING == in findAndUpdateMediaNotifications()
320 if (PlaybackState.STATE_PLAYING == in findAndUpdateMediaNotifications()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipManager.java598 || state == PlaybackState.STATE_PLAYING in getPlaybackState()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt5803 field public static final int STATE_PLAYING = 10; // 0xa
16429 field public static final int STATE_PLAYING = 3; // 0x3
/frameworks/base/non-updatable-api/
Dcurrent.txt7955 field public static final int STATE_PLAYING = 10; // 0xa
27594 field public static final int STATE_PLAYING = 3; // 0x3
/frameworks/base/api/
Dcurrent.txt7955 field public static final int STATE_PLAYING = 10; // 0xa
27724 field public static final int STATE_PLAYING = 3; // 0x3
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt9862 Landroid/bluetooth/BluetoothA2dpSink;->STATE_PLAYING:I
10507 Landroid/bluetooth/BluetoothHearingAid;->STATE_PLAYING:I
85331 Landroid/widget/VideoView;->STATE_PLAYING:I