/external/parameter-framework/parameter/ |
D | ParameterHandle.cpp | 75 bool CParameterHandle::setAsBoolean(bool bValue, string& strError) in setAsBoolean() argument 78 if (!checkAccessValidity(true, 0, strError)) { in setAsBoolean() 92 …CParameterAccessContext parameterAccessContext(strError, _bBigEndianSubsystem, _pParameterMgr->get… in setAsBoolean() 97 bool CParameterHandle::getAsBoolean(bool& bValue, string& strError) const in getAsBoolean() 100 if (!checkAccessValidity(false, 0, strError)) { in getAsBoolean() 108 …CParameterAccessContext parameterAccessContext(strError, _bBigEndianSubsystem, _pParameterMgr->get… in getAsBoolean() 113 bool CParameterHandle::setAsBooleanArray(const std::vector<bool>& abValues, string& strError) in setAsBooleanArray() argument 116 if (!checkAccessValidity(true, abValues.size(), strError)) { in setAsBooleanArray() 130 …CParameterAccessContext parameterAccessContext(strError, _bBigEndianSubsystem, _pParameterMgr->get… in setAsBooleanArray() 138 bool CParameterHandle::getAsBooleanArray(std::vector<bool>& abValues, string& strError) const in getAsBooleanArray() [all …]
|
D | ParameterMgrFullConnector.cpp | 52 bool CParameterMgrFullConnector::start(string& strError) in start() argument 55 return _pParameterMgr->load(strError); in start() 73 string& strError) in createParameterHandle() argument 75 return _pParameterMgr->createParameterHandle(strPath, strError); in createParameterHandle() 153 bool CParameterMgrFullConnector::setTuningMode(bool bOn, string& strError) in setTuningMode() argument 155 return _pParameterMgr->setTuningMode(bOn, strError); in setTuningMode() 183 bool CParameterMgrFullConnector::setAutoSync(bool bAutoSyncOn, string& strError) in setAutoSync() argument 185 return _pParameterMgr->setAutoSync(bAutoSyncOn, strError); in setAutoSync() 193 bool CParameterMgrFullConnector::sync(string& strError) in sync() argument 195 return _pParameterMgr->sync(strError); in sync() [all …]
|
D | ConfigurableDomains.cpp | 112 bool CConfigurableDomains::createDomain(const string& strName, string& strError) in createDomain() argument 117 strError = "Already existing configurable domain"; in createDomain() 131 string& strError) in addDomain() argument 140 strError = "Can't add domain \"" + strDomainName + in addDomain() 164 bool CConfigurableDomains::deleteDomain(const string& strName, string& strError) in deleteDomain() argument 166 CConfigurableDomain* pConfigurableDomain = findConfigurableDomain(strName, strError); in deleteDomain() 184 …onfigurableDomains::renameDomain(const string& strName, const string& strNewName, string& strError) in renameDomain() argument 186 CConfigurableDomain* pConfigurableDomain = findConfigurableDomain(strName, strError); in renameDomain() 196 return pConfigurableDomain->rename(strNewName, strError); in renameDomain() 199 …urableDomains::setSequenceAwareness(const string& strDomain, bool bSequenceAware, string& strError) in setSequenceAwareness() argument [all …]
|
D | ConfigurableDomains.h | 51 bool createDomain(const std::string& strName, std::string& strError); 65 bool addDomain(CConfigurableDomain& domain, bool bOverwrite, std::string& strError); 76 bool deleteDomain(const std::string& strName, std::string& strError); 78 …ool renameDomain(const std::string& strName, const std::string& strNewName, std::string& strError); 79 …ool setSequenceAwareness(const std::string& strDomain, bool bSequenceAware, std::string& strError); 80 …SequenceAwareness(const std::string& strDomain, bool& bSequenceAware, std::string& strError) const; 82 …t(const std::string& strDomain, CConfigurableElement* pConfigurableElement, std::string& strError); 88 …std::string& strConfiguration, const CParameterBlackboard* pMainBlackboard, std::string& strError); 89 …guration(const std::string& strDomain, const std::string& strConfiguration, std::string& strError); 90 …::string& strConfigurationName, const std::string& strNewConfigurationName, std::string& strError); [all …]
|
D | ParameterMgr.cpp | 459 bool CParameterMgr::load(string& strError) in load() argument 466 if (!loadFrameworkConfiguration(strError)) { in load() 472 if (!getSystemClass()->loadSubsystems(strError, in load() 479 if (!loadStructure(strError)) { in load() 485 if (!loadSettings(strError)) { in load() 491 if (!init(strError)) { in load() 529 return handleRemoteProcessingInterface(strError); in load() 532 bool CParameterMgr::loadFrameworkConfiguration(string& strError) in loadFrameworkConfiguration() argument 537 CXmlElementSerializingContext elementSerializingContext(strError); in loadFrameworkConfiguration() 539 _xmlDoc *doc = CXmlDocSource::mkXmlDoc(_strXmlConfigurationFilePath, true, true, strError); in loadFrameworkConfiguration() [all …]
|
D | SubsystemObject.cpp | 113 string strError; in setDefaultValues() local 116 CParameterAccessContext parameterAccessContext(strError, ¶meterBlackboard, false); in setDefaultValues() 123 bool CSubsystemObject::sync(CParameterBlackboard& parameterBlackboard, bool bBack, string& strError) in sync() argument 143 strError = "Susbsystem not alive"; in sync() 147 if (!bIsSubsystemAlive || !accessHW(bBack, strError)) { in sync() 149 …strError = string("Unable to ") + (bBack ? "back" : "forward") + " synchronize configurable elemen… in sync() 150 _pInstanceConfigurableElement->getPath() + ": " + strError; in sync() 152 log_warning("%s", strError.c_str()); in sync() 166 bool CSubsystemObject::sendToHW(string& strError) in sendToHW() argument 168 strError = "Send to HW interface not implemented at subsystem level"; in sendToHW() [all …]
|
D | SelectionCriterionRule.cpp | 70 bool CSelectionCriterionRule::parse(CRuleParser& ruleParser, string& strError) in parse() argument 78 strError = "Couldn't find selection criterion " + ruleParser.getType(); in parse() 86 if (!ruleParser.next(strMatchesWhen, strError)) { in parse() 93 if (!ruleParser.next(strValue, strError)) { in parse() 99 if (!setMatchesWhen(strMatchesWhen, strError)) { in parse() 101 strError = "Verb error: " + strError; in parse() 109 strError = "Value error: \"" + strValue + "\" is not part of criterion \"" + in parse() 174 string strError; in fromXml() local 176 if (!setMatchesWhen(strMatchesWhen, strError)) { in fromXml() 178 … attribute " + strMatchesWhen + " in " + getKind() + " " + xmlElement.getPath() + ": " + strError); in fromXml() [all …]
|
D | RuleParser.cpp | 63 bool CRuleParser::parse(CCompoundRule* pParentRule, string& strError) in parse() argument 67 if (!iterate(strError)) { in parse() 78 if (!pCompoundRule->parse(*this, strError)) { in parse() 95 if (!parse(pCompoundRule, strError)) { in parse() 112 if (!pCriterionRule->parse(*this, strError)) { in parse() 133 strError = "Syntax error, no rule found"; in parse() 149 bool CRuleParser::iterate(string& strError) in iterate() argument 178 strError = "Missing opening brace"; in iterate() 198 strError = "Missing closing brace"; in iterate() 206 strError = "Syntax error"; in iterate() [all …]
|
D | ConfigurableDomain.cpp | 280 string strError; in parseConfigurableElements() local 283 if (!pathNavigator.navigateThrough(systemClass.getName(), strError)) { in parseConfigurableElements() 285 …igurableElementPath + " from ConfigurableDomain description " + getName() + " (" + strError + ")"); in parseConfigurableElements() 300 if (!addConfigurableElement(pConfigurableElement, NULL, strError)) { in parseConfigurableElements() 302 serializingContext.setError(strError); in parseConfigurableElements() 357 …urableElement* pConfigurableElement, const CParameterBlackboard* pMainBlackboard, string& strError) in addConfigurableElement() argument 362 …strError = "Configurable element " + pConfigurableElement->getPath() + " already associated to con… in addConfigurableElement() 370 …strError = "Configurable element " + pConfigurableElement->getPath() + " already owned by configur… in addConfigurableElement() 381 …ableDomain::removeConfigurableElement(CConfigurableElement* pConfigurableElement, string& strError) in removeConfigurableElement() argument 386 …strError = "Configurable element " + pConfigurableElement->getPath() + " not associated to configu… in removeConfigurableElement() [all …]
|
D | ParameterMgr.h | 122 bool load(std::string& strError); 143 std::string& strError) const; 145 CParameterHandle* createParameterHandle(const std::string& strPath, std::string& strError); 215 bool setTuningMode(bool bOn, std::string& strError); 227 bool setAutoSync(bool bAutoSyncOn, std::string& strError); 229 bool sync(std::string& strError); 232 …arameterValue(const std::string& strPath, std::string& strValue, bool bSet, std::string& strError); 242 …onfiguration, const std::string& strPath, std::string& strValue, bool bSet, std::string& strError); 246 bool createDomain(const std::string& strName, std::string& strError); 248 std::string& strError); [all …]
|
D | ParameterMgrPlatformConnector.cpp | 83 …ParameterMgrPlatformConnector::createParameterHandle(const string& strPath, string& strError) const in createParameterHandle() 87 return _pParameterMgr->createParameterHandle(strPath, strError); in createParameterHandle() 106 bool CParameterMgrPlatformConnector::setFailureOnMissingSubsystem(bool bFail, string &strError) in setFailureOnMissingSubsystem() argument 110 strError = "Can not set missing subsystem policy while running"; in setFailureOnMissingSubsystem() 124 bool bFail, std::string& strError) in setFailureOnFailedSettingsLoad() argument 128 strError = "Can not set failure on failed settings load policy while running"; in setFailureOnFailedSettingsLoad() 152 bool bValidate, std::string& strError) in setValidateSchemasOnStart() argument 156 strError = "Can not enable xml validation after the start of the parameter-framework"; in setValidateSchemasOnStart() 170 bool CParameterMgrPlatformConnector::start(string& strError) in start() argument 173 if (!_pParameterMgr->load(strError)) { in start()
|
D | ConfigurableDomain.h | 60 …on(const std::string& strName, const CParameterBlackboard* pMainBlackboard, std::string& strError); 61 bool deleteConfiguration(const std::string& strName, std::string& strError); 62 …ameConfiguration(const std::string& strName, const std::string& strNewName, std::string& strError); 63 …me, CParameterBlackboard* pMainBlackboard, bool bAutoSync, std::list<std::string>& strError) const; 64 …on(const std::string& strName, const CParameterBlackboard* pMainBlackboard, std::string& strError); 65 …& strConfiguration, const std::vector<std::string>& astrNewElementSequence, std::string& strError); 67 …tionRule, const CSelectionCriteriaDefinition* pSelectionCriteriaDefinition, std::string& strError); 68 bool clearApplicationRule(const std::string& strConfiguration, std::string& strError); 82 …Element* pConfigurableElement, const CParameterBlackboard* pMainBlackboard, std::string& strError); 83 … bool removeConfigurableElement(CConfigurableElement* pConfigurableElement, std::string& strError); [all …]
|
D | Subsystem.cpp | 149 string strError; in fromXml() local 150 if (!mapSubsystemElements(strError)) { in fromXml() 152 serializingContext.setError(strError); in fromXml() 173 bool CSubsystem::mapSubsystemElements(string& strError) in mapSubsystemElements() argument 178 handleMappingContext(this, context, strError); in mapSubsystemElements() 190 if (!pInstanceConfigurableChildElement->map(*this, strError)) { in mapSubsystemElements() 379 string& strError) const in handleMappingContext() 393 strError = getMappingError(strKey, "Already set", pConfigurableElementWithMapping); in handleMappingContext() 405 CMappingContext& context, bool& bHasCreatedSubsystemObject, string& strError) in handleSubsystemObjectCreation() argument 436 strError = getMappingError(strKey, _contextMappingKeyArray[uiAncestorKey] + in handleSubsystemObjectCreation() [all …]
|
D | ElementLocator.cpp | 40 bool CElementLocator::locate(const string& strPath, CElement** ppElement, string& strError) in locate() argument 46 strError = "Invalid Path"; in locate() 58 strError = "Path not found: " + strPath; in locate() 68 strError = "Path not found: " + strPath; in locate() 78 strError = "Path not found: " + strPath; in locate()
|
D | ParameterAccessContext.cpp | 34 CParameterAccessContext::CParameterAccessContext(std::string& strError, in CParameterAccessContext() argument 39 : base(strError), _pParameterBlackboard(pParameterBlackboard), in CParameterAccessContext() 45 CParameterAccessContext::CParameterAccessContext(std::string& strError, in CParameterAccessContext() argument 49 : base(strError), _pParameterBlackboard(pParameterBlackboard), _bValueSpaceIsRaw(false), in CParameterAccessContext() 55 CParameterAccessContext::CParameterAccessContext(std::string& strError) in CParameterAccessContext() argument 56 : base(strError), _pParameterBlackboard(NULL), _bValueSpaceIsRaw(false), in CParameterAccessContext()
|
D | ErrorContext.cpp | 32 CErrorContext::CErrorContext(std::string& strError) : _strError(strError) in CErrorContext() argument 37 void CErrorContext::setError(const std::string& strError) in setError() argument 39 _strError = strError; in setError()
|
/external/parameter-framework/parameter/include/ |
D | ParameterHandle.h | 55 bool setAsBoolean(bool bValue, std::string& strError); 65 bool getAsBoolean(bool& bValue, std::string& strError) const; 66 bool setAsBooleanArray(const std::vector<bool>& abValues, std::string& strError); 67 bool getAsBooleanArray(std::vector<bool>& abValues, std::string& strError) const; 70 bool setAsInteger(uint32_t uiValue, std::string& strError); 71 bool getAsInteger(uint32_t& uiValue, std::string& strError) const; 72 bool setAsIntegerArray(const std::vector<uint32_t>& auiValues, std::string& strError); 73 bool getAsIntegerArray(std::vector<uint32_t>& auiValues, std::string& strError) const; 76 bool setAsSignedInteger(int32_t iValue, std::string& strError); 77 bool getAsSignedInteger(int32_t& iValue, std::string& strError) const; [all …]
|
D | ParameterMgrFullConnector.h | 64 bool start(std::string& strError); 67 CParameterHandle* createParameterHandle(const std::string& strPath, std::string& strError); 145 bool setTuningMode(bool bOn, std::string& strError); 156 bool setAutoSync(bool bAutoSyncOn, std::string& strError); 158 bool sync(std::string& strError); 161 …arameterValue(const std::string& strPath, std::string& strValue, bool bSet, std::string& strError); 162 …onfiguration, const std::string& strPath, std::string& strValue, bool bSet, std::string& strError); 175 bool createDomain(const std::string& strName, std::string& strError); 176 bool deleteDomain(const std::string& strName, std::string& strError); 177 …ool renameDomain(const std::string& strName, const std::string& strNewName, std::string& strError); [all …]
|
D | ParameterMgrPlatformConnector.h | 68 bool start(std::string& strError); 79 … CParameterHandle* createParameterHandle(const std::string& strPath, std::string& strError) const; 105 bool setFailureOnMissingSubsystem(bool bFail, std::string& strError); 123 bool setFailureOnFailedSettingsLoad(bool bFail, std::string& strError); 151 bool setValidateSchemasOnStart(bool bValidate, std::string &strError);
|
/external/parameter-framework/bindings/python/ |
D | pfw.i | 58 %apply std::string &OUTPUT { std::string& strError }; 79 bool start(std::string& strError); 105 bool setTuningMode(bool bOn, std::string& strError); 117 bool setAutoSync(bool bAutoSyncOn, std::string& strError); 119 bool sync(std::string& strError); 123 …arameterValue(const std::string& strPath, std::string& strValue, bool bSet, std::string& strError); 124 …onfiguration, const std::string& strPath, std::string& strValue, bool bSet, std::string& strError); 130 bool createDomain(const std::string& strName, std::string& strError); 131 bool deleteDomain(const std::string& strName, std::string& strError); 132 …ool renameDomain(const std::string& strName, const std::string& strNewName, std::string& strError); [all …]
|
/external/parameter-framework/test/test-platform/ |
D | main.cpp | 47 static bool startBlockingTestPlatform(const char *filePath, int portNumber, string &strError) in startBlockingTestPlatform() argument 59 if (!testPlatform.load(strError)) { in startBlockingTestPlatform() 85 static bool startDaemonTestPlatform(const char *filePath, int portNumber, string &strError) in startDaemonTestPlatform() argument 92 strError = "pipe failed"; in startDaemonTestPlatform() 103 strError = "fork failed!"; in startDaemonTestPlatform() 122 bool loadSuccess = testPlatform.load(strError); in startDaemonTestPlatform() 126 cerr << strError << endl; in startDaemonTestPlatform() 155 strError = "Read pipe failed"; in startDaemonTestPlatform() 227 string strError; in main() local 231 startError = startDaemonTestPlatform(filePath, portNumber, strError); in main() [all …]
|
/external/parameter-framework/remote-processor/ |
D | Message.cpp | 126 CMessage::Result CMessage::serialize(CSocket* pSocket, bool bOut, string& strError) in serialize() argument 155 strError += string("Size write failed: ") + strerror(errno); in serialize() 162 strError += string("Msg write failed: ") + strerror(errno); in serialize() 169 strError = string("Data write failed: ") + strerror(errno); in serialize() 178 strError = string("Checksum write failed: ") + strerror(errno); in serialize() 188 strError = string("Sync read failed: ") + strerror(errno); in serialize() 198 strError = "Sync word incorrect"; in serialize() 207 strError = string("Size read failed: ") + strerror(errno); in serialize() 214 strError = string("Msg id read failed: ") + strerror(errno); in serialize() 226 strError = string("Data read failed: ") + strerror(errno); in serialize() [all …]
|
/external/parameter-framework/skeleton-subsystem/ |
D | SkeletonSubsystemObject.cpp | 83 bool CSkeletonSubsystemObject::accessHW(bool bReceive, string& strError) in accessHW() argument 88 strError = "Unsupported parameter type"; in accessHW() 93 return base::accessHW(bReceive, strError); in accessHW() 96 bool CSkeletonSubsystemObject::sendToHW(string& strError) in sendToHW() argument 98 (void) strError; in sendToHW() 116 bool CSkeletonSubsystemObject::receiveFromHW(string& strError) in receiveFromHW() argument 118 (void) strError; in receiveFromHW()
|
/external/parameter-framework/remote-process/ |
D | main.cpp | 101 string strError; in sendAndDisplayCommand() local 103 if (requestMessage.serialize(&connectionSocket, true, strError) in sendAndDisplayCommand() 106 cerr << "Unable to send command to target: " << strError << endl; in sendAndDisplayCommand() 112 if (answerMessage.serialize(&connectionSocket, false, strError) in sendAndDisplayCommand() 115 cerr << "Unable to received answer from target: " << strError << endl; in sendAndDisplayCommand() 160 string strError; in main() local 162 if (!connectionSocket.connect(argv[1], uiPort, strError)) { in main() 164 cerr << strError << endl; in main()
|
/external/parameter-framework/xmlserializer/ |
D | XmlSerializingContext.cpp | 32 CXmlSerializingContext::CXmlSerializingContext(std::string& strError) : _strError(strError) in CXmlSerializingContext() argument 37 void CXmlSerializingContext::setError(const std::string& strError) in setError() argument 39 _strError = strError; in setError()
|