summaryrefslogtreecommitdiffstats
path: root/parameter/SelectionCriteriaDefinition.cpp
diff options
context:
space:
mode:
authorKevin Rocard <kevinx.rocard@intel.com>2012-12-07 18:51:22 +0100
committerDavid Wagner <david.wagner@intel.com>2014-02-12 17:03:31 +0100
commit7f26582e6a732524231af95aefab829c9f0b92d2 (patch)
treec28f57f793309aa1f9e34a841c5d64c4534c3c77 /parameter/SelectionCriteriaDefinition.cpp
parentf2fd15a331fd3b5b63f0dc6f492651330adcedf9 (diff)
downloadexternal_parameter-framework-7f26582e6a732524231af95aefab829c9f0b92d2.zip
external_parameter-framework-7f26582e6a732524231af95aefab829c9f0b92d2.tar.gz
external_parameter-framework-7f26582e6a732524231af95aefab829c9f0b92d2.tar.bz2
PFW: Log criterion state at PFW start
BZ: 77959 The PFW will log criterion patch state at start before appling configuration. Change-Id: I4ac3676b9ba685c1e226a8495ffdbe98f0c08219 Signed-off-by: Kevin Rocard <kevinx.rocard@intel.com> Reviewed-on: http://android.intel.com:8080/79965 Reviewed-by: De Chivre, Renaud <renaud.de.chivre@intel.com> Tested-by: Dixon, CharlesX <charlesx.dixon@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
Diffstat (limited to 'parameter/SelectionCriteriaDefinition.cpp')
-rw-r--r--parameter/SelectionCriteriaDefinition.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/parameter/SelectionCriteriaDefinition.cpp b/parameter/SelectionCriteriaDefinition.cpp
index fafb53a..d7a879d 100644
--- a/parameter/SelectionCriteriaDefinition.cpp
+++ b/parameter/SelectionCriteriaDefinition.cpp
@@ -62,7 +62,7 @@ CSelectionCriterion* CSelectionCriteriaDefinition::getSelectionCriterion(const s
}
// List available criteria
-void CSelectionCriteriaDefinition::listSelectionCriteria(string& strResult, bool bWithTypeInfo) const
+void CSelectionCriteriaDefinition::listSelectionCriteria(list<string>& lstrResult, bool bWithTypeInfo, bool bHumanReadable) const
{
// Propagate
uint32_t uiNbChildren = getNbChildren();
@@ -72,7 +72,7 @@ void CSelectionCriteriaDefinition::listSelectionCriteria(string& strResult, bool
const CSelectionCriterion* pSelectionCriterion = static_cast<const CSelectionCriterion*>(getChild(uiChild));
- strResult += pSelectionCriterion->getFormattedDescription(bWithTypeInfo) + "\n";
+ lstrResult.push_back(pSelectionCriterion->getFormattedDescription(bWithTypeInfo, bHumanReadable));
}
}