/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
RsPerfTestRunner.java | 48 String strValue = (String)icicle.get("iterations"); 49 if (strValue != null) { 50 int intValue = Integer.parseInt(strValue);
|
/external/parameter-framework/parameter/ |
ComponentInstance.cpp | 67 std::string strValue = base::getFormattedMapping(); 70 strValue += _pComponentType->getFormattedMapping(); 73 return strValue;
|
ComponentType.cpp | 67 std::string strValue = base::getFormattedMapping(); 70 strValue += _pExtendsComponentType->getFormattedMapping(); 73 return strValue;
|
MappingData.cpp | 53 std::string strKey, strValue; 60 strValue = ""; 68 strValue = strMappingElement.substr(iFistDelimiterOccurrence + 1); 72 if (!addValue(strKey, strValue)) { 74 serializingContext.setError("Duplicate Mapping data: Unable to process Mapping element key = " + strKey + ", value = " + strValue + " from XML element " + xmlElement.getPath()); 97 std::string strValue; 99 CUtility::asString(_keyToValueMap, strValue, ", ", ":"); 101 return strValue; 104 bool CMappingData::addValue(const std::string& strkey, const std::string& strValue) 110 _keyToValueMap[strkey] = strValue; [all...] |
BaseParameter.cpp | 60 string strValue; 62 doGetValue(strValue, getOffset() - configurationAccessContext.getBaseOffset(), configurationAccessContext); 65 xmlConfigurationSettingsElementContent.setTextContent(strValue); 73 void CBaseParameter::logValue(string& strValue, CErrorContext& errorContext) const 79 doGetValue(strValue, getOffset(), parameterAccessContext); 174 bool CBaseParameter::accessAsString(string& strValue, bool bSet, CParameterAccessContext& parameterAccessContext) const 179 if (!doSetValue(strValue, getOffset() - parameterAccessContext.getBaseOffset(), parameterAccessContext)) { 193 doGetValue(strValue, getOffset() - parameterAccessContext.getBaseOffset(), parameterAccessContext); 212 bool CBaseParameter::accessValue(CPathNavigator& pathNavigator, string& strValue, bool bSet, CParameterAccessContext& parameterAccessContext) const 220 return accessAsString(strValue, bSet, parameterAccessContext) [all...] |
SelectionCriterionRule.cpp | 61 void CSelectionCriterionRule::logValue(string& strValue, CErrorContext& errorContext) const 66 dump(strValue); 91 string strValue; 93 if (!ruleParser.next(strValue, strError)) { 107 if (!_pSelectionCriterion->getCriterionType()->getNumericalValue(strValue, _iMatchValue)) { 109 strError = "Value error: \"" + strValue + "\" is not part of criterion \"" + 128 string strValue; 129 _pSelectionCriterion->getCriterionType()->getLiteralValue(_iMatchValue, strValue); 130 strResult += strValue; 184 string strValue = xmlElement.getAttributeString("Value") [all...] |
BitParameterType.cpp | 125 bool CBitParameterType::toBlackboard(const string& strValue, uint64_t& uiValue, CParameterAccessContext& parameterAccessContext) const 128 bool bValueProvidedAsHexa = !strValue.compare(0, 2, "0x"); 131 uint64_t uiConvertedValue = strtoull(strValue.c_str(), NULL, 0); 138 strStream << "Value " << strValue << " standing out of admitted range ["; 160 void CBitParameterType::fromBlackboard(string& strValue, const uint64_t& uiValue, CParameterAccessContext& parameterAccessContext) const 175 strValue = strStream.str();
|
IntegerParameterType.cpp | 151 bool CIntegerParameterType::toBlackboard(const string& strValue, uint32_t& uiValue, CParameterAccessContext& parameterAccessContext) const 154 bool bValueProvidedAsHexa = !strValue.compare(0, 2, "0x"); 159 if (!convertValueFromString(strValue, iData, parameterAccessContext)) { 173 if (!checkValueAgainstRange<int64_t>(strValue, iData, (int32_t)_uiMin, (int32_t)_uiMax, parameterAccessContext, bValueProvidedAsHexa)) { 179 if (!checkValueAgainstRange<uint64_t>(strValue, iData, _uiMin, _uiMax, parameterAccessContext, bValueProvidedAsHexa)) { 190 bool CIntegerParameterType::fromBlackboard(string& strValue, const uint32_t& uiValue, CParameterAccessContext& parameterAccessContext) const 219 strValue = strStream.str(); 369 bool CIntegerParameterType::convertValueFromString(const string& strValue, int64_t& iData, CParameterAccessContext& parameterAccessContext) const { 378 iData = strtoll(strValue.c_str(), &pcStrEnd, 0); 381 iData = strtoull(strValue.c_str(), &pcStrEnd, 0) [all...] |
ArrayParameter.cpp | 87 string strValue; 90 getValues(configurationAccessContext.getBaseOffset(), strValue, configurationAccessContext); 93 xmlConfigurationSettingsElementContent.setTextContent(strValue); 101 bool CArrayParameter::accessValue(CPathNavigator& pathNavigator, string& strValue, bool bSet, CParameterAccessContext& parameterAccessContext) const 119 if (!setValues(uiIndex, parameterAccessContext.getBaseOffset(), strValue, parameterAccessContext)) { 135 getValues(parameterAccessContext.getBaseOffset(), strValue, parameterAccessContext); 139 doGetValue(strValue, getOffset() + uiIndex * getSize(), parameterAccessContext); 177 void CArrayParameter::logValue(string& strValue, CErrorContext& errorContext) const 183 getValues(0, strValue, parameterAccessContext); 258 bool CArrayParameter::setValues(uint32_t uiStartIndex, uint32_t uiBaseOffset, const string& strValue, CParameterAccessContext& parameterAccessContext) cons [all...] |
EnumParameterType.cpp | 95 bool CEnumParameterType::toBlackboard(const string& strValue, uint32_t& uiValue, CParameterAccessContext& parameterAccessContext) const 99 if (isNumber(strValue)) { 104 bool bValueProvidedAsHexa = !strValue.compare(0, 2, "0x"); 110 iData = strtoll(strValue.c_str(), &pcStrEnd, 0); 113 bool bConversionSucceeded = !errno && (strValue.c_str() != pcStrEnd); 116 if (!checkValueAgainstRange(strValue, iData, parameterAccessContext, bValueProvidedAsHexa, bConversionSucceeded)) { 140 if (!getNumerical(strValue, iNumerical)) { 149 if (!checkValueAgainstRange(strValue, iData, parameterAccessContext, false, isEncodable((uint64_t)iData, true))) { 162 bool CEnumParameterType::checkValueAgainstRange(const string& strValue, int64_t value, CParameterAccessContext& parameterAccessContext, bool bHexaValue, bool bConversionSucceeded) const 172 strStream << "Value " << strValue << " standing out of admitted range [" [all...] |
FixedPointParameterType.cpp | 116 bool CFixedPointParameterType::toBlackboard(const string& strValue, uint32_t& uiValue, CParameterAccessContext& parameterAccessContext) const 118 bool bValueProvidedAsHexa = isHexadecimal(strValue); 132 return convertFromHexadecimal(strValue, uiValue, parameterAccessContext); 135 return convertFromDecimal(strValue, uiValue, parameterAccessContext); 137 return convertFromQnm(strValue, uiValue, parameterAccessContext); 140 void CFixedPointParameterType::setOutOfRangeError(const string& strValue, CParameterAccessContext& parameterAccessContext) const 144 strStream << "Value " << strValue << " standing out of admitted "; 163 if (isHexadecimal(strValue)) { 184 bool CFixedPointParameterType::fromBlackboard(string& strValue, const uint32_t& uiValue, CParameterAccessContext& parameterAccessContext) const 219 strValue = strStream.str() [all...] |
Subsystem.cpp | 199 bool CSubsystem::accessValue(CPathNavigator& pathNavigator, string& strValue, bool bSet, CParameterAccessContext& parameterAccessContext) const 204 return base::accessValue(pathNavigator, strValue, bSet, parameterAccessContext); 308 string strValue = formatMappingDataList(configurableElementPath); 311 strValue += getFormattedSubsystemMappingData(pInstanceConfigurableElement); 313 return strValue; 316 void CSubsystem::logValue(string& strValue, CErrorContext& errorContext) const 323 return base::logValue(strValue, errorContext);
|
Element.cpp | 181 string strValue; 182 logValue(strValue, errorContext); 184 if (!strValue.empty()) { 186 strContent += " = " + strValue; 215 void CElement::logValue(string& strValue, CErrorContext& errorContext) const 217 (void)strValue;
|
ParameterMgr.cpp | [all...] |
/external/parameter-framework/test/test-subsystem/ |
TESTSubsystemObject.cpp | 105 std::string strValue = toString(pvValue, _uiScalarSize); 107 outputFile << strValue << std::endl; 113 log_info("TESTSUBSYSTEM: Writing \"%s\" to file %s", strValue.c_str(), _strFilePath.c_str()); 116 log_info("TESTSUBSYSTEM: Writing \"%s\" to file %s[%d]", strValue.c_str(), _strFilePath.c_str(), uiIndex); 130 std::string strValue; 132 inputFile >> strValue; 138 log_info("TESTSUBSYSTEM: Writing \"%s\" from file %s", strValue.c_str(), _strFilePath.c_str()); 141 log_info("TESTSUBSYSTEM: Writing \"%s\" from file %s[%d]", strValue.c_str(), _strFilePath.c_str(), uiIndex); 145 fromString(strValue, pvValue, _uiScalarSize);
|
/external/parameter-framework/test/test-platform/ |
TestPlatform.cpp | 308 const std::string& strValue = remoteCommand.getArgument(uiState + 1); 310 if (!pCriterionType->addValuePair(uiState, strValue)) { 312 strResult = "Unable to add value: " + strValue; 348 const std::string& strValue = remoteCommand.getArgument(uiState + 1); 350 if (!pCriterionType->addValuePair(0x1 << uiState, strValue)) { 352 strResult = "Unable to add value: " + strValue;
|
/frameworks/base/drm/java/android/drm/ |
DrmUtils.java | 168 String strValue = readMultipleBytes(constraintData, valueLength, index); 169 if (strValue.equals(" ")) { 170 strValue = ""; 173 mMap.put(strKey, strValue);
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
config.cpp | 165 string strValue; 206 strValue.erase(); 285 strValue.push_back(c); 302 strValue.push_back(((numValue >> (n * 8)) & 0xFF)); 304 if (strValue.length() > 0) 305 pParam = new CNfcParam(token.c_str(), strValue); 309 strValue.erase(); 316 strValue.push_back('\0'); 318 pParam = new CNfcParam(token.c_str(), strValue); 322 strValue.push_back(c) [all...] |
/external/libnfc-nci/src/adaptation/ |
config.cpp | 165 string strValue; 217 strValue.erase(); 296 strValue.push_back(c); 313 strValue.push_back(((numValue >> (n * 8)) & 0xFF)); 315 if (strValue.length() > 0) 316 pParam = new CNfcParam(token.c_str(), strValue); 320 strValue.erase(); 327 strValue.push_back('\0'); 329 pParam = new CNfcParam(token.c_str(), strValue); 333 strValue.push_back(c) [all...] |
/external/libnfc-nci/halimpl/pn54x/utils/ |
phNxpConfig.cpp | 203 string strValue; 245 strValue.erase(); 335 strValue.push_back(c); 363 strValue.push_back(((numValue >> (n * 8)) & 0xFF)); 365 if (strValue.length() > 0) 366 pParam = new CNfcParam(token.c_str(), strValue); 370 strValue.erase(); 377 strValue.push_back('\0'); 379 pParam = new CNfcParam(token.c_str(), strValue); 383 strValue.push_back(c) [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPNodeUtils.java | 326 String strValue = serializeNodeValue(value); 329 node.setValue(strValue); 333 node.setValue(Utils.normalizeLangValue(strValue)); 394 String strValue; 397 strValue = null; 401 strValue = XMPUtils.convertFromBoolean(((Boolean) value).booleanValue()); 405 strValue = XMPUtils.convertFromInteger(((Integer) value).intValue()); 409 strValue = XMPUtils.convertFromLong(((Long) value).longValue()); 413 strValue = XMPUtils.convertFromDouble(((Double) value).doubleValue()); 417 strValue = XMPUtils.convertFromDate((XMPDateTime) value) [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
GraphReader.java | 410 String strValue = null; 411 if ((strValue = attributes.getValue("stringValue")) != null) { 412 return strValue; 413 } else if ((strValue = attributes.getValue("booleanValue")) != null) { 414 return Boolean.parseBoolean(strValue); 415 } else if ((strValue = attributes.getValue("intValue")) != null) { 416 return Integer.parseInt(strValue); 417 } else if ((strValue = attributes.getValue("floatValue")) != null) { 418 return Float.parseFloat(strValue); 419 } else if ((strValue = attributes.getValue("floatsValue")) != null) [all...] |
/external/pdfium/fpdfsdk/src/javascript/ |
PublicMethods.cpp | 1070 CFX_ByteString strValue = StrTrim(CFX_ByteString::FromUnicode(Value)); 1072 if (strValue.IsEmpty()) return TRUE; 1092 strValue.Replace(",", "."); 1093 double dValue = atof(strValue); 1100 strValue = fcvt(dValue,iDec,&iDec2,&bNegative); 1101 if (strValue.IsEmpty()) 1104 strValue = fcvt(dValue,iDec,&iDec2,&bNegative); 1105 if (strValue.IsEmpty()) 1107 strValue = "0"; 1117 strValue = "0" + strValue [all...] |
/external/messageformat/java/com/ibm/icu/simple/ |
MessageFormat.java | [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
MessageFormat.java | [all...] |