Home
last modified time | relevance | path

Searched refs:atoms (Results 1 – 25 of 76) sorted by relevance

1234

/frameworks/proto_logging/stats/
DAndroid.bp93 "atoms.proto",
95 "atoms/adpf/*.proto",
96 "atoms/agif/*.proto",
97 "atoms/aiwallpapers/*.proto",
98 "atoms/art/*.proto",
99 "atoms/bluetooth/*.proto",
100 "atoms/corenetworking/**/*.proto",
101 "atoms/autofill/*.proto",
102 "atoms/credentials/*.proto",
103 "atoms/display/*.proto",
[all …]
/frameworks/proto_logging/stats/stats_log_api_gen/
Dtest_collation.cpp187 Atoms atoms; in TEST_P() local
188 const int errorCount = collate_atoms(mEvent, DEFAULT_MODULE_NAME, &atoms); in TEST_P()
191 EXPECT_EQ(4ul, atoms.signatureInfoMap.size()); in TEST_P()
194 EXPECT_MAP_CONTAINS_SIGNATURE(atoms.signatureInfoMap, JAVA_TYPE_INT); in TEST_P()
197 EXPECT_MAP_CONTAINS_SIGNATURE(atoms.signatureInfoMap, JAVA_TYPE_INT, JAVA_TYPE_INT); in TEST_P()
200 EXPECT_MAP_CONTAINS_SIGNATURE(atoms.signatureInfoMap, in TEST_P()
218 EXPECT_MAP_CONTAINS_SIGNATURE(atoms.signatureInfoMap, JAVA_TYPE_INT_ARRAY); in TEST_P()
220 EXPECT_EQ(5ul, atoms.decls.size()); in TEST_P()
222 AtomDeclSet::const_iterator atomIt = atoms.decls.begin(); in TEST_P()
258 EXPECT_EQ(atoms.decls.end(), atomIt); in TEST_P()
[all …]
Dutils.h54 void build_non_chained_decl_map(const Atoms& atoms,
78 void write_native_atom_constants(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl,
82 void write_native_atom_enums(FILE* out, const Atoms& atoms);
99 void write_java_atom_codes(FILE* out, const Atoms& atoms);
101 void write_java_enum_values(FILE* out, const Atoms& atoms);
103 void write_java_enum_values_vendor(FILE* out, const Atoms& atoms);
Dutils.cpp43 void build_non_chained_decl_map(const Atoms& atoms, in build_non_chained_decl_map() argument
45 for (AtomDeclSet::const_iterator atomIt = atoms.non_chained_decls.begin(); in build_non_chained_decl_map()
46 atomIt != atoms.non_chained_decls.end(); atomIt++) { in build_non_chained_decl_map()
297 void write_native_atom_constants(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl, in write_native_atom_constants() argument
305 build_non_chained_decl_map(atoms, &atom_code_to_non_chained_decl_map); in write_native_atom_constants()
309 for (AtomDeclSet::const_iterator atomIt = atoms.decls.begin(); atomIt != atoms.decls.end(); in write_native_atom_constants()
323 char const* const comma = (i == atoms.decls.size() - 1) ? "" : ","; in write_native_atom_constants()
332 void write_native_atom_enums(FILE* out, const Atoms& atoms) { in write_native_atom_enums() argument
337 for (AtomDeclSet::const_iterator atomIt = atoms.decls.begin(); atomIt != atoms.decls.end(); in write_native_atom_enums()
433 void write_java_atom_codes(FILE* out, const Atoms& atoms) { in write_java_atom_codes() argument
[all …]
Dnative_writer_vendor.cpp140 int write_stats_log_cpp_vendor(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl, in write_stats_log_cpp_vendor() argument
158 int ret = write_native_create_vendor_atom_methods(out, atoms.signatureInfoMap, attributionDecl); in write_stats_log_cpp_vendor()
169 int write_stats_log_header_vendor(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl, in write_stats_log_header_vendor() argument
172 write_native_atom_constants(out, atoms, attributionDecl, "createVendorAtom(", in write_stats_log_header_vendor()
175 for (AtomDeclSet::const_iterator atomIt = atoms.decls.begin(); atomIt != atoms.decls.end(); in write_stats_log_header_vendor()
220 write_native_method_header(out, "VendorAtom createVendorAtom(", atoms.signatureInfoMap, in write_stats_log_header_vendor()
Dmain.cpp276 Atoms atoms; in run() local
283 errorCount = collate_atoms(Atom::descriptor(), moduleName, &atoms); in run()
300 collate_atoms(fileDescriptor->FindMessageTypeByName("Atom"), moduleName, &atoms); in run()
332 out, atoms, attributionDecl, cppNamespace, cppHeaderImport, minApiLevel, in run()
336 out, atoms, attributionDecl, cppNamespace, cppHeaderImport); in run()
355 out, atoms, attributionDecl, cppNamespace, minApiLevel, bootstrap); in run()
358 out, atoms, attributionDecl, cppNamespace); in run()
388 out, atoms, attributionDecl, javaClass, javaPackage, minApiLevel, in run()
396 errorCount = android::stats_log_api_gen::write_stats_log_java_vendor(out, atoms, in run()
417 out, atoms, attributionDecl, minApiLevel, rustHeaderCrate.c_str()); in run()
[all …]
Djava_writer.cpp335 int write_stats_log_java(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl, in write_stats_log_java() argument
351 if (requires_api_needed(atoms.decls)) { in write_stats_log_java()
362 write_java_atom_codes(out, atoms); in write_stats_log_java()
363 write_java_enum_values(out, atoms); in write_stats_log_java()
370 errors += write_java_pushed_methods(out, atoms.signatureInfoMap, attributionDecl, minApiLevel); in write_stats_log_java()
371 errors += write_java_non_chained_methods(out, atoms.nonChainedSignatureInfoMap); in write_stats_log_java()
372 errors += write_java_pulled_methods(out, atoms.pulledAtomsSignatureInfoMap, attributionDecl, in write_stats_log_java()
375 errors += write_java_work_source_methods(out, atoms.signatureInfoMap); in write_stats_log_java()
379 errors += write_java_q_logger_class(out, atoms.signatureInfoMap, attributionDecl); in write_stats_log_java()
387 int write_stats_log_java_vendor(FILE* out, const Atoms& atoms, const string& javaClass, in write_stats_log_java_vendor() argument
[all …]
Dnative_writer.cpp404 int write_stats_log_cpp(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl, in write_stats_log_cpp() argument
423 if (minApiLevel > API_Q && !atoms.pulledAtomsSignatureInfoMap.empty()) { in write_stats_log_cpp()
435 int ret = write_native_stats_write_methods(out, atoms.signatureInfoMap, attributionDecl, in write_stats_log_cpp()
441 write_native_stats_write_non_chained_methods(out, atoms.nonChainedSignatureInfoMap, in write_stats_log_cpp()
443 ret = write_native_build_stats_event_methods(out, atoms.pulledAtomsSignatureInfoMap, in write_stats_log_cpp()
457 int write_stats_log_header(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl, in write_stats_log_header() argument
459 const bool includePull = !atoms.pulledAtomsSignatureInfoMap.empty() && !bootstrap; in write_stats_log_header()
461 write_native_atom_constants(out, atoms, attributionDecl); in write_stats_log_header()
462 write_native_atom_enums(out, atoms); in write_stats_log_header()
481 write_native_method_header(out, "int stats_write(", atoms.signatureInfoMap, attributionDecl); in write_stats_log_header()
[all …]
Drust_writer.h26 int write_stats_log_rust(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl,
29 void write_stats_log_rust_header(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl,
Dnative_writer_vendor.h28 int write_stats_log_cpp_vendor(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl,
31 int write_stats_log_header_vendor(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl,
Djava_writer.h32 int write_stats_log_java(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl,
36 int write_stats_log_java_vendor(FILE* out, const Atoms& atoms, const string& javaClass,
Dnative_writer.h28 int write_stats_log_cpp(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl,
32 int write_stats_log_header(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl,
DCollation.cpp553 Atoms* atoms) { in collate_from_field_descriptor() argument
632 atomType == ATOM_TYPE_PUSHED ? atoms->signatureInfoMap[signature] in collate_from_field_descriptor()
633 : atoms->pulledAtomsSignatureInfoMap[signature]; in collate_from_field_descriptor()
636 atoms->decls.insert(atomDecl); in collate_from_field_descriptor()
643 atoms->nonChainedSignatureInfoMap[nonChainedSignature]; in collate_from_field_descriptor()
646 atoms->non_chained_decls.insert(nonChainedAtomDecl); in collate_from_field_descriptor()
662 int collate_atoms(const Descriptor* descriptor, const string& moduleName, Atoms* atoms) { in collate_atoms() argument
668 errorCount += collate_from_field_descriptor(atomField, moduleName, atoms); in collate_atoms()
675 errorCount += collate_from_field_descriptor(atomField, moduleName, atoms); in collate_atoms()
681 for (SignatureInfoMap::const_iterator it = atoms->signatureInfoMap.begin(); in collate_atoms()
[all …]
Drust_writer.cpp167 static void write_rust_atom_constants(FILE* out, const Atoms& atoms, in write_rust_atom_constants() argument
174 build_non_chained_decl_map(atoms, &atom_code_to_non_chained_decl_map); in write_rust_atom_constants()
176 for (const shared_ptr<AtomDecl>& atomDecl : atoms.decls) { in write_rust_atom_constants()
550 void write_stats_log_rust_header(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl, in write_stats_log_rust_header() argument
575 write_rust_atom_constants(out, atoms, attributionDecl, headerCrate); in write_stats_log_rust_header()
578 int write_stats_log_rust(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl, in write_stats_log_rust() argument
595 out, atoms.decls, attributionDecl, atoms.non_chained_decls, minApiLevel, headerCrate); in write_stats_log_rust()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DPersistAtomsStorage.java1463 PersistAtoms atoms = in loadAtomsFromFile() local
1468 if (!Build.FINGERPRINT.equals(atoms.buildFingerprint)) { in loadAtomsFromFile()
1473 atoms.voiceCallRatUsage = in loadAtomsFromFile()
1474 sanitizeAtoms(atoms.voiceCallRatUsage, VoiceCallRatUsage.class); in loadAtomsFromFile()
1475 atoms.voiceCallSession = in loadAtomsFromFile()
1477 atoms.voiceCallSession, in loadAtomsFromFile()
1480 atoms.incomingSms = sanitizeAtoms(atoms.incomingSms, IncomingSms.class, mMaxNumSms); in loadAtomsFromFile()
1481 atoms.outgoingSms = sanitizeAtoms(atoms.outgoingSms, OutgoingSms.class, mMaxNumSms); in loadAtomsFromFile()
1482 atoms.carrierIdMismatch = in loadAtomsFromFile()
1484 atoms.carrierIdMismatch, in loadAtomsFromFile()
[all …]
/frameworks/base/core/proto/android/server/
Dblobstoremanagerservice.proto23 // of the same name in frameworks/base/cmds/statsd/src/atoms.proto
28 // frameworks/base/cmds/statsd/src/atoms.proto
46 // frameworks/base/cmds/statsd/src/atoms.proto
58 // frameworks/base/cmds/statsd/src/atoms.proto
66 // frameworks/base/cmds/statsd/src/atoms.proto
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DPersistAtomsStorageTest.java4226 PersistAtoms atoms = new PersistAtoms(); in createEmptyTestFile() local
4228 stream.write(PersistAtoms.toByteArray(atoms)); in createEmptyTestFile()
4233 PersistAtoms atoms = new PersistAtoms(); in createTestFile() local
4234 atoms.buildFingerprint = Build.FINGERPRINT; in createTestFile()
4235 atoms.voiceCallRatUsagePullTimestampMillis = lastPullTimeMillis; in createTestFile()
4236 atoms.voiceCallRatUsage = mVoiceCallRatUsages; in createTestFile()
4237 atoms.voiceCallSessionPullTimestampMillis = lastPullTimeMillis; in createTestFile()
4238 atoms.voiceCallSession = mVoiceCallSessions; in createTestFile()
4239 atoms.cellularServiceStatePullTimestampMillis = lastPullTimeMillis; in createTestFile()
4240 atoms.cellularServiceState = mServiceStates; in createTestFile()
[all …]
/frameworks/proto_logging/stats/atoms/placeholder/
Dplaceholder_extension_atoms.proto21 import "frameworks/proto_logging/stats/atoms.proto";
25 // This file contains sample extension atoms for reference.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotifications.proto20 * NotificationList proto from atoms.proto, duplicated here so that it's accessible in the build.
21 * Must be kept in sync with the version in atoms.proto.
/frameworks/proto_logging/stats/express/catalog/
Dstatsd.cfg4 description: "Counting how many atoms were dropped by ReportVendorAtom API"
/frameworks/base/proto/src/
Dcamera.proto25 * CameraStreamProto from atoms.proto, duplicated here so that it's accessible from the
26 * logging code. Must be kept in sync with the definition in atoms.proto.
/frameworks/proto_logging/stats/atoms/dnd/
Ddnd_extension_atoms.proto21 import "frameworks/proto_logging/stats/atoms.proto";
22 import "frameworks/proto_logging/stats/atoms/dnd/dnd_atoms.proto";
/frameworks/proto_logging/stats/atoms/wear/media/
Dwear_media_extension_atoms.proto22 import "frameworks/proto_logging/stats/atoms.proto";
28 // This file contains extension atoms related to wear media session.
/frameworks/base/core/proto/android/internal/
Dbinder_latency.proto23 * RepeatedApiStats proto from atoms.proto, duplicated here so that it's
25 * Must be kept in sync with the version in atoms.proto.
/frameworks/proto_logging/stats/atoms/memorysafety/
Dmemorysafety_extension_atoms.proto19 import "frameworks/proto_logging/stats/atoms.proto";

1234