summaryrefslogtreecommitdiffstats
path: root/parameter/BitParameterBlock.cpp
diff options
context:
space:
mode:
authorPatrick Benavoli <patrickx.benavoli@intel.com>2011-10-21 16:48:04 +0200
committerDavid Wagner <david.wagner@intel.com>2014-02-10 17:14:56 +0100
commit1352ae53c457466fadb3aa35f01afab899548657 (patch)
tree45fb44ab31d24a4a143681e0ec0177415cec5478 /parameter/BitParameterBlock.cpp
parent11e6498a4fa3b27ca34d2fcb76bd6365da9d5c1b (diff)
downloadexternal_parameter-framework-1352ae53c457466fadb3aa35f01afab899548657.zip
external_parameter-framework-1352ae53c457466fadb3aa35f01afab899548657.tar.gz
external_parameter-framework-1352ae53c457466fadb3aa35f01afab899548657.tar.bz2
parameter-framework: Added string parameters
BZ: 12819 String parameters are specified in the XML structure with a MaxLength attribute. MaxLength corresponds to the maximum amount of characters the string parameter can handle. String parameters are expressend in the form of tokens, that is they don't contain any sort of space characters. For now, string parameter arrays are not supported. Change-Id: Ifbb006e3d2e3077535c32c0fd579cc04872a82b0 Signed-off-by: Patrick Benavoli <patrickx.benavoli@intel.com> Reviewed-on: http://android.intel.com:8080/22319 Reviewed-by: Centelles, Sylvain <sylvain.centelles@intel.com> Tested-by: Barthes, FabienX <fabienx.barthes@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com> Reviewed-on: http://android.intel.com:8080/26778 Reviewed-by: Barthes, FabienX <fabienx.barthes@intel.com>
Diffstat (limited to 'parameter/BitParameterBlock.cpp')
-rw-r--r--parameter/BitParameterBlock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/parameter/BitParameterBlock.cpp b/parameter/BitParameterBlock.cpp
index 61a38c9..d169fed 100644
--- a/parameter/BitParameterBlock.cpp
+++ b/parameter/BitParameterBlock.cpp
@@ -66,6 +66,6 @@ void CBitParameterBlock::setDefaultValues(CParameterAccessContext& parameterAcce
CParameterBlackboard* pBlackboard = parameterAccessContext.getParameterBlackboard();
// Beware this code works on little endian architectures only!
- pBlackboard->write(&uiDefaultValue, getSize(), getOffset(), parameterAccessContext.isBigEndianSubsystem());
+ pBlackboard->writeInteger(&uiDefaultValue, getSize(), getOffset(), parameterAccessContext.isBigEndianSubsystem());
}