Home
last modified time | relevance | path

Searched refs:name (Results 1 – 14 of 14) sorted by relevance

/libnativehelper/include_platform_header_only/nativehelper/
Djni_macros.h152 #define MAKE_JNI_NATIVE_METHOD(name, signature, function) \ argument
153 _NATIVEHELPER_JNI_MAKE_METHOD(kNormalNative, name, signature, function)
158 #define MAKE_JNI_FAST_NATIVE_METHOD(name, signature, function) \ argument
159 _NATIVEHELPER_JNI_MAKE_METHOD(kFastNative, name, signature, function)
164 #define MAKE_JNI_CRITICAL_NATIVE_METHOD(name, signature, function) \ argument
165 _NATIVEHELPER_JNI_MAKE_METHOD(kCriticalNative, name, signature, function)
175 #define MAKE_JNI_NATIVE_METHOD_AUTOSIG(name, function) \ argument
176 _NATIVEHELPER_JNI_MAKE_METHOD_AUTOSIG(kNormalNative, name, function)
183 #define MAKE_JNI_FAST_NATIVE_METHOD_AUTOSIG(name, function) \ argument
184 _NATIVEHELPER_JNI_MAKE_METHOD_AUTOSIG(kFastNative, name, function)
[all …]
/libnativehelper/
DTEST_MAPPING4 "name": "libnativehelper_tests"
7 "name": "libnativehelper_lazy_tests"
10 "name": "MtsLibnativehelperTestCases"
13 "name": "MtsLibnativehelperLazyTestCases"
16 "name": "CtsLibnativehelperTestCases"
DJniConstants.c90 const char* name, const char* signature, bool isStatic) { in FindMethod() argument
93 method = (*env)->GetStaticMethodID(env, cls, name, signature); in FindMethod()
95 method = (*env)->GetMethodID(env, cls, name, signature); in FindMethod()
97 ALOG_ALWAYS_FATAL_IF(method == NULL, "Method not found: %s:%s", name, signature); in FindMethod()
102 const char* name, const char* signature, bool isStatic) { in FindField() argument
105 field = (*env)->GetStaticFieldID(env, cls, name, signature); in FindField()
107 field = (*env)->GetFieldID(env, cls, name, signature); in FindField()
109 ALOG_ALWAYS_FATAL_IF(field == NULL, "Field not found: %s:%s", name, signature); in FindField()
124 #define JMETHODID_INITIALIZE(cls, method, name, signature, isStatic) \ in InitializeConstants() argument
126 FindMethod(g_init_env, CLASS_NAME(cls), name, signature, isStatic); in InitializeConstants()
Dlibnativehelper_lazy.c95 static void BindSymbol(void* handle, const char* name, enum MethodIndex index) { in BindSymbol() argument
96 void* symbol = dlsym(handle, name); in BindSymbol()
98 "Failed to find symbol '%s' in libnativehelper.so: %s", name, dlerror()); in BindSymbol()
107 #define BIND_SYMBOL(name) BindSymbol(handle, #name, k_ ## name); in InitializeOnce() argument
146 #define INVOKE_METHOD(name, method_type, args...) \ argument
149 void* method = g_Methods[k_ ## name]; \
153 #define INVOKE_VOID_METHOD(name, method_type, args...) \ argument
156 void* method = g_Methods[k_ ## name]; \
DAndroid.bp22 name: "libnativehelper_license",
33 name: "libnativehelper_defaults",
42 name: "jni_headers",
68 name: "libnativehelper_header_only",
85 name: "jni_platform_headers",
102 name: "libnativehelper",
139 name: "libnativehelper_lazy",
166 name: "libnativehelper_compat_libc++",
217 // name: "ndk_jni.h",
225 // name: "libnativehelper_ndk_headers",
[all …]
DREADME.md85 stable. The name of this library is a misnomer since it contains no
DNOTICE58 separable from, or merely link (or bind by name) to the interfaces of,
/libnativehelper/tests/jni_gtest/
DAndroid.bp11 name: "jni_gtest_headers",
17 name: "jni_gtest_defaults",
/libnativehelper/tests/
DAndroid.bp12 name: "libnativehelper_test_defaults",
62 name: "libnativehelper_tests",
76 name: "libnativehelper_lazy_tests",
92 name: "libnativehelper_internal_tests",
DJniSafeRegisterNativeMethods_test.cpp292 #define DEC_TEST_FN_IMPL(name, ret_t, ...) \ argument
293 static ret_t name (__VA_ARGS__) { return TestReturnAnything{}; }
295 #define DEC_TEST_FN(name, correct, ret_t, ...) \ argument
296 DEC_TEST_FN_IMPL(normal_ ## name, ret_t, JNIEnv*, jobject, __VA_ARGS__) \
297 DEC_TEST_FN_IMPL(normal2_ ## name, ret_t, JNIEnv*, jclass, __VA_ARGS__) \
298 DEC_TEST_FN_IMPL(critical_ ## name, ret_t, __VA_ARGS__)
300 #define DEC_TEST_FN0(name, correct, ret_t) \ argument
301 DEC_TEST_FN_IMPL(normal_ ## name, ret_t, JNIEnv*, jobject) \
302 DEC_TEST_FN_IMPL(normal2_ ## name, ret_t, JNIEnv*, jclass) \
303 DEC_TEST_FN_IMPL(critical_ ## name, ret_t)
[all …]
/libnativehelper/tests_mts/jni/
DAndroid.bp24 name: "libnativehelper_jni_defaults",
47 name: "libnativehelper_mts_jni",
53 name: "libnativehelper_lazy_mts_jni",
/libnativehelper/tests_mts/
DAndroid.bp24 name: "mts_libnativehelper_defaults",
43 name: "MtsLibnativehelperTestCases",
61 name: "MtsLibnativehelperLazyTestCases",
/libnativehelper/include_jni/
Djni.h129 const char* name; member
498 jclass DefineClass(const char *name, jobject loader, const jbyte* buf, in DefineClass()
500 { return functions->DefineClass(this, name, loader, buf, bufLen); } in DefineClass()
502 jclass FindClass(const char* name) in FindClass()
503 { return functions->FindClass(this, name); } in FindClass()
589 jmethodID GetMethodID(jclass clazz, const char* name, const char* sig) in GetMethodID()
590 { return functions->GetMethodID(this, clazz, name, sig); } in GetMethodID()
692 jfieldID GetFieldID(jclass clazz, const char* name, const char* sig) in GetFieldID()
693 { return functions->GetFieldID(this, clazz, name, sig); } in GetFieldID()
733 jmethodID GetStaticMethodID(jclass clazz, const char* name, const char* sig) in GetStaticMethodID()
[all …]
/libnativehelper/include_platform_header_only/nativehelper/detail/
Dsignature_checker.h1420 const_cast<decltype(JNINativeMethod::name)>(name_), \
1431 const_cast<decltype(JNINativeMethod::name)>(name_), \