MCPcopy Create free account
hub / github.com/Snapchat/Valdi / operator()

Method operator()

valdi_core/src/valdi_core/jni/JavaRunnable.cpp:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15JavaRunnable::~JavaRunnable() = default;
16
17void JavaRunnable::operator()() {
18 auto& jniCache = JavaEnv::getCache();
19 jniCache.getValdiFunctionNativePerformRunnableFromNativeMethod().call(
20 jniCache.getValdiFunctionNativeClass().getClass(), RunnableType(getEnv(), get()));
21}
22
23} // namespace ValdiAndroid

Callers

nothing calls this directly

Calls 4

callMethod · 0.65
getEnvFunction · 0.50
getFunction · 0.50
getClassMethod · 0.45

Tested by

no test coverage detected