/external/parameter-framework/upstream/parameter/ |
D | ParameterMgrFullConnector.cpp | 68 bool CParameterMgrFullConnector::setTuningMode(bool bOn, string &strError) in setTuningMode() argument 70 return _pParameterMgr->setTuningMode(bOn, strError); in setTuningMode() 98 bool CParameterMgrFullConnector::setAutoSync(bool bAutoSyncOn, string &strError) in setAutoSync() argument 100 return _pParameterMgr->setAutoSync(bAutoSyncOn, strError); in setAutoSync() 108 bool CParameterMgrFullConnector::sync(string &strError) in sync() argument 110 return _pParameterMgr->sync(strError); in sync() 114 bool bSet, string &strError) in accessParameterValue() argument 116 return _pParameterMgr->accessParameterValue(strPath, strValue, bSet, strError); in accessParameterValue() 122 bool bSet, string &strError) in accessConfigurationValue() argument 125 bSet, strError); in accessConfigurationValue() [all …]
|
D | ConfigurableDomains.cpp | 116 bool CConfigurableDomains::createDomain(const string &strName, string &strError) in createDomain() argument 121 strError = "Already existing configurable domain"; in createDomain() 132 bool CConfigurableDomains::addDomain(CConfigurableDomain &domain, bool bOverwrite, string &strError) in addDomain() argument 141 strError = "Can't add domain \"" + strDomainName + in addDomain() 161 bool CConfigurableDomains::deleteDomain(const string &strName, string &strError) in deleteDomain() argument 163 CConfigurableDomain *pConfigurableDomain = findConfigurableDomain(strName, strError); in deleteDomain() 180 string &strError) in renameDomain() argument 182 CConfigurableDomain *pConfigurableDomain = findConfigurableDomain(strName, strError); in renameDomain() 190 return pConfigurableDomain->rename(strNewName, strError); in renameDomain() 194 string &strError) in setSequenceAwareness() argument [all …]
|
D | ParameterMgr.cpp | 357 bool CParameterMgr::load(string &strError) in load() argument 364 if (!loadFrameworkConfiguration(strError)) { in load() 369 if (!loadSubsystems(strError)) { in load() 375 if (!loadStructure(strError)) { in load() 381 if (!loadSettings(strError)) { in load() 387 if (!init(strError)) { in load() 424 return handleRemoteProcessingInterface(strError); in load() 427 bool CParameterMgr::loadFrameworkConfiguration(string &strError) in loadFrameworkConfiguration() argument 432 CXmlElementSerializingContext elementSerializingContext(strError); in loadFrameworkConfiguration() 455 strError = "Parameter Framework Configuration: couldn't find SubsystemPlugins element"; in loadFrameworkConfiguration() [all …]
|
D | ConfigurableDomains.h | 48 bool createDomain(const std::string &strName, std::string &strError); 62 bool addDomain(CConfigurableDomain &domain, bool bOverwrite, std::string &strError); 73 bool deleteDomain(const std::string &strName, std::string &strError); 76 std::string &strError); 78 std::string &strError); 80 std::string &strError) const; 99 const CParameterBlackboard *pMainBlackboard, std::string &strError); 101 std::string &strError); 103 const std::string &strNewConfigurationName, std::string &strError); 119 const CParameterBlackboard *pMainBlackboard, std::string &strError); [all …]
|
D | SelectionCriterionRule.cpp | 61 bool CSelectionCriterionRule::parse(CRuleParser &ruleParser, string &strError) in parse() argument 70 strError = "Couldn't find selection criterion " + ruleParser.getType(); in parse() 78 if (!ruleParser.next(strMatchesWhen, strError)) { in parse() 85 if (!ruleParser.next(strValue, strError)) { in parse() 91 if (!setMatchesWhen(strMatchesWhen, strError)) { in parse() 93 strError = "Verb error: " + strError; in parse() 101 strError = "Value error: \"" + strValue + "\" is not part of criterion \"" + in parse() 171 string strError; in fromXml() local 173 if (!setMatchesWhen(strMatchesWhen, strError)) { in fromXml() 176 getKind() + " " + xmlElement.getPath() + ": " + strError); in fromXml() [all …]
|
D | RuleParser.cpp | 61 bool CRuleParser::parse(CCompoundRule *pParentRule, string &strError) in parse() argument 65 if (!iterate(strError)) { in parse() 76 if (!pCompoundRule->parse(*this, strError)) { in parse() 93 if (!parse(pCompoundRule, strError)) { in parse() 110 if (!pCriterionRule->parse(*this, strError)) { in parse() 132 strError = "Syntax error, no rule found"; in parse() 147 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 | ParameterMgrPlatformConnector.cpp | 87 string &strError) const in createParameterHandle() 91 return _pParameterMgr->createParameterHandle(strPath, strError); in createParameterHandle() 95 string &strError) const in createElementHandle() 97 return _pParameterMgr->createElementHandle(strPath, strError); in createElementHandle() 116 bool CParameterMgrPlatformConnector::setFailureOnMissingSubsystem(bool bFail, string &strError) in setFailureOnMissingSubsystem() argument 120 strError = "Can not set missing subsystem policy while running"; in setFailureOnMissingSubsystem() 134 std::string &strError) in setFailureOnFailedSettingsLoad() argument 138 strError = "Can not set failure on failed settings load policy while running"; in setFailureOnFailedSettingsLoad() 162 std::string &strError) in setValidateSchemasOnStart() argument 166 strError = "Can not enable xml validation after the start of the parameter-framework"; in setValidateSchemasOnStart() [all …]
|
D | SubsystemObject.cpp | 97 string strError; in setDefaultValues() local 100 CParameterAccessContext parameterAccessContext(strError, ¶meterBlackboard); in setDefaultValues() 107 bool CSubsystemObject::sync(CParameterBlackboard ¶meterBlackboard, bool bBack, string &strError) in sync() argument 127 strError = "Susbsystem not alive"; in sync() 131 if (!bIsSubsystemAlive || !accessHW(bBack, strError)) { in sync() 145 bool CSubsystemObject::sendToHW(string &strError) in sendToHW() argument 147 strError = "Send to HW interface not implemented at subsystem level"; in sendToHW() 161 bool CSubsystemObject::accessHW(bool bReceive, string &strError) in accessHW() argument 166 return receiveFromHW(strError); in accessHW() 169 return sendToHW(strError); in accessHW()
|
D | ConfigurableDomain.cpp | 279 string strError; in parseConfigurableElements() local 282 if (!pathNavigator.navigateThrough(systemClass.getName(), strError)) { in parseConfigurableElements() 286 " from ConfigurableDomain description " + getName() + " (" + strError + ")"); in parseConfigurableElements() 306 strError = utility::asString(infos); in parseConfigurableElements() 307 serializingContext.setError(strError); in parseConfigurableElements() 393 string &strError) in removeConfigurableElement() argument 398 strError = "Configurable element " + pConfigurableElement->getPath() + in removeConfigurableElement() 432 bool &bIsLastApplied, string &strError) const in findConfigurationBlackboard() 440 strError = "Domain configuration " + strConfiguration + " not found"; in findConfigurationBlackboard() 464 strError = "Element not associated to the Domain"; in findConfigurationBlackboard() [all …]
|
D | ParameterMgr.h | 97 bool load(std::string &strError); 120 std::string &strError) const; 130 CConfigurableElement *getConfigurableElement(const std::string &strPath, std::string &strError); 132 CParameterHandle *createParameterHandle(const std::string &strPath, std::string &strError); 223 bool setTuningMode(bool bOn, std::string &strError); 235 bool setAutoSync(bool bAutoSyncOn, std::string &strError); 237 bool sync(std::string &strError); 241 std::string &strError); 253 std::string &strError); 257 bool createDomain(const std::string &strName, std::string &strError); [all …]
|
D | Subsystem.cpp | 146 string strError; in structureFromXml() local 147 if (!mapSubsystemElements(strError)) { in structureFromXml() 149 serializingContext.setError(strError); in structureFromXml() 157 bool CSubsystem::mapSubsystemElements(string &strError) in mapSubsystemElements() argument 162 handleMappingContext(this, context, strError); in mapSubsystemElements() 174 if (!pInstanceConfigurableChildElement->map(*this, strError)) { in mapSubsystemElements() 345 CMappingContext &context, string &strError) const in handleMappingContext() 357 strError = getMappingError(strKey, "Already set", pConfigurableElement); in handleMappingContext() 369 bool &bHasCreatedSubsystemObject, string &strError) in handleSubsystemObjectCreation() argument 396 strError = in handleSubsystemObjectCreation() [all …]
|
D | ConfigurableDomain.h | 64 const CParameterBlackboard *pMainBlackboard, std::string &strError); 65 bool deleteConfiguration(const std::string &strName, std::string &strError); 67 std::string &strError); 82 std::string &strError); 85 std::string &strError); 90 std::string &strError); 91 bool clearApplicationRule(const std::string &strConfiguration, std::string &strError); 116 std::string &strError); 121 size_t &baseOffset, bool &bIsLastApplied, std::string &strError) const; 271 std::string &strError); [all …]
|
D | ParameterAccessContext.cpp | 34 CParameterAccessContext::CParameterAccessContext(std::string &strError, in CParameterAccessContext() argument 38 : base(strError), _pParameterBlackboard(pParameterBlackboard), in CParameterAccessContext() 44 CParameterAccessContext::CParameterAccessContext(std::string &strError, in CParameterAccessContext() argument 47 : base(strError), _pParameterBlackboard(pParameterBlackboard), _uiBaseOffset(baseOffset) in CParameterAccessContext() 51 CParameterAccessContext::CParameterAccessContext(std::string &strError) : base(strError) in CParameterAccessContext() argument
|
D | ElementLocator.cpp | 41 bool CElementLocator::locate(const string &strPath, CElement **ppElement, string &strError) in locate() argument 47 strError = "Invalid Path"; in locate() 59 strError = "Path not found: " + strPath; in locate() 69 strError = "Path not found: " + strPath; in locate() 79 strError = "Path not found: " + strPath; in locate()
|
D | ConfigurationAccessContext.cpp | 36 CConfigurationAccessContext::CConfigurationAccessContext(std::string &strError, in CConfigurationAccessContext() argument 41 : base(strError, pParameterBlackboard, bValueSpaceIsRaw, bOutputRawFormatIsHex), in CConfigurationAccessContext() 46 CConfigurationAccessContext::CConfigurationAccessContext(string &strError, bool bSerializeOut) in CConfigurationAccessContext() argument 47 : base(strError), _bSerializeOut(bSerializeOut) in CConfigurationAccessContext()
|
D | InstanceConfigurableElement.cpp | 79 bool CInstanceConfigurableElement::map(IMapper &mapper, std::string &strError) in map() argument 85 if (bHasMappingData && !mapper.mapBegin(this, bKeepDiving, strError)) { in map() 102 if (!pInstanceConfigurableChildElement->map(mapper, strError)) { in map() 191 std::string strError; in sync() local 193 if (!pSyncer->sync(*parameterAccessContext.getParameterBlackboard(), false, strError)) { in sync() 195 parameterAccessContext.setError(strError); in sync()
|
D | PathNavigator.cpp | 53 bool CPathNavigator::navigateThrough(const std::string &strItemName, std::string &strError) in navigateThrough() argument 57 strError = "Path not well formed: " + getCurrentPath(); in navigateThrough() 66 strError = in navigateThrough() 74 strError = "Path not found: " + getCurrentPath() + ", expected: " + strItemName + in navigateThrough()
|
D | SubsystemObject.h | 81 virtual bool sendToHW(std::string &strError); 82 virtual bool receiveFromHW(std::string &strError); 84 virtual bool accessHW(bool bReceive, std::string &strError); 104 std::string &strError) override final;
|
/external/parameter-framework/upstream/bindings/python/ |
D | pfw.i | 58 %apply std::string &OUTPUT { std::string& strError }; 79 bool start(std::string& strError); 94 bool setFailureOnMissingSubsystem(bool bFail, std::string& strError); 97 bool setFailureOnFailedSettingsLoad(bool bFail, std::string& strError); 103 bool setValidateSchemasOnStart(bool bValidate, std::string &strError); 107 bool setTuningMode(bool bOn, std::string& strError); 119 bool setAutoSync(bool bAutoSyncOn, std::string& strError); 121 bool sync(std::string& strError); 125 …arameterValue(const std::string& strPath, std::string& strValue, bool bSet, std::string& strError); 126 …onfiguration, const std::string& strPath, std::string& strValue, bool bSet, std::string& strError); [all …]
|
/external/parameter-framework/upstream/parameter/include/ |
D | ParameterMgrFullConnector.h | 89 bool setTuningMode(bool bOn, std::string &strError); 100 bool setAutoSync(bool bAutoSyncOn, std::string &strError); 102 bool sync(std::string &strError); 106 std::string &strError); 109 std::string &strError); 122 bool createDomain(const std::string &strName, std::string &strError); 123 bool deleteDomain(const std::string &strName, std::string &strError); 125 std::string &strError); 126 bool deleteAllDomains(std::string &strError); 132 std::string &strError); [all …]
|
D | ParameterMgrPlatformConnector.h | 83 bool start(std::string &strError); 95 std::string &strError) const; 134 bool setFailureOnMissingSubsystem(bool bFail, std::string &strError); 153 bool setFailureOnFailedSettingsLoad(bool bFail, std::string &strError); 182 bool setValidateSchemasOnStart(bool bValidate, std::string &strError);
|
/external/parameter-framework/upstream/remote-processor/ |
D | Message.cpp | 130 CMessage::Result CMessage::serialize(Socket &&socket, bool bOut, string &strError) in serialize() argument 162 strError += string("Size write failed: ") + ec.message(); in serialize() 169 strError += string("Msg write failed: ") + ec.message(); in serialize() 176 strError = string("Data write failed: ") + ec.message(); in serialize() 185 strError = string("Checksum write failed: ") + ec.message(); in serialize() 195 strError = string("Sync read failed: ") + ec.message(); in serialize() 205 strError = "Sync word incorrect"; in serialize() 213 strError = string("Size read failed: ") + ec.message(); in serialize() 219 strError = string("Msg id read failed: ") + ec.message(); in serialize() 230 strError = string("Data read failed: ") + ec.message(); in serialize() [all …]
|
D | RemoteProcessorServer.cpp | 127 string strError; in handleNewConnection() local 130 res = requestMessage.serialize(Socket(_socket), false, strError); in handleNewConnection() 134 std::cout << "Error while receiving message: " << strError << std::endl; in handleNewConnection() 155 res = answerMessage.serialize(_socket, true, strError); in handleNewConnection() 162 std::cout << "Error while receiving message: " << strError << std::endl; in handleNewConnection()
|
/external/parameter-framework/upstream/remote-process/ |
D | main.cpp | 45 string strError; in sendAndDisplayCommand() local 47 if (requestMessage.serialize(Socket(socket), true, strError) != CRequestMessage::success) { in sendAndDisplayCommand() 49 cerr << "Unable to send command to target: " << strError << endl; in sendAndDisplayCommand() 55 if (answerMessage.serialize(Socket(socket), false, strError) != CRequestMessage::success) { in sendAndDisplayCommand() 57 cerr << "Unable to received answer from target: " << strError << endl; in sendAndDisplayCommand()
|
/external/parameter-framework/upstream/skeleton-subsystem/ |
D | SkeletonSubsystemObject.h | 46 virtual bool sendToHW(std::string &strError); 47 virtual bool receiveFromHW(std::string &strError); 51 virtual bool accessHW(bool bReceive, std::string &strError);
|