Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/telemetry/publisher/statsconverters/
DAtomFieldAccessor.java63 boolean hasField(@NonNull T atomData) { in hasField() argument
64 return mHasField.test(atomData); in hasField()
74 F getField(@NonNull T atomData) { in getField() argument
75 return mGetField.apply(atomData); in getField()
DAbstractAtomConverter.java118 T atomData = getAtomData(atom); in convert() local
119 if (!atomFieldAccessor.hasField(atomData)) { in convert()
125 valueList.add(atomFieldAccessor.getField(atomData)); in convert()
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.cpp2108 vector<pair<Atom, int64_t>> atomData = unnestGaugeAtomData(*bucketInfo); in backfillAggregatedAtomsInGaugeMetric() local
2110 if (atomData.size() == 0) { in backfillAggregatedAtomsInGaugeMetric()
2118 for (int k = 0; k < atomData.size(); ++k) { in backfillAggregatedAtomsInGaugeMetric()
2119 *(bucketInfo->add_atom()) = atomData[k].first; in backfillAggregatedAtomsInGaugeMetric()
2120 bucketInfo->add_elapsed_timestamp_nanos(atomData[k].second); in backfillAggregatedAtomsInGaugeMetric()
2127 vector<pair<Atom, int64_t>> atomData; in unnestGaugeAtomData() local
2131 atomData.push_back(make_pair(atomInfo.atom(), atomInfo.elapsed_timestamp_nanos(l))); in unnestGaugeAtomData()
2135 sort(atomData.begin(), atomData.end(), in unnestGaugeAtomData()
2140 return atomData; in unnestGaugeAtomData()