Home
last modified time | relevance | path

Searched refs:playState (Results 1 – 7 of 7) sorted by relevance

/frameworks/wilhelm/tests/sandbox/
Durimime.c137 SLuint32 playState; in main() local
138 result = (*playerPlay)->GetPlayState(playerPlay, &playState); in main()
140 if (SL_PLAYSTATE_PLAYING != playState) { in main()
/frameworks/wilhelm/tests/examples/
DslesTestSendToPresetReverb.cpp283 SLuint32 playState; in TestSendToPresetReverb() local
285 result = (*playItf)->GetPlayState(playItf, &playState); in TestSendToPresetReverb()
287 if (playState != SL_PLAYSTATE_PLAYING) in TestSendToPresetReverb()
306 assert(playState == SL_PLAYSTATE_STOPPED); in TestSendToPresetReverb()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/media/
DMediaControllerAdapterTest.java673 int playState = PlaybackStateCompat.STATE_PLAYING; in createPlaybackStatePlaying() local
675 playbackStateBuilder.setState(playState, currentPosition, (float) 1.0).setActions( in createPlaybackStatePlaying()
688 int playState = PlaybackStateCompat.STATE_PAUSED; in createPlaybackStateNotPlaying() local
690 playbackStateBuilder.setState(playState, currentPosition, (float) 1.0).setActions( in createPlaybackStateNotPlaying()
706 int playState = PlaybackStateCompat.STATE_PLAYING; in createPlaybackStatePlayingWithBufferedPosition() local
708 playbackStateBuilder.setState(playState, currentPosition, (float) 1.0).setActions( in createPlaybackStatePlayingWithBufferedPosition()
725 int playState = PlaybackStateCompat.STATE_PLAYING; in createPlaybackStateNotPlayingWithBufferedPosition() local
727 playbackStateBuilder.setState(playState, currentPosition, (float) 1.0).setActions( in createPlaybackStateNotPlayingWithBufferedPosition()
/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.h68 SLuint32 playState,
DAudioPlayer_to_android.cpp86 SLresult aplayer_setPlayState(const android::sp<android::GenericPlayer> &ap, SLuint32 playState, in aplayer_setPlayState() argument
91 switch (playState) { in aplayer_setPlayState()
109 SL_LOGE(ERROR_PLAYERSETPLAYSTATE_INVALID_OBJECT_STATE_D, playState); in aplayer_setPlayState()
127 SL_LOGE(ERROR_PLAYERSETPLAYSTATE_INVALID_OBJECT_STATE_D, playState); in aplayer_setPlayState()
2218 SLuint32 playState = ap->mPlay.mState; in android_audioPlayer_setPlayState() local
2222 switch (playState) { in android_audioPlayer_setPlayState()
2249 switch (playState) { in android_audioPlayer_setPlayState()
2251 aplayer_setPlayState(ap->mAPlayer, playState, &ap->mAndroidObjState); in android_audioPlayer_setPlayState()
2255 aplayer_setPlayState(ap->mAPlayer, playState, &ap->mAndroidObjState); in android_audioPlayer_setPlayState()
2260 aplayer_setPlayState(ap->mAPlayer, playState, &ap->mAndroidObjState); in android_audioPlayer_setPlayState()
[all …]
DMediaPlayer_to_android.cpp598 SLuint32 playState, in android_Player_setPlayState() argument
604 switch (playState) { in android_Player_setPlayState()
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
DMediaSessionService.java594 private PlaybackStateCompat.Builder createPlaybackStateBuilder(int playState) { in createPlaybackStateBuilder() argument
607 playbackStateBuilder.setState(playState, currentPosition, playbackSpeed in createPlaybackStateBuilder()