Home
last modified time | relevance | path

Searched refs:CarHalAudioUtils (Results 1 – 14 of 14) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarHalAudioUtilsTest.java121 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 …]
DCarDuckingInfoTest.java47 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()
DCarDuckingUtilsTest.java137 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()
DCarDuckingTest.java155 .that(CarHalAudioUtils.metadataToAudioAttributes(newDuckingInfo in onFocusChange_forPrimaryZone_updatesUsagesHoldingFocus()
204 CarHalAudioUtils.metadataToAudioAttributes( in onFocusChange_notifiesHalOfUsagesHoldingFocus()
DCarAudioServiceUnitTest.java101 import static com.android.car.audio.CarHalAudioUtils.usageToMetadata;
6770 .that(CarHalAudioUtils.metadataToAudioAttributes(duckingInfo in verifyMediaDuckingInfoInZone()
/packages/services/Car/service/src/com/android/car/audio/
DCarHalAudioUtils.java40 public final class CarHalAudioUtils { class
41 private CarHalAudioUtils() {} in CarHalAudioUtils() method in CarHalAudioUtils
DCarDuckingUtils.java45 CarHalAudioUtils.audioAttributesToMetadatas(attributesHoldingFocus, zone)); in generateDuckingInfo()
/packages/services/Car/service/src/com/android/car/audio/hal/
DAudioControlWrapperAidl.java23 import static com.android.car.audio.CarHalAudioUtils.usageToMetadata;
47 import com.android.car.audio.CarHalAudioUtils;
245 duckingInfos[i] = CarHalAudioUtils.generateDuckingInfo(info); in onDevicesToDuckChange()
DHalAudioFocus.java27 import static com.android.car.audio.CarHalAudioUtils.audioAttributesWrapperToMetadata;
28 import static com.android.car.audio.CarHalAudioUtils.metadataToAudioAttribute;
DAudioControlWrapperV2.java21 import static com.android.car.audio.CarHalAudioUtils.usageToMetadata;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DHalAudioFocusTest.java31 import static com.android.car.audio.CarHalAudioUtils.audioAttributeToMetadata;
32 import static com.android.car.audio.CarHalAudioUtils.usageToMetadata;
DAudioControlWrapperV1Test.java19 import static com.android.car.audio.CarHalAudioUtils.usageToMetadata;
DAudioControlWrapperAidlTest.java26 import static com.android.car.audio.CarHalAudioUtils.usageToMetadata;
77 import com.android.car.audio.CarHalAudioUtils;
384 CarHalAudioUtils.audioAttributesToMetadatas(audioAttributes, in onDevicesToDuckChange_convertsUsagesToXsdStrings()
DAudioControlWrapperV2Test.java19 import static com.android.car.audio.CarHalAudioUtils.usageToMetadata;