Home
last modified time | relevance | path

Searched refs:NAV_ATTRIBUTES (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCoreAudioHelperTest.java31 import static com.android.car.audio.CoreAudioRoutingUtils.NAV_ATTRIBUTES;
89 .that(CoreAudioHelper.getStrategyForAudioAttributes(NAV_ATTRIBUTES)) in getStrategyForAudioAttributes_withValidAttributes_succeeds()
110 .that(CoreAudioHelper.getStrategyForAudioAttributesOrDefault(NAV_ATTRIBUTES)) in getStrategyForAudioAttributesOrDefault_withValidAttributes_succeeds()
132 .that(CoreAudioHelper.getProductStrategyForAudioAttributes(NAV_ATTRIBUTES)) in getProductStrategyForAudioAttributes_withValidAttributes_succeeds()
222 .isEqualTo(NAV_ATTRIBUTES); in selectAttributesForVolumeGroupName_withValidName_succeeds()
244 expectWithMessage("Navigation group name (%s) for nav attributes (%s)", NAV_ATTRIBUTES, in getVolumeGroupNameForAudioAttributes_withSupportedAttributes_succeeds()
246 .that(CoreAudioHelper.getVolumeGroupNameForAudioAttributes(NAV_ATTRIBUTES)) in getVolumeGroupNameForAudioAttributes_withSupportedAttributes_succeeds()
268 NAV_ATTRIBUTES) in getVolumeGroupIdForAudioAttributes_withSupportedAttributes_succeeds()
269 .that(CoreAudioHelper.getVolumeGroupIdForAudioAttributes(NAV_ATTRIBUTES)) in getVolumeGroupIdForAudioAttributes_withSupportedAttributes_succeeds()
DCoreAudioVolumeGroupTest.java37 import static com.android.car.audio.CoreAudioRoutingUtils.NAV_ATTRIBUTES;
137 .when(() -> CoreAudioHelper.getVolumeGroupIdForAudioAttributes(NAV_ATTRIBUTES)); in setupMock()
138 doReturn(NAV_ATTRIBUTES) in setupMock()
141 when(mMockAudioManager.getMinVolumeIndexForAttributes(NAV_ATTRIBUTES)) in setupMock()
143 when(mMockAudioManager.getMaxVolumeIndexForAttributes(NAV_ATTRIBUTES)) in setupMock()
DCoreAudioRoutingUtils.java69 public static final AudioAttributes NAV_ATTRIBUTES = new AudioAttributes.Builder() field in CoreAudioRoutingUtils
298 AudioAttributes[] navAttributesArray = { NAV_ATTRIBUTES };
DCarAudioContextTest.java156 eq(CoreAudioRoutingUtils.NAV_ATTRIBUTES))); in setupMock()
DCarAudioServiceUnitTest.java6707 when(mAudioManager.getMinVolumeIndexForAttributes(eq(CoreAudioRoutingUtils.NAV_ATTRIBUTES))) in mockCoreAudioRoutingAndVolume()
6709 when(mAudioManager.getMaxVolumeIndexForAttributes(eq(CoreAudioRoutingUtils.NAV_ATTRIBUTES))) in mockCoreAudioRoutingAndVolume()
6730 CoreAudioRoutingUtils.NAV_ATTRIBUTES)); in mockCoreAudioRoutingAndVolume()
6731 doReturn(CoreAudioRoutingUtils.NAV_ATTRIBUTES) in mockCoreAudioRoutingAndVolume()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCoreAudioRoutingUtils.java54 static final AudioAttributes NAV_ATTRIBUTES = new AudioAttributes.Builder() field in CoreAudioRoutingUtils
272 new AudioAttributes[] { NAV_ATTRIBUTES }, NAV_CONTEXT_NAME, NAV_STRATEGY_ID)); in getCarAudioContextInfos()
DCarAudioZonesHelperTest.java2106 CoreAudioRoutingUtils.NAV_ATTRIBUTES)); in setupAudioManagerMock()
2107 doReturn(CoreAudioRoutingUtils.NAV_ATTRIBUTES) in setupAudioManagerMock()