Home
last modified time | relevance | path

Searched refs:firstUidInChainIndex (Results 1 – 3 of 3) sorted by relevance

/packages/modules/StatsD/statsd/src/logd/
DLogEvent.cpp206 const unsigned int firstUidInChainIndex = mValues.size(); in parseAttributionChain() local
223 } else if (mValues.size() - 1 > firstUidInChainIndex) { in parseAttributionChain()
225 mAttributionChainStartIndex = static_cast<int8_t>(firstUidInChainIndex); in parseAttributionChain()
230 parseAnnotations(numAnnotations, firstUidInChainIndex); in parseAttributionChain()
274 int firstUidInChainIndex) { in parsePrimaryFieldFirstUidAnnotation() argument
275 if (mValues.empty() || annotationType != BOOL_TYPE || -1 == firstUidInChainIndex) { in parsePrimaryFieldFirstUidAnnotation()
280 if (static_cast<int>(mValues.size() - 1) < firstUidInChainIndex) { // AttributionChain is empty. in parsePrimaryFieldFirstUidAnnotation()
287 mValues[firstUidInChainIndex].mAnnotations.setPrimaryField(primaryField); in parsePrimaryFieldFirstUidAnnotation()
328 void LogEvent::parseAnnotations(uint8_t numAnnotations, int firstUidInChainIndex) { in parseAnnotations() argument
344 parsePrimaryFieldFirstUidAnnotation(annotationType, firstUidInChainIndex); in parseAnnotations()
DLogEvent.h230 void parseAnnotations(uint8_t numAnnotations, int firstUidInChainIndex = -1);
234 void parsePrimaryFieldFirstUidAnnotation(uint8_t annotationType, int firstUidInChainIndex);
/packages/modules/StatsD/statsd/tests/
DLogEvent_test.cpp327 int firstUidInChainIndex = numInts; in TEST() local
353 EXPECT_TRUE(values[firstUidInChainIndex].mAnnotations.isPrimaryField()); in TEST()