Home
last modified time | relevance | path

Searched refs:attributionDecl (Results 1 – 12 of 12) sorted by relevance

/frameworks/proto_logging/stats/stats_log_api_gen/
Dnative_writer.cpp92 const AtomDecl& attributionDecl, const string& closer) { in write_native_method_signature() argument
98 for (const auto& chainField : attributionDecl.fields) { in write_native_method_signature()
122 const AtomDecl& attributionDecl, const int minApiLevel) { in write_native_method_body() argument
135 const char* uidName = attributionDecl.fields.front().name.c_str(); in write_native_method_body()
136 const char* tagName = attributionDecl.fields.back().name.c_str(); in write_native_method_body()
209 const AtomDecl& attributionDecl, int argIndex) { in write_native_method_call() argument
214 for (const auto& chainField : attributionDecl.fields) { in write_native_method_call()
235 const AtomDecl& attributionDecl, const int minApiLevel, in write_native_stats_write_methods() argument
242 write_native_method_signature(out, "int stats_write(", signature, attributionDecl, " {"); in write_native_stats_write_methods()
322 const char* uidName = attributionDecl.fields.front().name.c_str(); in write_native_stats_write_methods()
[all …]
Djava_writer.cpp26 const AtomDecl& attributionDecl) { in write_java_q_logger_class() argument
36 write_java_methods_q_schema(out, signatureInfoMap, attributionDecl, " "); in write_java_q_logger_class()
117 const AtomDecl& attributionDecl) { in write_method_signature() argument
122 for (const auto& chainField : attributionDecl.fields) { in write_method_signature()
135 const AtomDecl& attributionDecl, const string& indent, in write_method_body() argument
210 const char* uidName = attributionDecl.fields.front().name.c_str(); in write_method_body()
211 const char* tagName = attributionDecl.fields.back().name.c_str(); in write_method_body()
232 const AtomDecl& attributionDecl, const int minApiLevel) { in write_java_pushed_methods() argument
239 write_method_signature(out, signature, attributionDecl); in write_java_pushed_methods()
249 int ret = write_method_body(out, signature, fieldNumberToAtomDeclSet, attributionDecl, in write_java_pushed_methods()
[all …]
Drust_writer.cpp104 const AtomDecl& attributionDecl, in write_rust_method_signature() argument
128 for (int j = 0; j < attributionDecl.fields.size(); j++) { in write_rust_method_signature()
129 const AtomField& chainField = attributionDecl.fields[j]; in write_rust_method_signature()
163 const AtomDecl& attributionDecl, bool isNonChained, in write_rust_usage() argument
166 write_rust_method_signature(out, method_name.c_str(), *atom, attributionDecl, in write_rust_usage()
172 const AtomDecl& attributionDecl, in write_rust_atom_constants() argument
186 attributionDecl, false, headerCrate); in write_rust_atom_constants()
194 attributionDecl, true, headerCrate); in write_rust_atom_constants()
297 const AtomDecl& attributionDecl, in write_rust_method_body() argument
321 const char* uidName = attributionDecl.fields.front().name.c_str(); in write_rust_method_body()
[all …]
Djava_writer_q.cpp57 const AtomDecl& attributionDecl, const string& indent) { in write_java_methods_q_schema() argument
68 for (const auto& chainField : attributionDecl.fields) { in write_java_methods_q_schema()
121 const char* uidName = attributionDecl.fields.front().name.c_str(); in write_java_methods_q_schema()
122 const char* tagName = attributionDecl.fields.back().name.c_str(); in write_java_methods_q_schema()
126 java_type_name(attributionDecl.fields.front().javaType)); in write_java_methods_q_schema()
130 java_type_name(attributionDecl.fields.back().javaType)); in write_java_methods_q_schema()
249 const char* uidName = attributionDecl.fields.front().name.c_str(); in write_java_methods_q_schema()
250 const char* tagName = attributionDecl.fields.back().name.c_str(); in write_java_methods_q_schema()
270 write_java_helpers_for_q_schema_methods(out, attributionDecl, requiredHelpers, indent); in write_java_methods_q_schema()
275 void write_java_helpers_for_q_schema_methods(FILE* out, const AtomDecl& attributionDecl, in write_java_helpers_for_q_schema_methods() argument
[all …]
Dmain.cpp258 AtomDecl attributionDecl; in run() local
260 collate_atom(android::os::statsd::AttributionNode::descriptor(), &attributionDecl, in run()
282 out, atoms, attributionDecl, cppNamespace, cppHeaderImport, minApiLevel, bootstrap); in run()
298 out, atoms, attributionDecl, cppNamespace, minApiLevel, bootstrap); in run()
326 out, atoms, attributionDecl, javaClass, javaPackage, minApiLevel, compileApiLevel, in run()
346 out, atoms, attributionDecl, minApiLevel, rustHeaderCrate.c_str()); in run()
365 out, atoms, attributionDecl, rustHeaderCrate.c_str()); in run()
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,
Djava_writer_q.h35 const AtomDecl& attributionDecl, const string& indent);
37 void write_java_helpers_for_q_schema_methods(FILE* out, const AtomDecl& attributionDecl,
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,
Dutils.cpp194 const shared_ptr<AtomDecl> atom, const AtomDecl& attributionDecl) { in write_cpp_usage() argument
200 for (const auto& chainField : attributionDecl.fields) { in write_cpp_usage()
217 void write_native_atom_constants(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl) { in write_native_atom_constants() argument
234 write_cpp_usage(out, "stats_write", constant, *atomIt, attributionDecl); in write_native_atom_constants()
239 attributionDecl); in write_native_atom_constants()
Djava_writer.h32 int write_stats_log_java(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl,
Dutils.h61 void write_native_atom_constants(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl);
DCollation.cpp411 AtomDecl attributionDecl; in get_non_chained_node() local
413 collate_atom(android::os::statsd::AttributionNode::descriptor(), &attributionDecl, in get_non_chained_node()
423 atomDecl->fields.insert(atomDecl->fields.end(), attributionDecl.fields.begin(), in get_non_chained_node()
424 attributionDecl.fields.end()); in get_non_chained_node()