Home
last modified time | relevance | path

Searched refs:result (Results 1 – 6 of 6) sorted by relevance

/libnativehelper/tests/
DJniInvocation_test.cpp28 const char* result = JniInvocationGetLibraryWith(nullptr, true, kTestNonNull2); in TEST() local
29 EXPECT_STREQ(result, kTestNonNull2); in TEST()
31 result = JniInvocationGetLibraryWith(kTestNonNull, true, kTestNonNull2); in TEST()
32 EXPECT_STREQ(result, kTestNonNull); in TEST()
34 result = JniInvocationGetLibraryWith(kTestNonNull, true, nullptr); in TEST()
35 EXPECT_STREQ(result, kTestNonNull); in TEST()
37 result = JniInvocationGetLibraryWith(nullptr, true, nullptr); in TEST()
38 EXPECT_STREQ(result, kDefaultJniInvocationLibrary); in TEST()
42 const char* result = JniInvocationGetLibraryWith(nullptr, false, kTestNonNull2); in TEST() local
43 EXPECT_STREQ(result, kDefaultJniInvocationLibrary); in TEST()
[all …]
/libnativehelper/include/nativehelper/
DtoStringArray.h30 ScopedLocalRef<jobjectArray> result(env, jniCreateStringArray(c_env, count)); in toStringArray()
31 if (result == nullptr) { in toStringArray()
39 env->SetObjectArrayElement(result.get(), i, s.get()); in toStringArray()
44 return result.release(); in toStringArray()
/libnativehelper/tests_mts/jni/
Dlibnativehelper_test.cpp22 int result = GetJavaVM()->GetEnv(reinterpret_cast<void**>(&mEnv), JNI_VERSION_1_6); in SetUp() local
23 EXPECT_EQ(JNI_OK, result); in SetUp()
/libnativehelper/
DJNIHelp.c248 int result = (*env)->RegisterNatives(env, clazz, methods, numMethods); in jniRegisterNativeMethods() local
250 if (result == 0) { in jniRegisterNativeMethods()
267 return result; in jniRegisterNativeMethods()
331 jobjectArray result = (*env)->NewObjectArray(env, count, stringClass, NULL); in jniCreateStringArray() local
333 return result; in jniCreateStringArray()
DNOTICE172 result of this License or out of the use or inability to use the
/libnativehelper/include_jni/
Djni.h544 jobject PopLocalFrame(jobject result) in PopLocalFrame()
545 { return functions->PopLocalFrame(this, result); } in PopLocalFrame()
572 jobject result = functions->NewObjectV(this, clazz, methodID, args); in NewObject() local
574 return result; in NewObject()
595 _jtype result; \
598 result = functions->Call##_jname##MethodV(this, obj, methodID, \
601 return result; \
643 _jtype result; \
646 result = functions->CallNonvirtual##_jname##MethodV(this, obj, \
649 return result; \
[all …]