/frameworks/base/tools/stats_log_api_gen/ |
D | native_writer.cpp | 36 const AtomDecl& attributionDecl, const string& moduleName, const bool supportQ) { in write_native_stats_write_methods() argument 46 attributionDecl, " {"); in write_native_stats_write_methods() 56 const char* uidName = attributionDecl.fields.front().name.c_str(); in write_native_stats_write_methods() 57 const char* tagName = attributionDecl.fields.back().name.c_str(); in write_native_stats_write_methods() 102 const char* uidName = attributionDecl.fields.front().name.c_str(); in write_native_stats_write_methods() 103 const char* tagName = attributionDecl.fields.back().name.c_str(); in write_native_stats_write_methods() 164 const AtomDecl& attributionDecl, const string& moduleName) { in write_native_stats_write_non_chained_methods() argument 174 attributionDecl, " {"); in write_native_stats_write_non_chained_methods() 187 const char* uidName = attributionDecl.fields.front().name.c_str(); in write_native_stats_write_non_chained_methods() 188 const char* tagName = attributionDecl.fields.back().name.c_str(); in write_native_stats_write_non_chained_methods() [all …]
|
D | native_writer_q.cpp | 24 const AtomDecl& attributionDecl, const string& indent, const string& tryMethodName) { in write_native_stats_write_body_q() argument 29 write_native_method_call(out, tryMethodName, signature, attributionDecl); in write_native_stats_write_body_q() 86 const AtomDecl& attributionDecl, const string& moduleName) { in write_native_try_stats_write_methods_q() argument 96 attributionDecl, " {"); in write_native_try_stats_write_methods_q() 106 for (const auto &chainField : attributionDecl.fields) { in write_native_try_stats_write_methods_q() 109 attributionDecl.fields.front().name.c_str(), chainField.name.c_str()); in write_native_try_stats_write_methods_q() 116 attributionDecl.fields.front().name.c_str()); in write_native_try_stats_write_methods_q() 118 for (const auto &chainField : attributionDecl.fields) { in write_native_try_stats_write_methods_q() 190 const AtomDecl& attributionDecl, const string& moduleName, const string& tryMethodName) { in write_native_stats_write_methods_q() argument 199 write_native_method_signature(out, methodName, signature, attributionDecl, " {"); in write_native_stats_write_methods_q() [all …]
|
D | java_writer_q.cpp | 55 const AtomDecl &attributionDecl, in write_java_methods_q_schema() argument 73 for (auto chainField : attributionDecl.fields) { in write_java_methods_q_schema() 130 const char* uidName = attributionDecl.fields.front().name.c_str(); in write_java_methods_q_schema() 131 const char* tagName = attributionDecl.fields.back().name.c_str(); in write_java_methods_q_schema() 135 java_type_name(attributionDecl.fields.front().javaType)); in write_java_methods_q_schema() 139 java_type_name(attributionDecl.fields.back().javaType)); in write_java_methods_q_schema() 248 const char* uidName = attributionDecl.fields.front().name.c_str(); in write_java_methods_q_schema() 249 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() 277 const AtomDecl &attributionDecl, in write_java_helpers_for_q_schema_methods() argument [all …]
|
D | main.cpp | 143 jni_function_signature(const vector<java_type_t>& signature, const AtomDecl &attributionDecl) in jni_function_signature() argument 149 for (auto chainField : attributionDecl.fields) { in jni_function_signature() 208 const AtomDecl &attributionDecl) { in write_stats_log_jni_method() argument 222 for (auto chainField : attributionDecl.fields) { in write_stats_log_jni_method() 285 for (auto chainField : attributionDecl.fields) { in write_stats_log_jni_method() 288 if (chainField.name != attributionDecl.fields.front().name) { in write_stats_log_jni_method() 291 attributionDecl.fields.front().name.c_str()); in write_stats_log_jni_method() 345 for (auto chainField : attributionDecl.fields) { in write_stats_log_jni_method() 385 for (auto chainField : attributionDecl.fields) { in write_stats_log_jni_method() 412 const AtomDecl &attributionDecl) { in write_jni_registration() argument [all …]
|
D | java_writer.cpp | 27 const AtomDecl &attributionDecl, in write_java_q_logger_class() argument 40 out, signatures_to_modules, attributionDecl, moduleName, " "); in write_java_q_logger_class() 50 const AtomDecl &attributionDecl, in write_java_methods() argument 71 for (auto chainField : attributionDecl.fields) { in write_java_methods() 128 const char* uidName = attributionDecl.fields.front().name.c_str(); in write_java_methods() 129 const char* tagName = attributionDecl.fields.back().name.c_str(); in write_java_methods() 231 const char* uidName = attributionDecl.fields.front().name.c_str(); in write_java_methods() 232 const char* tagName = attributionDecl.fields.back().name.c_str(); in write_java_methods() 254 int write_stats_log_java(FILE* out, const Atoms& atoms, const AtomDecl &attributionDecl, in write_stats_log_java() argument 290 out, atoms.signatures_to_modules, attributionDecl, moduleName, supportQ); in write_stats_log_java() [all …]
|
D | java_writer_q.h | 38 const AtomDecl &attributionDecl, 44 const AtomDecl &attributionDecl, 49 const AtomDecl &attributionDecl, const string& moduleName, const string& javaClass, 53 int write_stats_log_java_q(FILE* out, const Atoms& atoms, const AtomDecl &attributionDecl,
|
D | native_writer_q.h | 34 const AtomDecl& attributionDecl, const string& moduleName); 37 const AtomDecl& attributionDecl, const string& moduleName, const string& tryMethodName); 40 const AtomDecl& attributionDecl, const string& moduleName); 43 const Atoms& atoms, const AtomDecl& attributionDecl, const string& moduleName,
|
D | utils.h | 58 void write_native_atom_constants(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl, 62 const vector<java_type_t>& signature, const AtomDecl& attributionDecl, 66 const vector<java_type_t>& signature, const AtomDecl& attributionDecl, int argIndex = 1);
|
D | utils.cpp | 134 const AtomDecl& atom, const AtomDecl &attributionDecl) { in write_cpp_usage() argument 141 for (auto chainField : attributionDecl.fields) { in write_cpp_usage() 168 void write_native_atom_constants(FILE* out, const Atoms& atoms, const AtomDecl& attributionDecl, in write_native_atom_constants() argument 190 write_cpp_usage(out, "stats_write", constant, *atom, attributionDecl); in write_native_atom_constants() 195 attributionDecl); in write_native_atom_constants() 208 const vector<java_type_t>& signature, const AtomDecl& attributionDecl, in write_native_method_signature() argument 215 for (auto chainField : attributionDecl.fields) { in write_native_method_signature() 241 const vector<java_type_t>& signature, const AtomDecl& attributionDecl, int argIndex) { in write_native_method_call() argument 246 for (auto chainField : attributionDecl.fields) { in write_native_method_call()
|
D | native_writer.h | 29 int write_stats_log_cpp(FILE *out, const Atoms &atoms, const AtomDecl &attributionDecl, 33 int write_stats_log_header(FILE* out, const Atoms& atoms, const AtomDecl &attributionDecl,
|
D | java_writer.h | 33 int write_stats_log_java(FILE* out, const Atoms& atoms, const AtomDecl &attributionDecl,
|
D | Collation.cpp | 340 AtomDecl attributionDecl; in get_non_chained_node() local 343 &attributionDecl, &attributionSignature); in get_non_chained_node() 354 attributionDecl.fields.begin(), attributionDecl.fields.end()); in get_non_chained_node()
|