Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/src/logd/
DLogEvent.cpp192 std::optional<size_t> firstUidInChainIndex = mValues.size(); in parseAttributionChain() local
210 if (mValues.size() > (firstUidInChainIndex.value() + 1)) { in parseAttributionChain()
212 mAttributionChainStartIndex = firstUidInChainIndex; in parseAttributionChain()
215 firstUidInChainIndex = std::nullopt; in parseAttributionChain()
220 parseAnnotations(numAnnotations, /*numElements*/ std::nullopt, firstUidInChainIndex); in parseAttributionChain()
315 std::optional<size_t> firstUidInChainIndex) { in parsePrimaryFieldAnnotation() argument
317 if (mValues.empty() || annotationType != BOOL_TYPE || firstUidInChainIndex || numElements) { in parsePrimaryFieldAnnotation()
328 std::optional<size_t> firstUidInChainIndex) { in parsePrimaryFieldFirstUidAnnotation() argument
330 if (mValues.empty() || annotationType != BOOL_TYPE || !firstUidInChainIndex) { in parsePrimaryFieldFirstUidAnnotation()
336 if (mValues.size() < firstUidInChainIndex.value() + 1) { // AttributionChain is empty. in parsePrimaryFieldFirstUidAnnotation()
[all …]
DLogEvent.h286 std::optional<size_t> firstUidInChainIndex = std::nullopt);
290 std::optional<size_t> firstUidInChainIndex);
292 std::optional<size_t> firstUidInChainIndex);
/packages/modules/StatsD/statsd/tests/
DLogEvent_test.cpp963 int firstUidInChainIndex = numInts; in TEST_P() local
990 EXPECT_TRUE(values[firstUidInChainIndex].mAnnotations.isPrimaryField()); in TEST_P()