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.java922 long validActions = state == null ? 0 : state.getActions(); in onMediaButtonEvent() local
934 if ((validActions & PlaybackState.ACTION_SKIP_TO_NEXT) != 0) { in onMediaButtonEvent()
953 if ((validActions & PlaybackState.ACTION_PLAY) != 0) { in onMediaButtonEvent()
959 if ((validActions & PlaybackState.ACTION_PAUSE) != 0) { in onMediaButtonEvent()
965 if ((validActions & PlaybackState.ACTION_SKIP_TO_NEXT) != 0) { in onMediaButtonEvent()
971 if ((validActions & PlaybackState.ACTION_SKIP_TO_PREVIOUS) != 0) { in onMediaButtonEvent()
977 if ((validActions & PlaybackState.ACTION_STOP) != 0) { in onMediaButtonEvent()
983 if ((validActions & PlaybackState.ACTION_FAST_FORWARD) != 0) { in onMediaButtonEvent()
989 if ((validActions & PlaybackState.ACTION_REWIND) != 0) { in onMediaButtonEvent()
1007 long validActions = state == null ? 0 : state.getActions(); in handleMediaPlayPauseKeySingleTapIfPending() local
[all …]
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java1238 final List<RemoteAction> validActions = new ArrayList<>(size); in rewriteTextClassificationIcons() local
1248 validActions.add(validAction); in rewriteTextClassificationIcons()
1254 .addActions(validActions) in rewriteTextClassificationIcons()