MCPcopy Create free account
hub / github.com/Snapchat/Valdi / valueFromJavaCppHandle

Function valueFromJavaCppHandle

valdi_core/src/valdi_core/jni/JavaUtils.cpp:563–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

561 env.SetLongArrayRegion(array, 0, static_cast<jsize>(size), values);
562 }
563 return reinterpret_cast<jobject>(array);
564 });
565
566 return JavaObject(env, std::move(object));
567}
568
569Valdi::Value valueFromJavaByteArray(JavaEnv env, jbyteArray array) {
570 if (array == nullptr) {
571 return Valdi::Value();
572 }
573

Callers 7

toValueFunction · 0.85
getAttributedTextMethod · 0.85
nativePushCppObjectFunction · 0.85
nativeSetImageMethod · 0.85
nativeParseMethod · 0.85

Calls 1

ValueClass · 0.50

Tested by

no test coverage detected