MCPcopy Create free account
hub / github.com/NativeScript/android / InsertClassIntoMissingCache

Method InsertClassIntoMissingCache

test-app/runtime/src/main/cpp/JEnv.cpp:789–795  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

787}
788
789jthrowable JEnv::InsertClassIntoMissingCache(const string &className,const jthrowable &tmp) {
790 auto throwable = reinterpret_cast<jthrowable>(m_env->NewGlobalRef(tmp));
791 s_missingClasses.emplace(className, throwable);
792 m_env->DeleteLocalRef(tmp);
793
794 return throwable;
795}
796
797jobject JEnv::NewDirectByteBuffer(void *address, jlong capacity) {
798 jobject jo = m_env->NewDirectByteBuffer(address, capacity);

Callers

nothing calls this directly

Calls 3

NewGlobalRefMethod · 0.80
emplaceMethod · 0.80
DeleteLocalRefMethod · 0.80

Tested by

no test coverage detected