Searched refs:CarHalAudioUtils (Results 1 – 14 of 14) sorted by relevance
121 DuckingInfo duckingInfo = CarHalAudioUtils.generateDuckingInfo(getCarDuckingInfo()); in generateDuckingInfo_succeeds()142 CarHalAudioUtils.generateDuckingInfo(null); in generateDuckingInfo_withNullDuckingInfo_fails()152 CarHalAudioUtils.audioAttributeToMetadata(MEDIA_AUDIO_ATTRIBUTE); in audioAttributeToMetadata_succeeds()164 PlaybackTrackMetadata metadata = CarHalAudioUtils.audioAttributeToMetadata(OEM_ATTRIBUTES); in audioAttributeToMetadata_withOemTags_succeeds()184 PlaybackTrackMetadata metadata = CarHalAudioUtils.audioAttributesWrapperToMetadata( in audioAttributesWrapperToMetadata_succeeds()200 PlaybackTrackMetadata metadata = CarHalAudioUtils.usageToMetadata(USAGE_MEDIA); in usageToMetadata_succeeds()216 CarHalAudioUtils.usageToMetadata(USAGE_MEDIA, mCarAudioZone); in usageToMetadata_withZone_succeeds()238 AudioAttributes audioAttributes = CarHalAudioUtils.metadataToAudioAttribute(metadata); in metadataToAudioAttribute_withMusic_succeeds()258 AudioAttributes audioAttributes = CarHalAudioUtils.metadataToAudioAttribute(metadata); in metadataToAudioAttribute_withSystemUsage_succeeds()280 AudioAttributes audioAttributes = CarHalAudioUtils.metadataToAudioAttribute(metadata); in metadataToAudioAttributes_withOemTags_succeeds()[all …]
47 CarHalAudioUtils.audioAttributesToMetadatas(USAGES_HOLDING_FOCUS);102 DuckingInfo duckingInfo = CarHalAudioUtils.generateDuckingInfo(carDuckingInfo); in generateDuckingInfo_includesSameAddressesToDuck()112 DuckingInfo duckingInfo = CarHalAudioUtils.generateDuckingInfo(carDuckingInfo); in generateDuckingInfo_includesSameAddressesToUnduck()122 DuckingInfo duckingInfo = CarHalAudioUtils.generateDuckingInfo(carDuckingInfo); in generateDuckingInfo_includesSameUsagesHoldingFocus()133 DuckingInfo duckingInfo = CarHalAudioUtils.generateDuckingInfo(carDuckingInfo); in generateDuckingInfo_includesSamePlaybackTrackMetadataHoldingFocus()
137 CarHalAudioUtils.audioAttributesToMetadatas(activeAudioAttributes, mockZone); in generateDuckingInfo_succeed()156 CarHalAudioUtils.audioAttributesToMetadatas(audioAttributesWithoutSafety, in generateDuckingInfo_succeed()173 CarHalAudioUtils.audioAttributesToMetadatas(audioAttributesWithOnlyMedia, mockZone); in generateDuckingInfo_succeed()186 CarHalAudioUtils.audioAttributesToMetadatas(audioAttributesWithOnlyMedia, mockZone); in generateDuckingInfo_succeed()
155 .that(CarHalAudioUtils.metadataToAudioAttributes(newDuckingInfo in onFocusChange_forPrimaryZone_updatesUsagesHoldingFocus()204 CarHalAudioUtils.metadataToAudioAttributes( in onFocusChange_notifiesHalOfUsagesHoldingFocus()
101 import static com.android.car.audio.CarHalAudioUtils.usageToMetadata;6770 .that(CarHalAudioUtils.metadataToAudioAttributes(duckingInfo in verifyMediaDuckingInfoInZone()
40 public final class CarHalAudioUtils { class41 private CarHalAudioUtils() {} in CarHalAudioUtils() method in CarHalAudioUtils
45 CarHalAudioUtils.audioAttributesToMetadatas(attributesHoldingFocus, zone)); in generateDuckingInfo()
23 import static com.android.car.audio.CarHalAudioUtils.usageToMetadata;47 import com.android.car.audio.CarHalAudioUtils;245 duckingInfos[i] = CarHalAudioUtils.generateDuckingInfo(info); in onDevicesToDuckChange()
27 import static com.android.car.audio.CarHalAudioUtils.audioAttributesWrapperToMetadata;28 import static com.android.car.audio.CarHalAudioUtils.metadataToAudioAttribute;
21 import static com.android.car.audio.CarHalAudioUtils.usageToMetadata;
31 import static com.android.car.audio.CarHalAudioUtils.audioAttributeToMetadata;32 import static com.android.car.audio.CarHalAudioUtils.usageToMetadata;
19 import static com.android.car.audio.CarHalAudioUtils.usageToMetadata;
26 import static com.android.car.audio.CarHalAudioUtils.usageToMetadata;77 import com.android.car.audio.CarHalAudioUtils;384 CarHalAudioUtils.audioAttributesToMetadatas(audioAttributes, in onDevicesToDuckChange_convertsUsagesToXsdStrings()