Lines Matching refs:uint8_t
76 const std::vector<uint8_t>& experimentIds, int32_t userId) { in LogEvent()
102 std::vector<uint8_t> experimentIdsProto; in LogEvent()
109 void LogEvent::parseInt32(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseInt32()
115 void LogEvent::parseInt64(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseInt64()
121 void LogEvent::parseString(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseString()
135 void LogEvent::parseFloat(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseFloat()
141 void LogEvent::parseBool(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseBool()
143 int32_t value = (int32_t)readNextValue<uint8_t>(); in parseBool()
148 void LogEvent::parseByteArray(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseByteArray()
155 vector<uint8_t> value(mBuf, mBuf + numBytes); in parseByteArray()
162 void LogEvent::parseKeyValuePairs(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseKeyValuePairs()
163 int32_t numPairs = readNextValue<uint8_t>(); in parseKeyValuePairs()
175 uint8_t typeInfo = readNextValue<uint8_t>(); in parseKeyValuePairs()
205 uint8_t numAnnotations) { in parseAttributionChain()
207 const int32_t numNodes = readNextValue<uint8_t>(); in parseAttributionChain()
242 void LogEvent::parseIsUidAnnotation(uint8_t annotationType) { in parseIsUidAnnotation()
249 bool isUid = readNextValue<uint8_t>(); in parseIsUidAnnotation()
254 void LogEvent::parseTruncateTimestampAnnotation(uint8_t annotationType) { in parseTruncateTimestampAnnotation()
260 mTruncateTimestamp = readNextValue<uint8_t>(); in parseTruncateTimestampAnnotation()
263 void LogEvent::parsePrimaryFieldAnnotation(uint8_t annotationType) { in parsePrimaryFieldAnnotation()
269 const bool primaryField = readNextValue<uint8_t>(); in parsePrimaryFieldAnnotation()
273 void LogEvent::parsePrimaryFieldFirstUidAnnotation(uint8_t annotationType, in parsePrimaryFieldFirstUidAnnotation()
286 const bool primaryField = readNextValue<uint8_t>(); in parsePrimaryFieldFirstUidAnnotation()
290 void LogEvent::parseExclusiveStateAnnotation(uint8_t annotationType) { in parseExclusiveStateAnnotation()
302 const bool exclusiveState = readNextValue<uint8_t>(); in parseExclusiveStateAnnotation()
307 void LogEvent::parseTriggerStateResetAnnotation(uint8_t annotationType) { in parseTriggerStateResetAnnotation()
316 void LogEvent::parseStateNestedAnnotation(uint8_t annotationType) { in parseStateNestedAnnotation()
322 bool nested = readNextValue<uint8_t>(); in parseStateNestedAnnotation()
328 void LogEvent::parseAnnotations(uint8_t numAnnotations, int firstUidInChainIndex) { in parseAnnotations()
329 for (uint8_t i = 0; i < numAnnotations; i++) { in parseAnnotations()
330 uint8_t annotationId = readNextValue<uint8_t>(); in parseAnnotations()
331 uint8_t annotationType = readNextValue<uint8_t>(); in parseAnnotations()
364 bool LogEvent::parseBuffer(uint8_t* buf, size_t len) { in parseBuffer()
372 uint8_t typeInfo = readNextValue<uint8_t>(); in parseBuffer()
375 uint8_t numElements = readNextValue<uint8_t>(); in parseBuffer()
378 typeInfo = readNextValue<uint8_t>(); in parseBuffer()
383 typeInfo = readNextValue<uint8_t>(); in parseBuffer()
392 typeInfo = readNextValue<uint8_t>(); in parseBuffer()
393 uint8_t typeId = getTypeId(typeInfo); in parseBuffer()
435 uint8_t LogEvent::getTypeId(uint8_t typeInfo) { in getTypeId()
439 uint8_t LogEvent::getNumAnnotations(uint8_t typeInfo) { in getNumAnnotations()
548 std::vector<uint8_t> LogEvent::GetStorage(size_t key, status_t* err) const { in GetStorage()
556 return vector<uint8_t>(); in GetStorage()
565 return vector<uint8_t>(); in GetStorage()
598 std::vector<uint8_t>* protoOut) { in writeExperimentIdsToProto()