/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/ |
D | SeekBarViewModelTest.kt | 140 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 …]
|
D | MediaTimeoutListenerTest.kt | 105 `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/ |
D | monkey.c | 33 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/ |
D | LocalRenderer.java | 77 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()
|
D | Renderer.java | 56 public static final int STATE_PLAYING = 1 << 3; field in Renderer
|
/frameworks/base/media/java/android/media/metrics/ |
D | PlaybackStateEvent.java | 41 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/ |
D | PipActivity.java | 24 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/ |
D | KeyguardSliceProviderTest.java | 134 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/ |
D | PlayerSession.java | 139 float rate = newState == PlaybackState.STATE_PLAYING ? 1 : 0; in updateState() 203 case Renderer.STATE_PLAYING: in onStateChanged() 204 pbState = PlaybackState.STATE_PLAYING; in onStateChanged()
|
D | OnePlayerActivity.java | 150 } else if (state == PlaybackState.STATE_PLAYING) { 183 case PlaybackState.STATE_PLAYING:
|
D | NotificationHelper.java | 162 case PlaybackState.STATE_PLAYING: in updateNotification() 197 if (state == PlaybackState.STATE_PLAYING) { in updateNotification()
|
D | PlayerService.java | 111 case PlaybackState.STATE_PLAYING:
|
/frameworks/base/core/java/android/widget/ |
D | VideoView.java | 93 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/ |
D | PlaybackState.java | 190 @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()
|
D | MediaSession.java | 1009 && state.getState() == PlaybackState.STATE_PLAYING; in handleMediaPlayPauseKeySingleTapIfPending()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Transition.java | 86 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/ |
D | Util.java | 111 case PlaybackState.STATE_PLAYING: in playbackStateStateToString()
|
/frameworks/base/media/java/android/media/ |
D | RemoteControlClient.java | 1048 return PlaybackState.STATE_PLAYING; in getStateFromRccState() 1081 case PlaybackState.STATE_PLAYING: in getRccStateFromState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | SeekBarViewModel.kt | 41 return this.state == PlaybackState.STATE_PLAYING || in PlaybackState()
|
D | MediaControlPanel.java | 737 return (state.getState() == PlaybackState.STATE_PLAYING);
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothA2dp.java | 159 public static final int STATE_PLAYING = 10; field in BluetoothA2dp 1063 case STATE_PLAYING: in stateToString()
|
D | BluetoothA2dpSink.java | 454 case BluetoothA2dp.STATE_PLAYING: in stateToString()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionRecord.java | 97 PlaybackState.STATE_PLAYING); 818 if (state.getState() == PlaybackState.STATE_PLAYING in getStateWithUpdatedPosition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationMediaManager.java | 473 if (PlaybackState.STATE_PLAYING in findPlayingMediaNotification()
|
/frameworks/base/core/api/ |
D | current.txt | 8628 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
|