summaryrefslogtreecommitdiffstats
path: root/Schemas
diff options
context:
space:
mode:
authorPatrick Benavoli <patrickx.benavoli@intel.com>2011-11-25 22:36:41 +0100
committerDavid Wagner <david.wagner@intel.com>2014-02-10 17:15:01 +0100
commit79f16cc91351951a39ad3019a7dc9e4dea532551 (patch)
tree1b249c2733e743d7172422e17a26bab3d1fc66b3 /Schemas
parent9bed7cea60c371df60ab53c2e7ade186f04266f3 (diff)
downloadexternal_parameter-framework-79f16cc91351951a39ad3019a7dc9e4dea532551.zip
external_parameter-framework-79f16cc91351951a39ad3019a7dc9e4dea532551.tar.gz
external_parameter-framework-79f16cc91351951a39ad3019a7dc9e4dea532551.tar.bz2
PFW: Max value on bit parameters
BZ: 15708 Added Max attribute on bit parameter types. Max attribute, as the parameter itself is unsigned and can't exceed the maximum encodable value decided by the parameter's bit size. In addition, fixed a small mistake in CParameterMgr::createParameterHandle where now NULL is properly returned in case of failure instead of "false". Change-Id: Ifb0af6b4d43dc2c0ddb4e0e038b1ce226772d71f Signed-off-by: Patrick Benavoli <patrickx.benavoli@intel.com> Reviewed-on: http://android.intel.com:8080/26098 Reviewed-by: Barthes, FabienX <fabienx.barthes@intel.com> Tested-by: Barthes, FabienX <fabienx.barthes@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'Schemas')
-rw-r--r--Schemas/Parameter.xsd1
1 files changed, 1 insertions, 0 deletions
diff --git a/Schemas/Parameter.xsd b/Schemas/Parameter.xsd
index 10d506a..098ee26 100644
--- a/Schemas/Parameter.xsd
+++ b/Schemas/Parameter.xsd
@@ -116,6 +116,7 @@
</xs:restriction>
</xs:simpleType>
</xs:attribute>
+ <xs:attribute name="Max" type="xs:integer" use="optional"/>
</xs:complexType>
<xs:element name="BitParameterBlock">
<xs:complexType>