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

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

Completed in 119 milliseconds