/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/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/viewmodel/ |
D | SeekBarViewModelTest.kt | 150 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in updateDurationWithPlayback() 192 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in updateDurationNegative() 215 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in updateDurationZero() 233 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in updateDurationNoMetadata() 249 setState(PlaybackState.STATE_PLAYING, position, 1f) in updateElapsedTime() 531 setState(PlaybackState.STATE_PLAYING, 100L, 1f) in queuePollTaskWhenPlaying() 567 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in queuePollTaskWhenListening() 588 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in noQueuePollTaskWhenNotListening() 603 setState(PlaybackState.STATE_PLAYING, 100L, 1f) in pollTaskQueuesAnotherPollTaskWhenPlaying() 624 setState(PlaybackState.STATE_PLAYING, 200L, 1f) in noQueuePollTaskWhenSeeking() [all …]
|
/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 | 46 public static final int STATE_PLAYING = 3; field in PlaybackStateEvent 81 STATE_PLAYING, 109 case STATE_PLAYING: in stateToString()
|
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/ |
D | PipActivity.java | 24 import static android.media.session.PlaybackState.STATE_PLAYING; 155 .setOnClickListener(v -> updateMediaSessionState(STATE_PLAYING)); in onCreate() 164 updateMediaSessionState(STATE_PLAYING); in onCreate() 302 case STATE_PLAYING: in updateMediaSessionState()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/component/mediaoutput/domain/interactor/ |
D | MediaOutputInteractorTest.kt | 164 localPlaybackStateBuilder.setState(PlaybackState.STATE_PLAYING, 0, 0f) in activeLocalAndRemoteSession_defaultSession_local() 165 remotePlaybackStateBuilder.setState(PlaybackState.STATE_PLAYING, 0, 0f) in activeLocalAndRemoteSession_defaultSession_local() 189 remotePlaybackStateBuilder.setState(PlaybackState.STATE_PLAYING, 0, 0f) in activeRemoteSession_defaultSession_remote()
|
/frameworks/base/media/java/android/media/session/ |
D | PlaybackState.java | 193 @IntDef({STATE_NONE, STATE_STOPPED, STATE_PAUSED, STATE_PLAYING, STATE_FAST_FORWARDING, 228 public static final int STATE_PLAYING = 3; field in PlaybackState 540 case PlaybackState.STATE_PLAYING: in isActive() 569 case STATE_PLAYING: in getStringForStateInt()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | KeyguardSliceProviderTest.java | 141 mProvider.onPrimaryMetadataOrStateChanged(metadata, PlaybackState.STATE_PLAYING); in onBindSlice_readsMedia_withoutBypass() 154 mProvider.onPrimaryMetadataOrStateChanged(metadata, PlaybackState.STATE_PLAYING); in onBindSlice_readsMedia_withBypass_notDozing() 222 PlaybackState.STATE_PLAYING); in onMetadataChanged_updatesSlice() 237 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/packages/SystemUI/tests/src/com/android/systemui/media/dialog/ |
D | MediaOutputDialogTest.java | 198 when(mPlaybackState.getState()).thenReturn(PlaybackState.STATE_PLAYING); in getStopButtonVisibility_remoteBLEDevice_returnVisible() 210 when(mPlaybackState.getState()).thenReturn(PlaybackState.STATE_PLAYING); in getStopButtonVisibility_remoteNonBLEDevice_returnGone() 318 when(mPlaybackState.getState()).thenReturn(PlaybackState.STATE_PLAYING); in getBroadcastIconVisibility_isBroadcasting_returnVisible() 330 when(mPlaybackState.getState()).thenReturn(PlaybackState.STATE_PLAYING); in getBroadcastIconVisibility_noBroadcasting_returnGone() 342 when(mPlaybackState.getState()).thenReturn(PlaybackState.STATE_PLAYING); in getBroadcastIconVisibility_remoteNonLeDevice_returnGone()
|
/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/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaTimeoutListenerTest.kt | 143 whenever(playingState.state).thenReturn(PlaybackState.STATE_PLAYING) in testOnMediaDataLoaded_registersPlaybackListener() 198 whenever(playingState.state).thenReturn(PlaybackState.STATE_PLAYING) in testOnMediaDataLoaded_migratesKeys() 246 PlaybackState.Builder().setState(PlaybackState.STATE_PLAYING, 0L, 0f).build() in testOnPlaybackStateChanged_cancelsTimeout_whenResumed() 306 whenever(playingState.state).thenReturn(PlaybackState.STATE_PLAYING) in testSessionDestroyed_thenRestarts_resetsTimeout() 519 PlaybackState.Builder().setState(PlaybackState.STATE_PLAYING, 0L, 1f).build() in testOnMediaDataLoaded_isPlayingChanged_noCallback() 535 PlaybackState.Builder().setState(PlaybackState.STATE_PLAYING, 0L, 1f).build() in testOnPlaybackStateChanged_isPlayingChanged_sendsCallback()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/ |
D | Util.java | 111 case PlaybackState.STATE_PLAYING: in playbackStateStateToString()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/volume/data/repository/ |
D | MediaControllerRepositoryImplTest.kt | 127 PlaybackState.Builder().setState(PlaybackState.STATE_PLAYING, 0, 0f).build()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/component/mediaoutput/ui/viewmodel/ |
D | MediaOutputViewModelTest.kt | 91 playbackStateBuilder.setState(PlaybackState.STATE_PLAYING, 0, 0f) in playingSession_connectedDeviceViewMode_hasTheDevice()
|
/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/statusbar/ |
D | NotificationMediaManager.java | 335 if (PlaybackState.STATE_PLAYING in findPlayingMediaNotification() 374 if (PlaybackState.STATE_PLAYING in findPlayingMediaNotification()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Transition.java | 155 private static final int STATE_PLAYING = 2; field in Transition 172 STATE_PLAYING, 628 return mState == STATE_PLAYING; in isPlaying() 788 if (mState >= STATE_PLAYING) { in collectExistenceChange() 1196 if (mState < STATE_PLAYING) { in finishTransition() 1731 mState = STATE_PLAYING; in onTransactionReady() 2084 if (mState < STATE_PLAYING) return; in cleanUpOnFailure() 3650 if (mTransition.mState >= STATE_PLAYING) { in meet()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/ |
D | SeekBarViewModel.kt | 49 return this.state == PlaybackState.STATE_PLAYING || in PlaybackState()
|
D | MediaControlViewModel.kt | 110 mediaController?.playbackState?.let { it.state == PlaybackState.STATE_PLAYING } ?: false in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionRecord.java | 158 PlaybackState.STATE_PLAYING); 1035 if (state.getState() == PlaybackState.STATE_PLAYING
|