Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/session/
DMediaSession.java888 long validActions = state == null ? 0 : state.getActions(); in onMediaButtonEvent() local
900 if ((validActions & PlaybackState.ACTION_SKIP_TO_NEXT) != 0) { in onMediaButtonEvent()
919 if ((validActions & PlaybackState.ACTION_PLAY) != 0) { in onMediaButtonEvent()
925 if ((validActions & PlaybackState.ACTION_PAUSE) != 0) { in onMediaButtonEvent()
931 if ((validActions & PlaybackState.ACTION_SKIP_TO_NEXT) != 0) { in onMediaButtonEvent()
937 if ((validActions & PlaybackState.ACTION_SKIP_TO_PREVIOUS) != 0) { in onMediaButtonEvent()
943 if ((validActions & PlaybackState.ACTION_STOP) != 0) { in onMediaButtonEvent()
949 if ((validActions & PlaybackState.ACTION_FAST_FORWARD) != 0) { in onMediaButtonEvent()
955 if ((validActions & PlaybackState.ACTION_REWIND) != 0) { in onMediaButtonEvent()
973 long validActions = state == null ? 0 : state.getActions(); in handleMediaPlayPauseKeySingleTapIfPending() local
[all …]