/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpPlayer.java | 162 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()
|
D | BrowseTree.java | 180 aid.setBrowsable(player.supportsFeature(AvrcpPlayer.FEATURE_BROWSING)); in BrowseNode()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/ |
D | AudioControlWrapperV1Test.java | 113 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()
|
D | AudioControlWrapperV2Test.java | 95 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()
|
D | AudioControlWrapperAidlTest.java | 208 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/ |
D | AudioControlWrapperAidl.java | 96 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()
|
D | AudioControlWrapper.java | 71 boolean supportsFeature(@AudioControlFeature int feature); in supportsFeature() method
|
D | AudioControlWrapperV1.java | 92 public boolean supportsFeature(int feature) { in supportsFeature() method in AudioControlWrapperV1
|
D | AudioControlWrapperV2.java | 83 public boolean supportsFeature(int feature) { in supportsFeature() method in AudioControlWrapperV2
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerNativeInterfaceTest.java | 98 assertThat(player.supportsFeature(0)).isTrue(); in createFromNativePlayerItem()
|
D | AvrcpPlayerTest.java | 72 assertThat(avrcpPlayer.supportsFeature(TEST_FEATURE)).isTrue(); in buildAvrcpPlayer()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarVolumeGroupMutingTest.java | 137 .supportsFeature(AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING)) in setUp() 174 .supportsFeature(AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING)) in constructor_withGroupMutingFeatureNotSupported_fails()
|
D | CarAudioServiceUnitTest.java | 584 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/ |
D | CarVolumeGroupMuting.java | 68 .supportsFeature(AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING)) { in requireGroupMutingSupported()
|
D | CarAudioService.java | 1950 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)) {
|