MCPcopy Create free account
hub / github.com/cinit/TMoe / JNI_OnLoad

Function JNI_OnLoad

app/src/main/cpp/tmoe_core/TMoeJNI.cpp:15–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13static constexpr auto LOG_TAG = "TMoeJNI";
14
15extern "C" __attribute__((visibility("default")))
16jint JNI_OnLoad(JavaVM *vm, void *reserved) {
17 logging::android::init();
18 JNIEnv *env = nullptr;
19 if (vm->GetEnv((void **) &env, JNI_VERSION_1_6) != JNI_OK) {
20 return JNI_ERR;
21 }
22 LOGD("JNI_OnLoad");
23 return JNI_VERSION_1_6;
24}
25
26/*
27 * Class: cc_ioctl_tmoe_startup_NativeLoader

Callers

nothing calls this directly

Calls 1

initFunction · 0.85

Tested by

no test coverage detected