Searched refs:audioDevice (Results 1 – 5 of 5) sorted by relevance
233 AudioDevice audioDevice = new AudioDevice(); in metadataToAudioAttribute_withMusic_succeeds() local234 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() local254 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() local276 audioDevice.type = audioDeviceDescription; in metadataToAudioAttributes_withOemTags_succeeds()[all …]
226 AudioDeviceAttributes audioDevice = getMockAudioDeviceAttribute(TYPE_BUS); in getSampleRate_withMultipleSampleRates_returnsMax() local230 CarAudioDeviceInfo info = new CarAudioDeviceInfo(mAudioManagerWrapper, audioDevice); in getSampleRate_withMultipleSampleRates_returnsMax()331 AudioDeviceAttributes audioDevice = getMockAudioDeviceAttribute(TYPE_BUS); in getAudioDevice_returnsConstructorParameter() local332 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() local353 CarAudioDeviceInfo info = new CarAudioDeviceInfo(mAudioManagerWrapper, audioDevice); in getEncodingFormat_withMultipleLinearPcmEncodings_returnsMax()362 AudioDeviceAttributes audioDevice = getMockAudioDeviceAttribute(TYPE_BUS); in getEncodingFormat_withoutLinearPcmEncodings_returnsDefault() local366 CarAudioDeviceInfo info = new CarAudioDeviceInfo(mAudioManagerWrapper, audioDevice); in getEncodingFormat_withoutLinearPcmEncodings_returnsDefault()
96 AudioDevice audioDevice = new AudioDevice(); in audioAttributeToMetadata() local97 audioDevice.type = audioDeviceDescription; in audioAttributeToMetadata()98 audioDevice.address = AudioDeviceAddress.id(deviceAddress); in audioAttributeToMetadata()99 playbackTrackMetadata.sourceDevice = audioDevice; in audioAttributeToMetadata()
41 val audioDevice = optional(value<Boolean>(EXTRA_IS_AUDIO_CAPTURE_DEVICE)) ?: false in readResolverRequest() constant42 ResolverRequest(launch.intent, selectedProfile, callingUser, audioDevice) in readResolverRequest()
366 void setAvailableDevice(AudioDeviceAttributes audioDevice) { in setAvailableDevice() argument367 mAudioDevice = audioDevice; in setAvailableDevice()