Home
last modified time | relevance | path

Searched refs:isAudioFeatureEnabled (Results 1 – 25 of 37) sorted by relevance

12

/packages/services/Car/tests/carservice_unit_test/src/android/car/oem/
DCarAudioFeaturesInfoUnitTest.java46 .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 …]
DOemCarAudioFocusEvaluationRequestUnitTest.java341 .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/
DCarAudioManagerTest.java106 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/
DVolumeSettingsPreferenceController.java134 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()
DAudioRoutesManager.java206 && getCarAudioManager().isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) { in isAudioRoutingEnabled()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/sound/
DVolumeSettingsPreferenceControllerTest.java193 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()
DAudioRouteSelectorControllerTest.java108 when(mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) in setUp()
DAudioRoutesManagerTest.java198 when(mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) in initMocks()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/
DVolumeUI.java184 if (mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_EVENTS)) { in start()
225 if (mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_EVENTS)) { in unregistarCarAudioManagerCallbacks()
DCarVolumeDialogImpl.java241 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/
DVolumeTestFragment.java142 if (mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_EVENTS)
143 && mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) {
/packages/services/Car/car-lib/src/android/car/media/
DICarAudio.aidl39 boolean isAudioFeatureEnabled(int feature); in isAudioFeatureEnabled() method
DCarAudioManager.java444 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/
DCarAudioFeaturesInfo.java91 public boolean isAudioFeatureEnabled(@AudioFeature int feature) { in isAudioFeatureEnabled() method in CarAudioFeaturesInfo
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
DVolumeSliderTestCase.java71 when(mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_MUTING)).thenReturn( in setUp()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DCarAudioInputTestFragment.java116 if (!mCarAudioManager.isAudioFeatureEnabled( in initInputInfo()
DAudioTestFragment.java552 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()
DZoneConfigSelectionController.java134 if (!mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) { in ZoneConfigSelectionController()
DAudioConfigurationTestFragment.java91 if (!mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) { in connectCar()
DAudioMirrorTestFragment.java220 if (!mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_AUDIO_MIRRORING)) { in onCarReady()
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DFakeCarAudioService.java50 public boolean isAudioFeatureEnabled(int feature) { in isAudioFeatureEnabled() method in FakeCarAudioService
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DBaseVolumeSlider.java103 if (carAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_VOLUME_GROUP_MUTING) in getQCItem()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/media/
DCarAudioManagerUnitTest.java183 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/
DAudioAutoStartActivity.java117 if (mCarAudioManager.isAudioFeatureEnabled(AUDIO_FEATURE_DYNAMIC_ROUTING)) { in setActivityCurrentZoneId()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioFocusUnitTest.java1740 .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()

12