Searched refs:valuesAnnotations (Results 1 – 7 of 7) sorted by relevance
118 assertThat(atom.valuesAnnotations).isNull(); in testCreateVendorAtom1ApiGen()139 assertThat(atom.valuesAnnotations).isNull(); in testCreateVendorAtom3ApiGen()157 assertThat(atom.valuesAnnotations).isNull(); in testCreateVendorAtom6ApiGen()211 assertThat(atom.valuesAnnotations).isNull(); in testCreateVendorAtom4ApiGen()252 assertThat(atom.valuesAnnotations).isNull(); in testCreateAtomWithTruncateTimestampApiGen()271 assertThat(atom2.valuesAnnotations).isNull(); in testCreateAtomWithTruncateTimestampApiGen()287 assertThat(atom3.valuesAnnotations).isNull(); in testCreateAtomWithTruncateTimestampApiGen()305 assertThat(atom4.valuesAnnotations).isNotNull(); in testCreateAtomWithTruncateTimestampApiGen()306 assertThat(atom4.valuesAnnotations.length).isEqualTo(1); in testCreateAtomWithTruncateTimestampApiGen()307 assertThat(atom4.valuesAnnotations[0].valueIndex).isEqualTo(0); in testCreateAtomWithTruncateTimestampApiGen()[all …]
304 EXPECT_NE(atom.valuesAnnotations, std::nullopt); in TEST()305 EXPECT_EQ(atom.valuesAnnotations->size(), static_cast<size_t>(1)); in TEST()306 EXPECT_NE(atom.valuesAnnotations.value()[0], std::nullopt); in TEST()307 EXPECT_EQ(atom.valuesAnnotations.value()[0]->valueIndex, 0); in TEST()308 EXPECT_EQ(atom.valuesAnnotations.value()[0]->annotations.size(), static_cast<size_t>(1)); in TEST()309 EXPECT_EQ(atom.valuesAnnotations.value()[0]->annotations[0].annotationId, in TEST()311 EXPECT_TRUE(atom.valuesAnnotations.value()[0] in TEST()337 EXPECT_NE(atom.valuesAnnotations, std::nullopt); in TEST()338 EXPECT_EQ(atom.valuesAnnotations->size(), static_cast<size_t>(2)); in TEST()339 EXPECT_NE(atom.valuesAnnotations.value()[0], std::nullopt); in TEST()[all …]
93 std::vector<std::optional<AnnotationSet>> valuesAnnotations; in buildVendorAtomWithAnnotations() local98 valuesAnnotations.push_back(std::make_optional<AnnotationSet>(valueAnnotationSet)); in buildVendorAtomWithAnnotations()104 valuesAnnotations.push_back(std::make_optional<AnnotationSet>(valueAnnotationSet)); in buildVendorAtomWithAnnotations()112 valuesAnnotations.push_back(std::make_optional<AnnotationSet>(valueAnnotationSet)); in buildVendorAtomWithAnnotations()118 atom.valuesAnnotations = in buildVendorAtomWithAnnotations()119 std::make_optional<std::vector<std::optional<AnnotationSet>>>(valuesAnnotations); in buildVendorAtomWithAnnotations()
123 if (vendorAtom.valuesAnnotations) { in reportVendorAtom()124 const std::vector<std::optional<AnnotationSet>>& valuesAnnotations = in reportVendorAtom() local125 *vendorAtom.valuesAnnotations; in reportVendorAtom()126 for (int i = 0; i < valuesAnnotations.size(); i++) { in reportVendorAtom()127 if (valuesAnnotations[i]) { in reportVendorAtom()128 fieldIndexToAnnotationSetMap[valuesAnnotations[i]->valueIndex] = i; in reportVendorAtom()246 (*vendorAtom.valuesAnnotations)[valueAnnotationIndex->second]->annotations; in reportVendorAtom()
40 @nullable android.frameworks.stats.AnnotationSet[] valuesAnnotations;
87 @nullable AnnotationSet[] valuesAnnotations;