Home
last modified time | relevance | path

Searched refs:OEM_ATTRIBUTES (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCoreAudioHelperTest.java38 import static com.android.car.audio.CoreAudioRoutingUtils.OEM_ATTRIBUTES;
92 .that(CoreAudioHelper.getStrategyForAudioAttributes(OEM_ATTRIBUTES)) in getStrategyForAudioAttributes_withValidAttributes_succeeds()
113 .that(CoreAudioHelper.getStrategyForAudioAttributesOrDefault(OEM_ATTRIBUTES)) in getStrategyForAudioAttributesOrDefault_withValidAttributes_succeeds()
135 .that(CoreAudioHelper.getProductStrategyForAudioAttributes(OEM_ATTRIBUTES)) in getProductStrategyForAudioAttributes_withValidAttributes_succeeds()
225 .isEqualTo(OEM_ATTRIBUTES); in selectAttributesForVolumeGroupName_withValidName_succeeds()
249 OEM_ATTRIBUTES) in getVolumeGroupNameForAudioAttributes_withSupportedAttributes_succeeds()
250 .that(CoreAudioHelper.getVolumeGroupNameForAudioAttributes(OEM_ATTRIBUTES)) in getVolumeGroupNameForAudioAttributes_withSupportedAttributes_succeeds()
272 OEM_ATTRIBUTES) in getVolumeGroupIdForAudioAttributes_withSupportedAttributes_succeeds()
273 .that(CoreAudioHelper.getVolumeGroupIdForAudioAttributes(OEM_ATTRIBUTES)) in getVolumeGroupIdForAudioAttributes_withSupportedAttributes_succeeds()
DCoreAudioRoutingUtils.java81 public static final AudioAttributes OEM_ATTRIBUTES; field in CoreAudioRoutingUtils
104 OEM_ATTRIBUTES = new AudioAttributes.Builder()
296 AudioAttributes[] oemAttributesArray = { OEM_ATTRIBUTES };
DCoreAudioVolumeGroupTest.java46 import static com.android.car.audio.CoreAudioRoutingUtils.OEM_ATTRIBUTES;
146 doReturn(OEM_ATTRIBUTES) in setupMock()
149 when(mMockAudioManager.getMinVolumeIndexForAttributes(OEM_ATTRIBUTES)) in setupMock()
153 OEM_ATTRIBUTES)); in setupMock()
154 when(mMockAudioManager.getMaxVolumeIndexForAttributes(OEM_ATTRIBUTES)) in setupMock()
DCarHalAudioUtilsTest.java28 import static com.android.car.audio.CoreAudioRoutingUtils.OEM_ATTRIBUTES;
164 PlaybackTrackMetadata metadata = CarHalAudioUtils.audioAttributeToMetadata(OEM_ATTRIBUTES); in audioAttributeToMetadata_withOemTags_succeeds()
283 .isEqualTo(OEM_ATTRIBUTES); in metadataToAudioAttributes_withOemTags_succeeds()
DCarAudioContextTest.java159 eq(CoreAudioRoutingUtils.OEM_ATTRIBUTES))); in setupMock()
948 CoreAudioRoutingUtils.OEM_ATTRIBUTES); in getAudioAttributeWrapperFromAttributes_withOemExtension_hashCode_succeeds()
DCarAudioServiceUnitTest.java6714 when(mAudioManager.getMinVolumeIndexForAttributes(eq(CoreAudioRoutingUtils.OEM_ATTRIBUTES))) in mockCoreAudioRoutingAndVolume()
6716 when(mAudioManager.getMaxVolumeIndexForAttributes(eq(CoreAudioRoutingUtils.OEM_ATTRIBUTES))) in mockCoreAudioRoutingAndVolume()
6737 CoreAudioRoutingUtils.OEM_ATTRIBUTES)); in mockCoreAudioRoutingAndVolume()
6738 doReturn(CoreAudioRoutingUtils.OEM_ATTRIBUTES) in mockCoreAudioRoutingAndVolume()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCoreAudioRoutingUtils.java68 static final AudioAttributes OEM_ATTRIBUTES; field in CoreAudioRoutingUtils
90 OEM_ATTRIBUTES = new AudioAttributes.Builder()
275 new AudioAttributes[] { OEM_ATTRIBUTES }, OEM_CONTEXT_NAME, OEM_STRATEGY_ID)); in getCarAudioContextInfos()
DCarAudioZonesHelperTest.java2113 CoreAudioRoutingUtils.OEM_ATTRIBUTES)); in setupAudioManagerMock()
2114 doReturn(CoreAudioRoutingUtils.OEM_ATTRIBUTES) in setupAudioManagerMock()