Home
last modified time | relevance | path

Searched refs:method_name (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/jni/
Dcore_jni_helpers.h40 static inline jmethodID GetMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetMethodIDOrDie() argument
42 jmethodID res = env->GetMethodID(clazz, method_name, method_signature); in GetMethodIDOrDie()
43 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find method %s", method_name); in GetMethodIDOrDie()
54 static inline jmethodID GetStaticMethodIDOrDie(JNIEnv* env, jclass clazz, const char* method_name, in GetStaticMethodIDOrDie() argument
56 jmethodID res = env->GetStaticMethodID(clazz, method_name, method_signature); in GetStaticMethodIDOrDie()
57 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static method %s", method_name); in GetStaticMethodIDOrDie()
/frameworks/base/tools/aapt2/java/
DProguardRules.h58 inline void AddMethod(const UsageLocation& file, const std::string& method_name) { in AddMethod() argument
59 method_set_[method_name].insert(file); in AddMethod()
DProguardRules.cpp82 void AddMethod(size_t line_number, const std::string& method_name) { in AddMethod() argument
83 keep_set_->AddMethod({file_.name, file_.source.WithLine(line_number)}, method_name); in AddMethod()
/frameworks/base/tools/stats_log_api_gen/
Dmain.cpp477 FILE* out, const string& method_name, const string& atom_code_name, in write_cpp_usage() argument
479 fprintf(out, " * Usage: %s(StatsLog.%s", method_name.c_str(), atom_code_name.c_str()); in write_cpp_usage()
502 FILE* out, const string& method_name, const set<vector<java_type_t>>& signatures, in write_cpp_method_header() argument
506 fprintf(out, "int %s(int32_t code ", method_name.c_str()); in write_cpp_method_header()
628 FILE* out, const string& method_name, const string& atom_code_name, in write_java_usage() argument
631 method_name.c_str(), atom_code_name.c_str()); in write_java_usage()
647 FILE* out, const string& method_name, const set<vector<java_type_t>>& signatures, in write_java_method() argument
651 fprintf(out, " public static native int %s(int code", method_name.c_str()); in write_java_method()
775 jni_function_name(const string& method_name, const vector<java_type_t>& signature) in jni_function_name() argument
777 string result("StatsLog_" + method_name); in jni_function_name()
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp163 const char* method_name,
175 const char* method_name, in callJavaMethod() argument
177 jmethodID method = env->GetMethodID(clazz, method_name, signature_); in callJavaMethod()
188 void callSetter(const char* method_name, T value);
190 void callSetter(const char* method_name, T* value, size_t size);
216 void JavaObject::callSetter(const char* method_name, T value) { in callSetter() argument
218 env_, clazz_, object_, method_name, value); in callSetter()
223 const char* method_name, uint8_t* value, size_t size) { in callSetter() argument
228 method_name, in callSetter()