Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpPlayer.java162 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()
DBrowseTree.java180 aid.setBrowsable(player.supportsFeature(AvrcpPlayer.FEATURE_BROWSING)); in BrowseNode()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DAudioControlWrapperV1Test.java113 assertThat(mAudioControlWrapperV1.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_FOCUS)) in supportsFeature_withAudioFocus_returnsFalse()
119 assertThat(mAudioControlWrapperV1.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_DUCKING)) in supportsFeature_withAudioDucking_returnsFalse()
125 assertThat(mAudioControlWrapperV1.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING)) in supportsFeature_withAudioMuting_returnsFalse()
131 assertThat(mAudioControlWrapperV1.supportsFeature(-1)).isFalse(); in supportsFeature_withUnknownFeature_returnsFalse()
DAudioControlWrapperV2Test.java95 assertThat(mAudioControlWrapperV2.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_FOCUS)) in supportsFeature_audioFocus_returnsTrue()
101 assertThat(mAudioControlWrapperV2.supportsFeature(-1)).isFalse(); in supportsFeature_withUnknownFeature_returnsFalse()
106 assertThat(mAudioControlWrapperV2.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_DUCKING)) in supportsFeature_withAudioDucking_returnsFalse()
112 assertThat(mAudioControlWrapperV2.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING)) in supportsFeature_withAudioMuting_returnsFalse()
DAudioControlWrapperAidlTest.java208 assertThat(mAudioControlWrapperAidl.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_FOCUS)) in supportsFeature_forAudioFocus_returnsTrue()
214 assertThat(mAudioControlWrapperAidl.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_DUCKING)) in supportsFeature_forAudioDucking_returnsTrue()
221 .supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING)).isTrue(); in supportsFeature_forAudioMuting_returnsTrue()
226 assertThat(mAudioControlWrapperAidl.supportsFeature(-1)).isFalse(); in supportsFeature_forUnknownFeature_returnsFalse()
234 .that(mAudioControlWrapperAidl.supportsFeature( in supportsFeature_forGainCallbackEithRemoteException_returnsTrue()
244 .that(mAudioControlWrapperAidl.supportsFeature( in supportsFeature_forModuleCallbackEithRemoteException_returnsTrue()
674 mAudioControlWrapperAidl.supportsFeature( in supportsFeature_forAudioGainCallback_returnsTrue()
680 mAudioControlWrapperAidl.supportsFeature( in supportsFeature_forAudioGainCallback_returnsTrue()
689 mAudioControlWrapperAidl.supportsFeature( in supportsFeature_forAudioGainCallback_returnsFalse()
695 mAudioControlWrapperAidl.supportsFeature( in supportsFeature_forAudioGainCallback_returnsFalse()
[all …]
/packages/services/Car/service/src/com/android/car/audio/hal/
DAudioControlWrapperAidl.java96 public boolean supportsFeature(int feature) { in supportsFeature() method in AudioControlWrapperAidl
209 if (supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_FOCUS_WITH_METADATA)) { in dump()
213 if (supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_MODULE_CALLBACK)) { in dump()
DAudioControlWrapper.java71 boolean supportsFeature(@AudioControlFeature int feature); in supportsFeature() method
DAudioControlWrapperV1.java92 public boolean supportsFeature(int feature) { in supportsFeature() method in AudioControlWrapperV1
DAudioControlWrapperV2.java83 public boolean supportsFeature(int feature) { in supportsFeature() method in AudioControlWrapperV2
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerNativeInterfaceTest.java98 assertThat(player.supportsFeature(0)).isTrue(); in createFromNativePlayerItem()
DAvrcpPlayerTest.java72 assertThat(avrcpPlayer.supportsFeature(TEST_FEATURE)).isTrue(); in buildAvrcpPlayer()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeGroupMutingTest.java137 .supportsFeature(AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING)) in setUp()
174 .supportsFeature(AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING)) in constructor_withGroupMutingFeatureNotSupported_fails()
DCarAudioServiceUnitTest.java584 when(mAudioControlWrapperAidl.supportsFeature( in setUpAudioControlHAL()
586 when(mAudioControlWrapperAidl.supportsFeature( in setUpAudioControlHAL()
588 when(mAudioControlWrapperAidl.supportsFeature( in setUpAudioControlHAL()
590 when(mAudioControlWrapperAidl.supportsFeature( in setUpAudioControlHAL()
592 when(mAudioControlWrapperAidl.supportsFeature( in setUpAudioControlHAL()
1001 when(mAudioControlWrapperAidl.supportsFeature( in release_withoutModuleChangeCallback()
2168 when(mAudioControlWrapperAidl.supportsFeature( in init_withAudioModuleCallbackFeatureDisabled()
2178 when(mAudioControlWrapperAidl.supportsFeature( in init_withAudioFocusFeatureDisabled()
2188 when(mAudioControlWrapperAidl.supportsFeature( in init_withAudioGainCallbackFeatureDisabled()
2212 when(mAudioControlWrapperAidl.supportsFeature( in serviceDied_withNullAudioGainCallback()
[all …]
/packages/services/Car/service/src/com/android/car/audio/
DCarVolumeGroupMuting.java68 .supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING)) { in requireGroupMutingSupported()
DCarAudioService.java1950 if (audioControlWrapper.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_DUCKING)) {
2203 if (!audioControlWrapper.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_FOCUS)) {
2216 if (!audioControlWrapper.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_GAIN_CALLBACK)) {
2230 if (!audioControlWrapper.supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_MODULE_CALLBACK)) {