Home
last modified time | relevance | path

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

12

/hardware/interfaces/audio/policy/1.0/xml/pfw_schemas/
DAndroid.bp13 srcs: ["AllSchemas.xsd"],
23 srcs: ["ComponentLibrary.xsd"],
25 "audio_policy_engine_configurable_configuration_ComponentLibrary_V1_0.xsd",
27 …: "cp -f $(in) $(genDir)/audio_policy_engine_configurable_configuration_ComponentLibrary_V1_0.xsd",
32 srcs: ["ComponentTypeSet.xsd"],
34 "audio_policy_engine_configurable_configuration_ComponentTypeSet_V1_0.xsd",
36 …: "cp -f $(in) $(genDir)/audio_policy_engine_configurable_configuration_ComponentTypeSet_V1_0.xsd",
41 srcs: ["ConfigurableDomain.xsd"],
43 "audio_policy_engine_configurable_configuration_ConfigurableDomain_V1_0.xsd",
45 …"cp -f $(in) $(genDir)/audio_policy_engine_configurable_configuration_ConfigurableDomain_V1_0.xsd",
[all …]
DREADME.md7 …xmllint --xinclude --noout --schema ParameterFrameworkConfiguration.xsd /path/to/your/ParameterFra…
11 Only `ParameterFrameworkConfiguration.xsd`, `SystemClass.xsd`, `Subsystem.xsd` and
12 `ConfigurableDomains.xsd` are relevant for use with xmllint: the others are
18 ## ParameterFrameworkConfiguration.xsd
44 ## SystemClass.xsd
54 ## Subsystem.xsd
79 ## ConfigurableDomains.xsd
/hardware/interfaces/audio/common/all-versions/test/utility/tests/
Dutility_tests.cpp86 TemporaryFile xsd; in TEST() local
87 ASSERT_TRUE(android::base::WriteStringToFile(XSD_SOURCE, xsd.path)) << strerror(errno); in TEST()
88 EXPECT_FALSE(validateXml("xml", "xsd", xml.path, xsd.path)); in TEST()
96 TemporaryFile xsd; in TEST() local
97 ASSERT_TRUE(android::base::WriteStringToFile(XSD_SOURCE, xsd.path)) << strerror(errno); in TEST()
98 EXPECT_TRUE(validateXml("xml", "xsd", xml.path, xsd.path)); in TEST()
110 TemporaryFile xsd; in TEST() local
111 ASSERT_TRUE(android::base::WriteStringToFile(XSD_SOURCE, xsd.path)) << strerror(errno); in TEST()
112 EXPECT_TRUE(validateXml("xml", "xsd", xml.path, xsd.path)); in TEST()
127 TemporaryFile xsd; in TEST() local
[all …]
/hardware/interfaces/audio/common/all-versions/default/tests/
Dhidlutils_tests.cpp34 namespace xsd { namespace
72 static bool isInputChannelMask(xsd::AudioChannelMask channelMask) { in isInputChannelMask()
76 static bool isOutputChannelMask(xsd::AudioChannelMask channelMask) { in isOutputChannelMask()
80 static bool isIndexChannelMask(xsd::AudioChannelMask channelMask) { in isIndexChannelMask()
85 for (const auto enumVal : xsdc_enum_range<xsd::AudioChannelMask>{}) { in TEST()
91 EXPECT_EQ(enumVal != xsd::AudioChannelMask::AUDIO_CHANNEL_NONE, in TEST()
106 enumVal == xsd::AudioChannelMask::AUDIO_CHANNEL_NONE) { in TEST()
126 toString(xsd::AudioChannelMask::AUDIO_CHANNEL_OUT_STEREO), "random string", ""}; in TEST()
141 for (const auto enumVal : xsdc_enum_range<xsd::AudioChannelMask>{}) { in TEST()
155 configBase.format = toString(xsd::AudioFormat::AUDIO_FORMAT_PCM_16_BIT); in generateValidConfigBase()
[all …]
/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/
DAudioPrimaryHidlHalTest.cpp126 using AD = xsd::AudioDevice;
191 otherAddress.deviceType = xsd::isOutputDevice(address.deviceType)
192 ? toString(xsd::AudioDevice::AUDIO_DEVICE_OUT_SPEAKER)
193 : toString(xsd::AudioDevice::AUDIO_DEVICE_IN_BUILTIN_MIC);
245 .channelMask = toString(xsd::AudioChannelMask::AUDIO_CHANNEL_IN_MONO)}}};
305 toString(xsd::AudioChannelMask::AUDIO_CHANNEL_OUT_STEREO),
316 {{{toString(xsd::AudioUsage::AUDIO_USAGE_MEDIA),
317 toString(xsd::AudioContentType::AUDIO_CONTENT_TYPE_MUSIC),
319 toString(xsd::AudioChannelMask::AUDIO_CHANNEL_OUT_STEREO),
321 {toString(xsd::AudioUsage::AUDIO_USAGE_VOICE_COMMUNICATION),
[all …]
/hardware/interfaces/audio/effect/all-versions/vts/functional/
DValidateAudioEffectsConfiguration.cpp45 const char* xsd = "/data/local/tmp/audio_effects_conf_" STRINGIFY(CPP_VERSION) ".xsd"; in TEST() local
49 xsd); in TEST()
53 xsd); in TEST()
/hardware/interfaces/audio/effect/2.0/xml/
DAndroid.bp13 srcs: ["audio_effects_conf.xsd"],
15 "audio_effects_conf_V2_0.xsd",
17 cmd: "cp -f $(in) $(genDir)/audio_effects_conf_V2_0.xsd",
/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/
DAudioPrimaryHidlHalTest.cpp43 .deviceType = toString(xsd::AudioDevice::AUDIO_DEVICE_IN_DEFAULT)}; in getValidInputDeviceAddress()
49 .deviceType = toString(xsd::AudioDevice::AUDIO_DEVICE_OUT_DEFAULT)}; in getValidOutputDeviceAddress()
82 .mode = {toString(xsd::AudioGainMode::AUDIO_GAIN_MODE_JOINT)}, in generatePortConfigs()
83 .channelMask = toString(xsd::AudioChannelMask::AUDIO_CHANNEL_OUT_MONO), in generatePortConfigs()
94 toString(xsd::AudioStreamType::AUDIO_STREAM_VOICE_CALL)); in generatePortConfigs()
99 toString(xsd::AudioSource::AUDIO_SOURCE_DEFAULT)); in generatePortConfigs()
254 .source = toString(xsd::AudioSource::AUDIO_SOURCE_DEFAULT), .gain = 1}; in getValidRecordTrackMetadata()
260 .source = toString(xsd::AudioSource::AUDIO_SOURCE_DEFAULT), in getValidRecordTrackMetadataWithDest()
277 .source = toString(xsd::AudioSource::AUDIO_SOURCE_DEFAULT), in getRecordTrackMetadataWithInvalidDest()
289 .source = toString(xsd::AudioSource::AUDIO_SOURCE_DEFAULT), in getInvalidChannelMaskRecordTrackMetadata()
[all …]
DPolicyConfig.h37 namespace xsd {
48 mConfig{xsd::read(mFilePath.c_str())} {
54 const xsd::Module* getModuleFromName(const std::string& name) const;
55 const xsd::Module* getPrimaryModule() const { return mPrimaryModule; } in getPrimaryModule()
102 std::optional<xsd::AudioPolicyConfiguration> mConfig;
104 const xsd::Module* mPrimaryModule;
DGenerators.cpp37 namespace xsd { namespace
41 static std::vector<AudioConfig> combineAudioConfig(std::vector<xsd::AudioChannelMask> channelMasks, in combineAudioConfig()
59 const xsd::MixPorts::MixPort& mixPort) { in generateOutFlags()
65 xsd::AudioInOutFlag::AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD) != in generateOutFlags()
68 if (flag != xsd::AudioInOutFlag::AUDIO_OUTPUT_FLAG_PRIMARY) { in generateOutFlags()
79 .streamType = toString(xsd::AudioStreamType::AUDIO_STREAM_MUSIC), in generateOffloadInfo()
80 .usage = toString(xsd::AudioUsage::AUDIO_USAGE_MEDIA), in generateOffloadInfo()
95 if (mixPort.getRole() != xsd::Role::source) continue; // not an output profile in generateOutputDeviceConfigParameters()
147 if (mixPort.getRole() != xsd::Role::source) continue; // not an output profile in getOutputDeviceInvalidConfigParameters()
159 toString(xsd::AudioDevice::AUDIO_DEVICE_OUT_DEFAULT), {}}; in getOutputDeviceInvalidConfigParameters()
[all …]
DPolicyConfig.cpp37 namespace xsd { namespace
51 const xsd::Module* PolicyConfig::getModuleFromName(const std::string& name) const { in getModuleFromName()
95 if (mixPort.getRole() == xsd::Role::sink) return true; in haveInputProfilesInModule()
150 } else if (xsd::isVendorExtension(devicePort->getType())) { in getDeviceAddressOfDevicePort()
/hardware/interfaces/audio/7.0/config/
DAndroid.bp12 srcs: ["audio_policy_configuration.xsd"],
19 srcs: ["audio_policy_configuration.xsd"],
27 srcs: ["audio_policy_configuration.xsd"],
Dupdate_audio_policy_config.sh71 …schema ${ANDROID_BUILD_TOP}/${HAL_DIRECTORY}/${OLD_VERSION}/config/audio_policy_configuration.xsd \
155 …schema ${ANDROID_BUILD_TOP}/${HAL_DIRECTORY}/${NEW_VERSION}/config/audio_policy_configuration.xsd \
/hardware/interfaces/audio/7.1/config/
DAndroid.bp12 srcs: ["audio_policy_configuration.xsd"],
19 srcs: ["audio_policy_configuration.xsd"],
27 srcs: ["audio_policy_configuration.xsd"],
/hardware/interfaces/tv/tuner/config/
DAndroid.bp12 srcs: ["tuner_testing_dynamic_configuration.xsd"],
19 srcs: ["tuner_testing_dynamic_configuration.xsd"],
27 srcs: ["tuner_testing_dynamic_configuration.xsd"],
/hardware/interfaces/audio/aidl/default/
DAidlConversionXsdc.cpp27 namespace xsd = android::audio::policy::configuration;
36 const ::xsd::SurroundFormats::Format& xsdc) { in xsdc2aidl_SurroundFormatFamily()
47 const ::xsd::SurroundSound& xsdc) { in xsdc2aidl_SurroundSoundConfig()
/hardware/interfaces/audio/common/all-versions/default/7.0/
DHidlUtils.cpp37 namespace xsd { namespace
49 if (!channelMask->empty() && !xsd::isUnknownAudioChannelMask(*channelMask)) { in audioIndexChannelMaskFromHal()
53 *channelMask = toString(xsd::AudioChannelMask::AUDIO_CHANNEL_NONE); in audioIndexChannelMaskFromHal()
60 if (!channelMask->empty() && !xsd::isUnknownAudioChannelMask(*channelMask)) { in audioInputChannelMaskFromHal()
64 *channelMask = toString(xsd::AudioChannelMask::AUDIO_CHANNEL_NONE); in audioInputChannelMaskFromHal()
71 if (!channelMask->empty() && !xsd::isUnknownAudioChannelMask(*channelMask)) { in audioOutputChannelMaskFromHal()
75 *channelMask = toString(xsd::AudioChannelMask::AUDIO_CHANNEL_NONE); in audioOutputChannelMaskFromHal()
93 *channelMask = toString(xsd::AudioChannelMask::AUDIO_CHANNEL_NONE); in audioChannelMaskFromHal()
96 *channelMask = toString(xsd::AudioChannelMask::AUDIO_CHANNEL_NONE); in audioChannelMaskFromHal()
106 if (!halChannelMask.empty() && !xsd::isUnknownAudioChannelMask(halChannelMask)) { in audioChannelMasksFromHal()
[all …]
/hardware/interfaces/automotive/audiocontrol/aidl/vts/
DVtsHalAudioControlTargetTest.cpp49 namespace xsd { namespace
156 String16 usage = String16(xsd::toString(xsd::AudioUsage::AUDIO_USAGE_MEDIA).c_str()); in TEST_P()
181 String16(xsd::toString(xsd::AudioUsage::AUDIO_USAGE_MEDIA).c_str()), in TEST_P()
182 String16(xsd::toString(xsd::AudioUsage::AUDIO_USAGE_ASSISTANCE_NAVIGATION_GUIDANCE) in TEST_P()
/hardware/interfaces/audio/core/all-versions/default/util/tests/
Dcoreutils_tests.cpp35 namespace xsd { namespace
51 static bool isInputFlag(xsd::AudioInOutFlag flag) { in isInputFlag()
55 static bool isOutputFlag(xsd::AudioInOutFlag flag) { in isOutputFlag()
83 for (const auto enumVal : xsdc_enum_range<xsd::AudioInOutFlag>{}) { in TEST()
124 for (const auto enumVal : xsdc_enum_range<xsd::AudioInOutFlag>{}) { in TEST()
143 micInfo.deviceAddress.deviceType = toString(xsd::AudioDevice::AUDIO_DEVICE_IN_BUILTIN_MIC); in generateValidMicrophoneInfo()
197 metadata.source = toString(xsd::AudioSource::AUDIO_SOURCE_DEFAULT); in generateMinimalRecordTrackMetadata()
198 metadata.channelMask = toString(xsd::AudioChannelMask::AUDIO_CHANNEL_NONE); in generateMinimalRecordTrackMetadata()
206 metadata.channelMask = toString(xsd::AudioChannelMask::AUDIO_CHANNEL_IN_MONO); in generateValidRecordTrackMetadata()
214 metadata.destination.device().deviceType = toString(xsd::AudioDevice::AUDIO_DEVICE_OUT_SPEAKER); in generateValidRecordTrackMetadataWithDevice()
[all …]
/hardware/interfaces/audio/core/all-versions/vts/functional/tests/
Dgenerators_tests.cpp38 namespace xsd { namespace
98 ASSERT_FALSE(xsd::isUnknownAudioFormat(config.base.format)) in validateConfig()
100 ASSERT_FALSE(xsd::isUnknownAudioChannelMask(config.base.channelMask)) in validateConfig()
160 xsd::getChannelCount(config.base.channelMask); in TEST()
/hardware/interfaces/audio/core/all-versions/default/util/
DCoreUtils.cpp27 namespace xsd { namespace
178 trackMetadata.channelMask = toString(xsd::AudioChannelMask::AUDIO_CHANNEL_NONE); in sinkMetadataFromHal()
293 trackMetadata.channelMask = toString(xsd::AudioChannelMask::AUDIO_CHANNEL_NONE); in sourceMetadataFromHal()
391 namespace xsd { namespace
403 if (!flagStr.empty() && !xsd::isUnknownAudioInOutFlag(flagStr)) { in audioInputFlagsFromHal()
422 if (!xsd::isUnknownAudioInOutFlag(flag) && in audioInputFlagsToHal()
441 if (!flagStr.empty() && !xsd::isUnknownAudioInOutFlag(flagStr)) { in audioOutputFlagsFromHal()
460 if (!xsd::isUnknownAudioInOutFlag(flag) && in audioOutputFlagsToHal()
/hardware/interfaces/audio/effect/all-versions/default/util/tests/
Deffectutils_tests.cpp33 namespace xsd { namespace
115 chanMask.base.channelMask.value(toString(xsd::AudioChannelMask::AUDIO_CHANNEL_OUT_STEREO)); in TEST()
124 format.base.format.value(toString(xsd::AudioFormat::AUDIO_FORMAT_PCM_16_BIT)); in TEST()
/hardware/interfaces/audio/common/7.0/example/
DEffect.cpp30 namespace xsd { namespace
112 config.outputCfg.base.format.value(toString(xsd::AudioFormat::AUDIO_FORMAT_PCM_16_BIT)); in getConfig()
115 toString(xsd::AudioChannelMask::AUDIO_CHANNEL_OUT_STEREO)); in getConfig()
/hardware/interfaces/audio/5.0/config/
DAndroid.bp13 srcs: ["audio_policy_configuration.xsd"],
/hardware/interfaces/audio/policy/1.0/xml/
DAndroid.bp13 srcs: ["audio_policy_engine_configuration.xsd"],

12