Home
last modified time | relevance | path

Searched refs:valuesAnnotations (Results 1 – 7 of 7) sorted by relevance

/frameworks/proto_logging/stats/stats_log_api_gen/test_java/src/com/android/test/statslogapigen/
DVendorAtomCodeGenTest.java118 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 …]
/frameworks/proto_logging/stats/stats_log_api_gen/
Dtest_api_gen_vendor.cpp304 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 …]
/frameworks/hardware/interfaces/stats/aidl/test_client/
DAidlStatsClient.cpp93 std::vector<std::optional<AnnotationSet>> valuesAnnotations; in buildVendorAtomWithAnnotations() local
98 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()
/frameworks/native/services/stats/
DStatsAidl.cpp123 if (vendorAtom.valuesAnnotations) { in reportVendorAtom()
124 const std::vector<std::optional<AnnotationSet>>& valuesAnnotations = in reportVendorAtom() local
125 *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()
/frameworks/hardware/interfaces/stats/aidl/aidl_api/android.frameworks.stats/current/android/frameworks/stats/
DVendorAtom.aidl40 @nullable android.frameworks.stats.AnnotationSet[] valuesAnnotations;
/frameworks/hardware/interfaces/stats/aidl/aidl_api/android.frameworks.stats/2/android/frameworks/stats/
DVendorAtom.aidl40 @nullable android.frameworks.stats.AnnotationSet[] valuesAnnotations;
/frameworks/hardware/interfaces/stats/aidl/android/frameworks/stats/
DVendorAtom.aidl87 @nullable AnnotationSet[] valuesAnnotations;