Home
last modified time | relevance | path

Searched refs:xsd (Results 1 – 11 of 11) sorted by relevance

/device/generic/goldfish/audio/
Dutil.cpp27 namespace xsd { namespace
63 switch (xsd::stringToAudioChannelMask(value)) { in checkChannelMask()
64 case xsd::AudioChannelMask::AUDIO_CHANNEL_OUT_MONO: in checkChannelMask()
65 case xsd::AudioChannelMask::AUDIO_CHANNEL_OUT_STEREO: in checkChannelMask()
66 case xsd::AudioChannelMask::AUDIO_CHANNEL_IN_MONO: in checkChannelMask()
67 case xsd::AudioChannelMask::AUDIO_CHANNEL_IN_STEREO: in checkChannelMask()
73 xsd::AudioChannelMask::AUDIO_CHANNEL_OUT_STEREO : in checkChannelMask()
74 xsd::AudioChannelMask::AUDIO_CHANNEL_IN_MONO); in checkChannelMask()
80 switch (xsd::stringToAudioFormat(value)) { in checkFormat()
81 case xsd::AudioFormat::AUDIO_FORMAT_PCM_16_BIT: in checkFormat()
[all …]
Ddevice_port_sink.cpp34 namespace xsd { namespace
367 if (xsd::stringToAudioFormat(cfg.base.format) != xsd::AudioFormat::AUDIO_FORMAT_PCM_16_BIT) { in create()
376 switch (xsd::stringToAudioDevice(address.deviceType)) { in create()
377 case xsd::AudioDevice::AUDIO_DEVICE_OUT_DEFAULT: in create()
378 case xsd::AudioDevice::AUDIO_DEVICE_OUT_SPEAKER: in create()
391 case xsd::AudioDevice::AUDIO_DEVICE_OUT_TELEPHONY_TX: in create()
392 case xsd::AudioDevice::AUDIO_DEVICE_OUT_BUS: in create()
406 switch (xsd::stringToAudioDevice(address.deviceType)) { in getLatencyMs()
411 case xsd::AudioDevice::AUDIO_DEVICE_OUT_DEFAULT: in getLatencyMs()
412 case xsd::AudioDevice::AUDIO_DEVICE_OUT_SPEAKER: in getLatencyMs()
[all …]
Ddevice_port_source.cpp38 namespace xsd { namespace
428 if (xsd::stringToAudioFormat(cfg.base.format) != xsd::AudioFormat::AUDIO_FORMAT_PCM_16_BIT) { in create()
433 switch (xsd::stringToAudioDevice(address.deviceType)) { in create()
434 case xsd::AudioDevice::AUDIO_DEVICE_IN_DEFAULT: in create()
435 case xsd::AudioDevice::AUDIO_DEVICE_IN_BUILTIN_MIC: in create()
452 case xsd::AudioDevice::AUDIO_DEVICE_IN_TELEPHONY_RX: in create()
456 case xsd::AudioDevice::AUDIO_DEVICE_IN_FM_TUNER: in create()
473 switch (xsd::stringToAudioDevice(address.deviceType)) { in validateDeviceAddress()
478 case xsd::AudioDevice::AUDIO_DEVICE_IN_DEFAULT: in validateDeviceAddress()
479 case xsd::AudioDevice::AUDIO_DEVICE_IN_BUILTIN_MIC: in validateDeviceAddress()
[all …]
Dstream_in.cpp33 namespace xsd { namespace
438 (mute && (xsd::stringToAudioDevice(getDeviceAddress().deviceType) == in setMicMute()
439 xsd::AudioDevice::AUDIO_DEVICE_IN_BUILTIN_MIC)) in setMicMute()
449 return xsd::stringToAudioInOutFlag(flag) != xsd::AudioInOutFlag::UNKNOWN; in validateFlags()
455 if (xsd::isUnknownAudioSource(track.source) in validateSinkMetadata()
456 || xsd::isUnknownAudioChannelMask(track.channelMask)) { in validateSinkMetadata()
460 if (!xsd::isVendorExtension(tag)) { in validateSinkMetadata()
Dstream_out.cpp33 namespace xsd { namespace
592 return xsd::stringToAudioInOutFlag(flag) != xsd::AudioInOutFlag::UNKNOWN; in validateFlags()
598 if (xsd::isUnknownAudioUsage(track.usage) in validateSourceMetadata()
599 || xsd::isUnknownAudioContentType(track.contentType) in validateSourceMetadata()
600 || xsd::isUnknownAudioChannelMask(track.channelMask)) { in validateSourceMetadata()
604 if (!xsd::isVendorExtension(tag)) { in validateSourceMetadata()
Dprimary_device.cpp27 namespace xsd { namespace
/device/generic/car/emulator/audio/halservice/
DAudioControl.cpp47 namespace xsd { namespace
213 if (xsd::isUnknownAudioUsage(usage)) { in cmdRequestFocus()
256 if (xsd::isUnknownAudioUsage(usage)) { in cmdAbandonFocus()
/device/google/trout/hal/audiocontrol/aidl/1.0/
DAudioControlServer.cpp41 namespace xsd { namespace
45 using xsd::AudioUsage;
DAudioControl.cpp38 namespace xsd { namespace
/device/google/trout/hal/dumpstate/1.1/config/
DAndroid.bp22 srcs: ["dumpstate_hal_configuration.xsd"],
/device/google/trout/hal/sensors/2.1/config/
DAndroid.bp22 srcs: ["sensor_hal_configuration.xsd"],