Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/session/
DMediaSession.java933 long validActions = state == null ? 0 : state.getActions(); in onMediaButtonEvent() local
945 if ((validActions & PlaybackState.ACTION_SKIP_TO_NEXT) != 0) { in onMediaButtonEvent()
964 if ((validActions & PlaybackState.ACTION_PLAY) != 0) { in onMediaButtonEvent()
970 if ((validActions & PlaybackState.ACTION_PAUSE) != 0) { in onMediaButtonEvent()
976 if ((validActions & PlaybackState.ACTION_SKIP_TO_NEXT) != 0) { in onMediaButtonEvent()
982 if ((validActions & PlaybackState.ACTION_SKIP_TO_PREVIOUS) != 0) { in onMediaButtonEvent()
988 if ((validActions & PlaybackState.ACTION_STOP) != 0) { in onMediaButtonEvent()
994 if ((validActions & PlaybackState.ACTION_FAST_FORWARD) != 0) { in onMediaButtonEvent()
1000 if ((validActions & PlaybackState.ACTION_REWIND) != 0) { in onMediaButtonEvent()
1018 long validActions = state == null ? 0 : state.getActions(); in handleMediaPlayPauseKeySingleTapIfPending() local
[all …]
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java1278 final List<RemoteAction> validActions = new ArrayList<>(size); in rewriteTextClassificationIcons() local
1288 validActions.add(validAction); in rewriteTextClassificationIcons()
1294 .addActions(validActions) in rewriteTextClassificationIcons()