Searched refs:NAV_ATTRIBUTES (Results 1 – 7 of 7) sorted by relevance
31 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()
37 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()
69 public static final AudioAttributes NAV_ATTRIBUTES = new AudioAttributes.Builder() field in CoreAudioRoutingUtils298 AudioAttributes[] navAttributesArray = { NAV_ATTRIBUTES };
156 eq(CoreAudioRoutingUtils.NAV_ATTRIBUTES))); in setupMock()
6707 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()
54 static final AudioAttributes NAV_ATTRIBUTES = new AudioAttributes.Builder() field in CoreAudioRoutingUtils272 new AudioAttributes[] { NAV_ATTRIBUTES }, NAV_CONTEXT_NAME, NAV_STRATEGY_ID)); in getCarAudioContextInfos()
2106 CoreAudioRoutingUtils.NAV_ATTRIBUTES)); in setupAudioManagerMock()2107 doReturn(CoreAudioRoutingUtils.NAV_ATTRIBUTES) in setupAudioManagerMock()