Home
last modified time | relevance | path

Searched refs:atomAnnotations (Results 1 – 9 of 9) sorted by relevance

/frameworks/proto_logging/stats/stats_log_api_gen/test_java/src/com/android/test/statslogapigen/
DVendorAtomCodeGenTest.java119 assertThat(atom.atomAnnotations).isNull(); in testCreateVendorAtom1ApiGen()
140 assertThat(atom.atomAnnotations).isNull(); in testCreateVendorAtom3ApiGen()
158 assertThat(atom.atomAnnotations).isNull(); in testCreateVendorAtom6ApiGen()
212 assertThat(atom.atomAnnotations).isNull(); in testCreateVendorAtom4ApiGen()
253 assertThat(atom.atomAnnotations).isNotNull(); in testCreateAtomWithTruncateTimestampApiGen()
254 assertThat(atom.atomAnnotations.length).isEqualTo(1); in testCreateAtomWithTruncateTimestampApiGen()
255 assertThat(atom.atomAnnotations[0].annotationId).isEqualTo(AnnotationId.TRUNCATE_TIMESTAMP); in testCreateAtomWithTruncateTimestampApiGen()
256 assertThat(atom.atomAnnotations[0].value.getBoolValue()).isEqualTo(true); in testCreateAtomWithTruncateTimestampApiGen()
272 assertThat(atom2.atomAnnotations).isNotNull(); in testCreateAtomWithTruncateTimestampApiGen()
273 assertThat(atom2.atomAnnotations.length).isEqualTo(1); in testCreateAtomWithTruncateTimestampApiGen()
[all …]
/frameworks/proto_logging/stats/stats_log_api_gen/
Dtest_api_gen_vendor.cpp123 EXPECT_EQ(atom.atomAnnotations, std::nullopt); in TEST()
138 EXPECT_EQ(atom.atomAnnotations, std::nullopt); in TEST()
185 EXPECT_EQ(atom.atomAnnotations, std::nullopt); in TEST()
216 EXPECT_EQ(atom.atomAnnotations, std::nullopt); in TEST()
257 EXPECT_NE(atom1.atomAnnotations, std::nullopt); in TEST()
258 EXPECT_EQ(atom1.atomAnnotations->size(), static_cast<size_t>(1)); in TEST()
259 EXPECT_NE(atom1.atomAnnotations.value()[0], std::nullopt); in TEST()
260 EXPECT_EQ(atom1.atomAnnotations.value()[0]->annotationId, AnnotationId::TRUNCATE_TIMESTAMP); in TEST()
261 EXPECT_TRUE(atom1.atomAnnotations.value()[0]->value.get<AnnotationValue::boolValue>()); in TEST()
270 EXPECT_NE(atom2.atomAnnotations, std::nullopt); in TEST()
[all …]
Dnative_writer_vendor.cpp251 const AtomDeclSet atomAnnotations = in write_native_create_vendor_atom_methods() local
253 if (atomAnnotations.size()) { in write_native_create_vendor_atom_methods()
255 write_native_annotations_vendor_for_field(out, ATOM_ID_FIELD_NUMBER, atomAnnotations); in write_native_create_vendor_atom_methods()
Djava_writer_vendor.cpp259 const AtomDeclSet atomAnnotations = in write_method_body_vendor() local
261 if (atomAnnotations.size()) { in write_method_body_vendor()
263 write_annotations_vendor_for_field(out, ATOM_ID_FIELD_NUMBER, atomAnnotations); in write_method_body_vendor()
/frameworks/hardware/interfaces/stats/aidl/test_client/
DAidlStatsClient.cpp89 std::vector<std::optional<Annotation>> atomAnnotations; in buildVendorAtomWithAnnotations() local
90 atomAnnotations.push_back(std::make_optional<Annotation>(atomAnnotation)); in buildVendorAtomWithAnnotations()
116 atom.atomAnnotations = in buildVendorAtomWithAnnotations()
117 std::make_optional<std::vector<std::optional<Annotation>>>(atomAnnotations); in buildVendorAtomWithAnnotations()
/frameworks/hardware/interfaces/stats/aidl/aidl_api/android.frameworks.stats/current/android/frameworks/stats/
DVendorAtom.aidl41 @nullable android.frameworks.stats.Annotation[] atomAnnotations;
/frameworks/hardware/interfaces/stats/aidl/aidl_api/android.frameworks.stats/2/android/frameworks/stats/
DVendorAtom.aidl41 @nullable android.frameworks.stats.Annotation[] atomAnnotations;
/frameworks/hardware/interfaces/stats/aidl/android/frameworks/stats/
DVendorAtom.aidl92 @nullable Annotation[] atomAnnotations;
/frameworks/native/services/stats/
DStatsAidl.cpp111 if (vendorAtom.atomAnnotations) { in reportVendorAtom()
112 if (!write_atom_annotations(event, *vendorAtom.atomAnnotations)) { in reportVendorAtom()