Home
last modified time | relevance | path

Searched refs:audioDevice (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarHalAudioUtilsTest.java233 AudioDevice audioDevice = new AudioDevice(); in metadataToAudioAttribute_withMusic_succeeds() local
234 audioDevice.type = audioDeviceDescription; in metadataToAudioAttribute_withMusic_succeeds()
235 audioDevice.address = AudioDeviceAddress.id(""); in metadataToAudioAttribute_withMusic_succeeds()
236 metadata.sourceDevice = audioDevice; in metadataToAudioAttribute_withMusic_succeeds()
253 AudioDevice audioDevice = new AudioDevice(); in metadataToAudioAttribute_withSystemUsage_succeeds() local
254 audioDevice.type = audioDeviceDescription; in metadataToAudioAttribute_withSystemUsage_succeeds()
255 audioDevice.address = AudioDeviceAddress.id(""); in metadataToAudioAttribute_withSystemUsage_succeeds()
256 metadata.sourceDevice = audioDevice; in metadataToAudioAttribute_withSystemUsage_succeeds()
275 AudioDevice audioDevice = new AudioDevice(); in metadataToAudioAttributes_withOemTags_succeeds() local
276 audioDevice.type = audioDeviceDescription; in metadataToAudioAttributes_withOemTags_succeeds()
[all …]
DCarAudioDeviceInfoTest.java226 AudioDeviceAttributes audioDevice = getMockAudioDeviceAttribute(TYPE_BUS); in getSampleRate_withMultipleSampleRates_returnsMax() local
230 CarAudioDeviceInfo info = new CarAudioDeviceInfo(mAudioManagerWrapper, audioDevice); in getSampleRate_withMultipleSampleRates_returnsMax()
331 AudioDeviceAttributes audioDevice = getMockAudioDeviceAttribute(TYPE_BUS); in getAudioDevice_returnsConstructorParameter() local
332 CarAudioDeviceInfo info = new CarAudioDeviceInfo(mAudioManagerWrapper, audioDevice); in getAudioDevice_returnsConstructorParameter()
335 .that(info.getAudioDevice()).isEqualTo(audioDevice); in getAudioDevice_returnsConstructorParameter()
349 AudioDeviceAttributes audioDevice = getMockAudioDeviceAttribute(TYPE_BUS); in getEncodingFormat_withMultipleLinearPcmEncodings_returnsMax() local
353 CarAudioDeviceInfo info = new CarAudioDeviceInfo(mAudioManagerWrapper, audioDevice); in getEncodingFormat_withMultipleLinearPcmEncodings_returnsMax()
362 AudioDeviceAttributes audioDevice = getMockAudioDeviceAttribute(TYPE_BUS); in getEncodingFormat_withoutLinearPcmEncodings_returnsDefault() local
366 CarAudioDeviceInfo info = new CarAudioDeviceInfo(mAudioManagerWrapper, audioDevice); in getEncodingFormat_withoutLinearPcmEncodings_returnsDefault()
/packages/services/Car/service/src/com/android/car/audio/
DCarHalAudioUtils.java96 AudioDevice audioDevice = new AudioDevice(); in audioAttributeToMetadata() local
97 audioDevice.type = audioDeviceDescription; in audioAttributeToMetadata()
98 audioDevice.address = AudioDeviceAddress.id(deviceAddress); in audioAttributeToMetadata()
99 playbackTrackMetadata.sourceDevice = audioDevice; in audioAttributeToMetadata()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ui/viewmodel/
DResolverRequestReader.kt41 val audioDevice = optional(value<Boolean>(EXTRA_IS_AUDIO_CAPTURE_DEVICE)) ?: false in readResolverRequest() constant
42 ResolverRequest(launch.intent, selectedProfile, callingUser, audioDevice) in readResolverRequest()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsSpatialAudioController.java366 void setAvailableDevice(AudioDeviceAttributes audioDevice) { in setAvailableDevice() argument
367 mAudioDevice = audioDevice; in setAvailableDevice()