Home
last modified time | relevance | path

Searched refs:uiValue (Results 1 – 25 of 26) sorted by relevance

12

/external/parameter-framework/parameter/
DBooleanParameterType.cpp50 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 …]
DIntegerParameterType.cpp151 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 …]
DParameterType.cpp220 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 …]
DFixedPointParameterType.cpp116 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 …]
DParameterType.h63 …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…
DIntegerParameterType.h51 …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…
DBooleanParameterType.h47 …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…
DBitParameterType.cpp125 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()
DFixedPointParameterType.h53 …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…
DBitParameter.cpp90 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()
DEnumParameterType.cpp95 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()
DBitParameterType.h52 …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…
DEnumParameterType.h50 …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…
DParameterHandle.cpp155 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()
DSubsystemObject.cpp84 string CSubsystemObject::asString(uint32_t uiValue) in asString() argument
88 ostr << uiValue; in asString()
DBaseParameter.cpp111 bool CBaseParameter::accessAsInteger(uint32_t& uiValue, bool bSet, CParameterAccessContext& paramet… in accessAsInteger() argument
113 (void)uiValue; in accessAsInteger()
DParameter.cpp108 bool CParameter::accessAsInteger(uint32_t& uiValue, bool bSet, CParameterAccessContext& parameterAc… in accessAsInteger() argument
110 return doAccess(uiValue, bSet, parameterAccessContext); in accessAsInteger()
DBitParameter.h52 …virtual bool accessAsInteger(uint32_t& uiValue, bool bSet, CParameterAccessContext& parameterAcces…
DSubsystemObject.h64 static std::string asString(uint32_t uiValue);
DParameter.h56 …virtual bool accessAsInteger(uint32_t& uiValue, bool bSet, CParameterAccessContext& parameterAcces…
/external/parameter-framework/test/test-subsystem/
DTESTSubsystemBinary.cpp46 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/
DUtility.h72 static std::string toString(T uiValue) in toString() argument
76 ostr << uiValue; in toString()
/external/parameter-framework/parameter/include/
DParameterHandle.h70 bool setAsInteger(uint32_t uiValue, std::string& strError);
71 bool getAsInteger(uint32_t& uiValue, std::string& strError) const;
/external/parameter-framework/xmlserializer/
DXmlElement.cpp217 void CXmlElement::setAttributeInteger(const string& strAttributeName, uint32_t uiValue) in setAttributeInteger() argument
220 strStream << uiValue; in setAttributeInteger()
DXmlElement.h72 void setAttributeInteger(const std::string& strAttributeName, uint32_t uiValue);

12