Searched refs:vendorAtom (Results 1 – 9 of 9) sorted by relevance
94 ndk::ScopedAStatus StatsHal::reportVendorAtom(const VendorAtom& vendorAtom) { in reportVendorAtom() argument95 if (vendorAtom.atomId < 100000 || vendorAtom.atomId >= 200000) { in reportVendorAtom()96 ALOGE("Atom ID %ld is not a valid vendor atom ID", (long)vendorAtom.atomId); in reportVendorAtom()101 if (vendorAtom.reverseDomainName.length() > 50) { in reportVendorAtom()103 vendorAtom.reverseDomainName.c_str()); in reportVendorAtom()109 AStatsEvent_setAtomId(event, vendorAtom.atomId); in reportVendorAtom()111 if (vendorAtom.atomAnnotations) { in reportVendorAtom()112 if (!write_atom_annotations(event, *vendorAtom.atomAnnotations)) { in reportVendorAtom()114 ALOGE("Atom ID %ld has incompatible atom level annotation", (long)vendorAtom.atomId); in reportVendorAtom()123 if (vendorAtom.valuesAnnotations) { in reportVendorAtom()[all …]
115 hardware::Return<void> StatsHal::reportVendorAtom(const VendorAtom& vendorAtom) { in reportVendorAtom() argument116 if (vendorAtom.atomId < 100000 || vendorAtom.atomId >= 200000) { in reportVendorAtom()117 ALOGE("Atom ID %ld is not a valid vendor atom ID", (long)vendorAtom.atomId); in reportVendorAtom()120 if (vendorAtom.reverseDomainName.size() > 50) { in reportVendorAtom()122 vendorAtom.reverseDomainName.c_str()); in reportVendorAtom()126 AStatsEvent_setAtomId(event, vendorAtom.atomId); in reportVendorAtom()127 AStatsEvent_writeString(event, vendorAtom.reverseDomainName.c_str()); in reportVendorAtom()128 for (int i = 0; i < (int)vendorAtom.values.size(); i++) { in reportVendorAtom()129 switch (vendorAtom.values[i].getDiscriminator()) { in reportVendorAtom()131 AStatsEvent_writeInt32(event, vendorAtom.values[i].intValue()); in reportVendorAtom()[all …]
84 final TestVendorAtom.TestVendorAtomReported vendorAtom = getVendorAtom(data); in testReportVendorAtomInt() local85 assertThat(vendorAtom.getReverseDomainName()).isEqualTo("com.test.domain"); in testReportVendorAtomInt()86 assertThat(vendorAtom.getIntValue()).isEqualTo(7); in testReportVendorAtomInt()95 final TestVendorAtom.TestVendorAtomReported vendorAtom = getVendorAtom(data); in testReportVendorAtomRepeated() local96 assertThat(vendorAtom.getReverseDomainName()).isEqualTo("com.test.domain"); in testReportVendorAtomRepeated()97 assertThat(vendorAtom.getIntValue()).isEqualTo(7); in testReportVendorAtomRepeated()98 assertThat(vendorAtom.getLongValue()).isEqualTo(70000L); in testReportVendorAtomRepeated()99 assertThat(vendorAtom.getFloatValue()).isEqualTo(8.5f); in testReportVendorAtomRepeated()100 assertThat(vendorAtom.getStringValue()).isEqualTo("testString"); in testReportVendorAtomRepeated()101 assertThat(vendorAtom.getBoolValue()).isEqualTo(true); in testReportVendorAtomRepeated()[all …]
37 oneway void reportVendorAtom(in android.frameworks.stats.VendorAtom vendorAtom); in reportVendorAtom() argument
34 oneway void reportVendorAtom(in VendorAtom vendorAtom); in reportVendorAtom() argument
90 virtual Return<void> reportVendorAtom(const VendorAtom& vendorAtom) override;
110 oneway reportVendorAtom(VendorAtom vendorAtom);