Home
last modified time | relevance | path

Searched refs:ParseUtils (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/gnss/common/utils/default/
DFixLocationParser.cpp38 ParseUtils::splitStr(locationStr, LINE_SEPARATOR, locationStrRecords); in getLocationFromInputStr()
44 ParseUtils::splitStr(locationStrRecords[0], COMMA_SEPARATOR, locationValues); in getLocationFromInputStr()
58 .latitudeDegrees = ParseUtils::tryParseDouble(locationValues[2], 0), in getLocationFromInputStr()
59 .longitudeDegrees = ParseUtils::tryParseDouble(locationValues[3], 0), in getLocationFromInputStr()
60 .altitudeMeters = ParseUtils::tryParseDouble(locationValues[4], 0), in getLocationFromInputStr()
61 .speedMetersPerSec = ParseUtils::tryParseDouble(locationValues[5], 0), in getLocationFromInputStr()
62 .bearingDegrees = ParseUtils::tryParseDouble(locationValues[7], 0), in getLocationFromInputStr()
63 .horizontalAccuracyMeters = ParseUtils::tryParseDouble(locationValues[6], 0), in getLocationFromInputStr()
64 .verticalAccuracyMeters = ParseUtils::tryParseDouble(locationValues[6], 0), in getLocationFromInputStr()
65 .speedAccuracyMetersPerSecond = ParseUtils::tryParseDouble(locationValues[9], 0), in getLocationFromInputStr()
[all …]
DGnssRawMeasurementParser.cpp32 using ParseUtils = ::android::hardware::gnss::common::ParseUtils; typedef
49 ParseUtils::splitStr(s, COMMA_SEPARATOR, columnNames); in getColumnIdNameMappingFromHeader()
186 ParseUtils::splitStr(rawMeasurementStr, LINE_SEPARATOR, rawMeasurementStrRecords); in getMeasurementFromStrs()
196 if (columnNameIdMapping.size() < 37 || !ParseUtils::isValidHeader(columnNameIdMapping)) { in getMeasurementFromStrs()
204 ParseUtils::splitStr(rawMeasurementStrRecords[pointer], COMMA_SEPARATOR, firstRecordValues); in getMeasurementFromStrs()
207 .timeNs = ParseUtils::tryParseLongLong( in getMeasurementFromStrs()
209 .fullBiasNs = ParseUtils::tryParseLongLong( in getMeasurementFromStrs()
211 .biasNs = ParseUtils::tryParseDouble( in getMeasurementFromStrs()
213 .biasUncertaintyNs = ParseUtils::tryParseDouble( in getMeasurementFromStrs()
215 .driftNsps = ParseUtils::tryParseDouble( in getMeasurementFromStrs()
[all …]
DParseUtils.cpp26 int ParseUtils::tryParseInt(const std::string& s, int defaultVal) { in tryParseInt()
34 float ParseUtils::tryParsefloat(const std::string& s, float defaultVal) { in tryParsefloat()
42 double ParseUtils::tryParseDouble(const std::string& s, double defaultVal) { in tryParseDouble()
50 long ParseUtils::tryParseLong(const std::string& s, long defaultVal) { in tryParseLong()
58 long long ParseUtils::tryParseLongLong(const std::string& s, long long defaultVal) { in tryParseLongLong()
66 void ParseUtils::splitStr(const std::string& line, const char& delimiter, in splitStr()
75 bool ParseUtils::isValidHeader(const std::unordered_map<std::string, int>& columnNameIdMapping) { in isValidHeader()
DAndroid.bp47 "ParseUtils.cpp",
/hardware/interfaces/gnss/common/utils/default/include/
DParseUtils.h30 struct ParseUtils { struct