Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpPlayer.java161 public boolean supportsFeature(int featureId) { in supportsFeature() method in AvrcpPlayer
205 if (supportsFeature(FEATURE_PLAY)) { in updateAvailableActions()
208 if (supportsFeature(FEATURE_STOP)) { in updateAvailableActions()
211 if (supportsFeature(FEATURE_PAUSE)) { in updateAvailableActions()
214 if (supportsFeature(FEATURE_REWIND)) { in updateAvailableActions()
217 if (supportsFeature(FEATURE_FAST_FORWARD)) { in updateAvailableActions()
220 if (supportsFeature(FEATURE_FORWARD)) { in updateAvailableActions()
223 if (supportsFeature(FEATURE_PREVIOUS)) { in updateAvailableActions()
DAvrcpControllerStateMachine.java621 if (mAddressedPlayer.supportsFeature(AvrcpPlayer.FEATURE_NOW_PLAYING)) { in processMessage()
898 if (mAddressedPlayer.supportsFeature(AvrcpPlayer.FEATURE_NOW_PLAYING)) { in processMessage()
DBrowseTree.java151 aid.setBrowsable(player.supportsFeature(AvrcpPlayer.FEATURE_BROWSING)); in BrowseNode()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DAudioControlWrapperV2Test.java84 assertThat(audioControlWrapperV2.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_FOCUS)) in supportsFeature_audioFocus_returnsTrue()
92 assertThat(audioControlWrapperV2.supportsFeature(-1)).isFalse(); in supportsFeature_withUnknownFeature_returnsFalse()
99 assertThat(audioControlWrapperV2.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_DUCKING)) in supportsFeature_withAudioDucking_returnsFalse()
107 assertThat(audioControlWrapperV2.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING)) in supportsFeature_withAudioMuting_returnsFalse()
DAudioControlWrapperV1Test.java92 assertThat(audioControlWrapperV1.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_FOCUS)) in supportsFeature_withAudioFocus_returnsFalse()
100 assertThat(audioControlWrapperV1.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_DUCKING)) in supportsFeature_withAudioDucking_returnsFalse()
108 assertThat(audioControlWrapperV1.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING)) in supportsFeature_withAudioMuting_returnsFalse()
116 assertThat(audioControlWrapperV1.supportsFeature(-1)).isFalse(); in supportsFeature_withUnknownFeature_returnsFalse()
DAudioControlWrapperAidlTest.java138 assertThat(mAudioControlWrapperAidl.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_FOCUS)) in supportsFeature_forAudioFocus_returnsTrue()
144 assertThat(mAudioControlWrapperAidl.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_DUCKING)) in supportsFeature_forAudioDucking_returnsTrue()
151 .supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING)).isTrue(); in supportsFeature_forAudioMuting_returnsTrue()
156 assertThat(mAudioControlWrapperAidl.supportsFeature(-1)).isFalse(); in supportsFeature_forUnknownFeature_returnsFalse()
/packages/services/Car/service/src/com/android/car/audio/hal/
DAudioControlWrapper.java65 boolean supportsFeature(@AudioControlFeature int feature); in supportsFeature() method
DAudioControlWrapperV1.java79 public boolean supportsFeature(int feature) { in supportsFeature() method in AudioControlWrapperV1
DAudioControlWrapperV2.java81 public boolean supportsFeature(int feature) { in supportsFeature() method in AudioControlWrapperV2
DAudioControlWrapperAidl.java74 public boolean supportsFeature(int feature) { in supportsFeature() method in AudioControlWrapperAidl
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeGroupMutingTest.java101 .supportsFeature(AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING)) in setUp()
138 .supportsFeature(AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING)) in constructor_withGroupMutingFeatureNotSupported_fails()
/packages/services/Car/service/src/com/android/car/audio/
DCarVolumeGroupMuting.java65 .supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING)) { in requireGroupMutingSupported()
DCarAudioService.java620 if (audioControlWrapper.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_DUCKING)) { in setupDynamicRoutingLocked()
678 if (!audioControlWrapper.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_FOCUS)) { in setupHalAudioFocusListenerLocked()