/external/parameter-framework/parameter/ |
D | BooleanParameterType.cpp | 50 bool CBooleanParameterType::toBlackboard(const std::string& strValue, uint32_t& uiValue, CParameter… in toBlackboard() argument 54 uiValue = true; in toBlackboard() 57 uiValue = false; in toBlackboard() 79 bool CBooleanParameterType::fromBlackboard(std::string& strValue, const uint32_t& uiValue, CParamet… in fromBlackboard() argument 81 strValue = uiValue ? "1" : "0"; in fromBlackboard() 92 bool CBooleanParameterType::toBlackboard(bool bUserValue, uint32_t& uiValue, CParameterAccessContex… in toBlackboard() argument 96 uiValue = bUserValue; in toBlackboard() 101 bool CBooleanParameterType::fromBlackboard(bool& bUserValue, uint32_t uiValue, CParameterAccessCont… in fromBlackboard() argument 105 bUserValue = uiValue != 0; in fromBlackboard() 111 bool CBooleanParameterType::toBlackboard(uint32_t uiUserValue, uint32_t& uiValue, CParameterAccessC… in toBlackboard() argument [all …]
|
D | IntegerParameterType.cpp | 151 bool CIntegerParameterType::toBlackboard(const string& strValue, uint32_t& uiValue, CParameterAcces… in toBlackboard() argument 185 uiValue = (uint32_t)iData; in toBlackboard() 190 bool CIntegerParameterType::fromBlackboard(string& strValue, const uint32_t& uiValue, CParameterAcc… in fromBlackboard() argument 193 assert(isEncodable(uiValue, false)); in fromBlackboard() 202 …am << "0x" << std::hex << std::uppercase << std::setw(getSize()*2) << std::setfill('0') << uiValue; in fromBlackboard() 207 int32_t iValue = uiValue; in fromBlackboard() 215 strStream << uiValue; in fromBlackboard() 226 bool CIntegerParameterType::toBlackboard(uint32_t uiUserValue, uint32_t& uiValue, CParameterAccessC… in toBlackboard() argument 235 uiValue = uiUserValue; in toBlackboard() 240 bool CIntegerParameterType::fromBlackboard(uint32_t& uiUserValue, uint32_t uiValue, CParameterAcces… in fromBlackboard() argument [all …]
|
D | ParameterType.cpp | 220 bool CParameterType::toBlackboard(bool bUserValue, uint32_t& uiValue, CParameterAccessContext& para… in toBlackboard() argument 223 (void)uiValue; in toBlackboard() 231 bool CParameterType::fromBlackboard(bool& bUserValue, uint32_t uiValue, CParameterAccessContext& pa… in fromBlackboard() argument 234 (void)uiValue; in fromBlackboard() 243 bool CParameterType::toBlackboard(uint32_t uiUserValue, uint32_t& uiValue, CParameterAccessContext&… in toBlackboard() argument 246 (void)uiValue; in toBlackboard() 254 bool CParameterType::fromBlackboard(uint32_t& uiUserValue, uint32_t uiValue, CParameterAccessContex… in fromBlackboard() argument 257 (void)uiValue; in fromBlackboard() 266 bool CParameterType::toBlackboard(int32_t iUserValue, uint32_t& uiValue, CParameterAccessContext& p… in toBlackboard() argument 269 (void)uiValue; in toBlackboard() [all …]
|
D | FixedPointParameterType.cpp | 116 bool CFixedPointParameterType::toBlackboard(const string& strValue, uint32_t& uiValue, CParameterAc… in toBlackboard() argument 132 return convertFromHexadecimal(strValue, uiValue, parameterAccessContext); in toBlackboard() 135 return convertFromDecimal(strValue, uiValue, parameterAccessContext); in toBlackboard() 137 return convertFromQnm(strValue, uiValue, parameterAccessContext); in toBlackboard() 184 bool CFixedPointParameterType::fromBlackboard(string& strValue, const uint32_t& uiValue, CParameter… in fromBlackboard() argument 186 int32_t iData = uiValue; in fromBlackboard() 225 bool CFixedPointParameterType::toBlackboard(double dUserValue, uint32_t& uiValue, CParameterAccessC… in toBlackboard() argument 242 uiValue = iData; in toBlackboard() 247 bool CFixedPointParameterType::fromBlackboard(double& dUserValue, uint32_t uiValue, CParameterAcces… in fromBlackboard() argument 251 int32_t iData = uiValue; in fromBlackboard() [all …]
|
D | ParameterType.h | 63 …virtual bool toBlackboard(const std::string& strValue, uint32_t& uiValue, CParameterAccessContext&… 64 …virtual bool fromBlackboard(std::string& strValue, const uint32_t& uiValue, CParameterAccessContex… 66 …virtual bool toBlackboard(bool bUserValue, uint32_t& uiValue, CParameterAccessContext& parameterAc… 67 …virtual bool fromBlackboard(bool& bUserValue, uint32_t uiValue, CParameterAccessContext& parameter… 69 …virtual bool toBlackboard(uint32_t uiUserValue, uint32_t& uiValue, CParameterAccessContext& parame… 70 …virtual bool fromBlackboard(uint32_t& uiUserValue, uint32_t uiValue, CParameterAccessContext& para… 72 …virtual bool toBlackboard(int32_t iUserValue, uint32_t& uiValue, CParameterAccessContext& paramete… 73 …virtual bool fromBlackboard(int32_t& iUserValue, uint32_t uiValue, CParameterAccessContext& parame… 75 …virtual bool toBlackboard(double dUserValue, uint32_t& uiValue, CParameterAccessContext& parameter… 76 …virtual bool fromBlackboard(double& dUserValue, uint32_t uiValue, CParameterAccessContext& paramet…
|
D | IntegerParameterType.h | 51 …virtual bool toBlackboard(const std::string& strValue, uint32_t& uiValue, CParameterAccessContext&… 52 …virtual bool fromBlackboard(std::string& strValue, const uint32_t& uiValue, CParameterAccessContex… 54 …virtual bool toBlackboard(uint32_t uiUserValue, uint32_t& uiValue, CParameterAccessContext& parame… 55 …virtual bool fromBlackboard(uint32_t& uiUserValue, uint32_t uiValue, CParameterAccessContext& para… 57 …virtual bool toBlackboard(int32_t iUserValue, uint32_t& uiValue, CParameterAccessContext& paramete… 58 …virtual bool fromBlackboard(int32_t& iUserValue, uint32_t uiValue, CParameterAccessContext& parame… 60 …virtual bool toBlackboard(double dUserValue, uint32_t& uiValue, CParameterAccessContext& parameter… 61 …virtual bool fromBlackboard(double& dUserValue, uint32_t uiValue, CParameterAccessContext& paramet…
|
D | BooleanParameterType.h | 47 …virtual bool toBlackboard(const std::string& strValue, uint32_t& uiValue, CParameterAccessContext&… 48 …virtual bool fromBlackboard(std::string& strValue, const uint32_t& uiValue, CParameterAccessContex… 50 …virtual bool toBlackboard(bool bUserValue, uint32_t& uiValue, CParameterAccessContext& parameterAc… 51 …virtual bool fromBlackboard(bool& bUserValue, uint32_t uiValue, CParameterAccessContext& parameter… 53 …virtual bool toBlackboard(uint32_t uiUserValue, uint32_t& uiValue, CParameterAccessContext& parame… 54 …virtual bool fromBlackboard(uint32_t& uiUserValue, uint32_t uiValue, CParameterAccessContext& para…
|
D | BitParameterType.cpp | 125 bool CBitParameterType::toBlackboard(const string& strValue, uint64_t& uiValue, CParameterAccessCon… in toBlackboard() argument 155 uiValue = (uiValue & ~getMask()) | (uiConvertedValue << _uiBitPos); in toBlackboard() 160 void CBitParameterType::fromBlackboard(string& strValue, const uint64_t& uiValue, CParameterAccessC… in fromBlackboard() argument 162 uint64_t uiConvertedValue = (uiValue & getMask()) >> _uiBitPos; in fromBlackboard() 180 bool CBitParameterType::toBlackboard(uint64_t uiUserValue, uint64_t& uiValue, CParameterAccessConte… in toBlackboard() argument 190 uiValue = (uiValue & ~getMask()) | (uiUserValue << _uiBitPos); in toBlackboard() 195 void CBitParameterType::fromBlackboard(uint32_t& uiUserValue, uint64_t uiValue, CParameterAccessCon… in fromBlackboard() argument 199 uiUserValue = (uiValue & getMask()) >> _uiBitPos; in fromBlackboard()
|
D | FixedPointParameterType.h | 53 …virtual bool toBlackboard(const std::string& strValue, uint32_t& uiValue, CParameterAccessContext&… 54 …virtual bool fromBlackboard(std::string& strValue, const uint32_t& uiValue, CParameterAccessContex… 56 …virtual bool toBlackboard(double dUserValue, uint32_t& uiValue, CParameterAccessContext& parameter… 57 …virtual bool fromBlackboard(double& dUserValue, uint32_t uiValue, CParameterAccessContext& paramet… 92 …bool convertFromDecimal(const std::string& strValue, uint32_t& uiValue, CParameterAccessContext& p… 106 …bool convertFromHexadecimal(const std::string& strValue, uint32_t& uiValue, CParameterAccessContex… 120 …bool convertFromQnm(const std::string& strValue, uint32_t& uiValue, CParameterAccessContext& param…
|
D | BitParameter.cpp | 90 uint32_t uiValue; in accessAsBoolean() local 94 uiValue = bValue; in accessAsBoolean() 97 if (!accessAsInteger(uiValue, bSet, parameterAccessContext)) { in accessAsBoolean() 104 bValue = uiValue != 0; in accessAsBoolean() 111 bool CBitParameter::accessAsInteger(uint32_t& uiValue, bool bSet, CParameterAccessContext& paramete… in accessAsInteger() argument 118 if (!doSet(uiValue, uiOffset, parameterAccessContext)) { in accessAsInteger() 132 doGet(uiValue, uiOffset, parameterAccessContext); in accessAsInteger()
|
D | EnumParameterType.cpp | 95 bool CEnumParameterType::toBlackboard(const string& strValue, uint32_t& uiValue, CParameterAccessCo… in toBlackboard() argument 156 uiValue = (uint32_t)iData; in toBlackboard() 195 bool CEnumParameterType::fromBlackboard(string& strValue, const uint32_t& uiValue, CParameterAccess… in fromBlackboard() argument 207 …td::hex << std::uppercase << std::setw(getSize()*2) << std::setfill('0') << makeEncodable(uiValue); in fromBlackboard() 213 int32_t iValue = uiValue; in fromBlackboard() 225 int32_t iValue = uiValue; in fromBlackboard() 237 bool CEnumParameterType::toBlackboard(int32_t iUserValue, uint32_t& uiValue, CParameterAccessContex… in toBlackboard() argument 243 uiValue = iUserValue; in toBlackboard() 248 bool CEnumParameterType::fromBlackboard(int32_t& iUserValue, uint32_t uiValue, CParameterAccessCont… in fromBlackboard() argument 252 int32_t iValue = uiValue; in fromBlackboard()
|
D | BitParameterType.h | 52 …bool toBlackboard(const std::string& strValue, uint64_t& uiValue, CParameterAccessContext& paramet… 53 …void fromBlackboard(std::string& strValue, const uint64_t& uiValue, CParameterAccessContext& param… 55 …bool toBlackboard(uint64_t uiUserValue, uint64_t& uiValue, CParameterAccessContext& parameterAcces… 56 …void fromBlackboard(uint32_t& uiUserValue, uint64_t uiValue, CParameterAccessContext& parameterAcc…
|
D | EnumParameterType.h | 50 …virtual bool toBlackboard(const std::string& strValue, uint32_t& uiValue, CParameterAccessContext&… 51 …virtual bool fromBlackboard(std::string& strValue, const uint32_t& uiValue, CParameterAccessContex… 53 …virtual bool toBlackboard(int32_t iUserValue, uint32_t& uiValue, CParameterAccessContext& paramete… 54 …virtual bool fromBlackboard(int32_t& iUserValue, uint32_t uiValue, CParameterAccessContext& parame…
|
D | ParameterHandle.cpp | 155 bool CParameterHandle::setAsInteger(uint32_t uiValue, string& strError) in setAsInteger() argument 174 return _pBaseParameter->accessAsInteger(uiValue, true, parameterAccessContext); in setAsInteger() 177 bool CParameterHandle::getAsInteger(uint32_t& uiValue, string& strError) const in getAsInteger() argument 190 return _pBaseParameter->accessAsInteger(uiValue, false, parameterAccessContext); in getAsInteger()
|
D | SubsystemObject.cpp | 84 string CSubsystemObject::asString(uint32_t uiValue) in asString() argument 88 ostr << uiValue; in asString()
|
D | BaseParameter.cpp | 111 bool CBaseParameter::accessAsInteger(uint32_t& uiValue, bool bSet, CParameterAccessContext& paramet… in accessAsInteger() argument 113 (void)uiValue; in accessAsInteger()
|
D | Parameter.cpp | 108 bool CParameter::accessAsInteger(uint32_t& uiValue, bool bSet, CParameterAccessContext& parameterAc… in accessAsInteger() argument 110 return doAccess(uiValue, bSet, parameterAccessContext); in accessAsInteger()
|
D | BitParameter.h | 52 …virtual bool accessAsInteger(uint32_t& uiValue, bool bSet, CParameterAccessContext& parameterAcces…
|
D | SubsystemObject.h | 64 static std::string asString(uint32_t uiValue);
|
D | Parameter.h | 56 …virtual bool accessAsInteger(uint32_t& uiValue, bool bSet, CParameterAccessContext& parameterAcces…
|
/external/parameter-framework/test/test-subsystem/ |
D | TESTSubsystemBinary.cpp | 46 uint32_t uiValue = 0; in toString() local 48 assert(uiSize <= sizeof(uiValue)); in toString() 50 memcpy((void*)&uiValue, pvValue, uiSize); in toString() 52 strStream << "0x" << std::hex << uiValue; in toString() 59 uint32_t uiValue = strtoul(strValue.c_str(), NULL, 0); in fromString() local 61 assert(uiSize <= sizeof(uiValue)); in fromString() 63 memcpy(pvValue, (const void*)&uiValue, uiSize); in fromString()
|
/external/parameter-framework/utility/ |
D | Utility.h | 72 static std::string toString(T uiValue) in toString() argument 76 ostr << uiValue; in toString()
|
/external/parameter-framework/parameter/include/ |
D | ParameterHandle.h | 70 bool setAsInteger(uint32_t uiValue, std::string& strError); 71 bool getAsInteger(uint32_t& uiValue, std::string& strError) const;
|
/external/parameter-framework/xmlserializer/ |
D | XmlElement.cpp | 217 void CXmlElement::setAttributeInteger(const string& strAttributeName, uint32_t uiValue) in setAttributeInteger() argument 220 strStream << uiValue; in setAttributeInteger()
|
D | XmlElement.h | 72 void setAttributeInteger(const std::string& strAttributeName, uint32_t uiValue);
|