/packages/services/Car/tests/carservice_unit_test/src/android/car/oem/ |
D | CarAudioFeaturesInfoUnitTest.java | 46 .that(info.isAudioFeatureEnabled(AUDIO_FEATURE_ISOLATED_DEVICE_FOCUS)).isTrue(); in build_withDynamicDeviceFeature() 48 .that(info.isAudioFeatureEnabled(AUDIO_FEATURE_FADE_MANAGER_CONFIGS)) in build_withDynamicDeviceFeature() 59 .that(info.isAudioFeatureEnabled(AUDIO_FEATURE_ISOLATED_DEVICE_FOCUS)).isFalse(); in build_withFadeManagerFeature() 61 .that(info.isAudioFeatureEnabled(AUDIO_FEATURE_FADE_MANAGER_CONFIGS)) in build_withFadeManagerFeature() 72 .that(info.isAudioFeatureEnabled(AUDIO_FEATURE_ISOLATED_DEVICE_FOCUS)).isFalse(); in build_withNoFeatures() 74 .that(info.isAudioFeatureEnabled(AUDIO_FEATURE_FADE_MANAGER_CONFIGS)) in build_withNoFeatures() 109 .that(info.isAudioFeatureEnabled(AUDIO_FEATURE_ISOLATED_DEVICE_FOCUS)).isTrue(); in addAudioFeatures_withDynamicDevicesFeature() 111 .that(info.isAudioFeatureEnabled(AUDIO_FEATURE_FADE_MANAGER_CONFIGS)) in addAudioFeatures_withDynamicDevicesFeature() 122 .that(info.isAudioFeatureEnabled(AUDIO_FEATURE_ISOLATED_DEVICE_FOCUS)).isFalse(); in addAudioFeatures_withFadeManagerFeature() 124 .that(info.isAudioFeatureEnabled(AUDIO_FEATURE_FADE_MANAGER_CONFIGS)) in addAudioFeatures_withFadeManagerFeature() [all …]
|
D | OemCarAudioFocusEvaluationRequestUnitTest.java | 341 .isAudioFeatureEnabled(AUDIO_FEATURE_ISOLATED_DEVICE_FOCUS)).isTrue(); in getAudioFeaturesInfo() 343 .isAudioFeatureEnabled(AUDIO_FEATURE_FADE_MANAGER_CONFIGS)) in getAudioFeaturesInfo()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/media/ |
D | CarAudioManagerTest.java | 106 mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING); in test_isAudioFeatureEnabled() 107 mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_MUTING); in test_isAudioFeatureEnabled() 302 assumeTrue(mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)); in assumeDynamicRoutingIsEnabled() 305 assumeTrue(mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_MUTING)); in assumeVolumeGroupMutingIsEnabled()
|
/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
D | VolumeSettingsPreferenceController.java | 134 if (carAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_EVENTS)) { in VolumeSettingsPreferenceController() 233 && (!carAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING) in createVolumeSeekBarPreference() 243 if (!carAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_MUTING)) { in isGroupMuted() 274 if (carAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_EVENTS)) { in cleanupAudioManager()
|
D | AudioRoutesManager.java | 206 && getCarAudioManager().isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) { in isAudioRoutingEnabled()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/sound/ |
D | VolumeSettingsPreferenceControllerTest.java | 193 when(mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_MUTING)) in setUp() 195 when(mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) in setUp() 197 when(mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_EVENTS)) in setUp() 300 when(mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) in testOnPreferenceChange_dynamicAudio_playbackActive_ringtoneDoesNotPlay() 315 when(mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) in testOnPreferenceChange_dynamicAudio_playbackNotActive_ringtonePlays() 415 when(mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_MUTING)) in onGroupMuteChanged_differentValue_muteFeatureDisabled_doesNotUpdatesMutedState()
|
D | AudioRouteSelectorControllerTest.java | 108 when(mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) in setUp()
|
D | AudioRoutesManagerTest.java | 198 when(mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) in initMocks()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/ |
D | VolumeUI.java | 184 if (mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_EVENTS)) { in start() 225 if (mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_EVENTS)) { in unregistarCarAudioManagerCallbacks()
|
D | CarVolumeDialogImpl.java | 241 if (mCarAudioManager.isAudioFeatureEnabled( 307 if (!carAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_MUTING)) { in isGroupMuted() 655 if (mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_EVENTS)) { in cleanupAudioManager()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/ |
D | VolumeTestFragment.java | 142 if (mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_EVENTS) 143 && mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) {
|
/packages/services/Car/car-lib/src/android/car/media/ |
D | ICarAudio.aidl | 39 boolean isAudioFeatureEnabled(int feature); in isAudioFeatureEnabled() method
|
D | CarAudioManager.java | 444 return isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING); in isDynamicRoutingEnabled() 458 public boolean isAudioFeatureEnabled(@CarAudioFeature int audioFeature) { in isAudioFeatureEnabled() method in CarAudioManager 460 return mService.isAudioFeatureEnabled(audioFeature); in isAudioFeatureEnabled()
|
/packages/services/Car/car-lib/src/android/car/oem/ |
D | CarAudioFeaturesInfo.java | 91 public boolean isAudioFeatureEnabled(@AudioFeature int feature) { in isAudioFeatureEnabled() method in CarAudioFeaturesInfo
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/ |
D | VolumeSliderTestCase.java | 71 when(mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_MUTING)).thenReturn( in setUp()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | CarAudioInputTestFragment.java | 116 if (!mCarAudioManager.isAudioFeatureEnabled( in initInputInfo()
|
D | AudioTestFragment.java | 552 if (mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) { in setActivityCurrentZoneId() 685 if (!IS_EMULATOR || !mCarAudioManager.isAudioFeatureEnabled( in handleSetUpZoneSelection() 844 || !mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) { in setUpDeviceAddressPlayer()
|
D | ZoneConfigSelectionController.java | 134 if (!mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) { in ZoneConfigSelectionController()
|
D | AudioConfigurationTestFragment.java | 91 if (!mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) { in connectCar()
|
D | AudioMirrorTestFragment.java | 220 if (!mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_AUDIO_MIRRORING)) { in onCarReady()
|
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/ |
D | FakeCarAudioService.java | 50 public boolean isAudioFeatureEnabled(int feature) { in isAudioFeatureEnabled() method in FakeCarAudioService
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | BaseVolumeSlider.java | 103 if (carAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_MUTING) in getQCItem()
|
/packages/services/Car/tests/CarLibUnitTest/src/android/car/media/ |
D | CarAudioManagerUnitTest.java | 183 public void isAudioFeatureEnabled() throws Exception { in isAudioFeatureEnabled() method in CarAudioManagerUnitTest 184 when(mServiceMock.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)).thenReturn(true); in isAudioFeatureEnabled() 187 .that(mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) in isAudioFeatureEnabled() 193 doThrow(mRemoteException).when(mServiceMock).isAudioFeatureEnabled( in isAudioFeatureEnabled_withServiceRemoteException_returnsFalse() 197 .that(mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) in isAudioFeatureEnabled_withServiceRemoteException_returnsFalse()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | AudioAutoStartActivity.java | 117 if (mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) { in setActivityCurrentZoneId()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioFocusUnitTest.java | 1740 .that(featuresInfo.isAudioFeatureEnabled(AUDIO_FEATURE_FADE_MANAGER_CONFIGS)) in onAudioFocusRequest_withOemServiceEnabledAndEnabledFadeManager() 1743 .that(featuresInfo.isAudioFeatureEnabled(AUDIO_FEATURE_ISOLATED_DEVICE_FOCUS)) in onAudioFocusRequest_withOemServiceEnabledAndEnabledFadeManager() 1782 .that(featuresInfo.isAudioFeatureEnabled(AUDIO_FEATURE_FADE_MANAGER_CONFIGS)) in onAudioFocusRequest_withOemServiceEnabledAndEnableIsolatedFocus() 1785 .that(featuresInfo.isAudioFeatureEnabled(AUDIO_FEATURE_ISOLATED_DEVICE_FOCUS)) in onAudioFocusRequest_withOemServiceEnabledAndEnableIsolatedFocus() 2042 && features.isAudioFeatureEnabled(AUDIO_FEATURE_FADE_MANAGER_CONFIGS)) { in getCarAudioFocus()
|