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

Method getViewNodeDebugDescription

valdi/src/valdi/android/NativeBridge.cpp:1426–1435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1424 return;
1425 }
1426 wrapper->applicationIsInLowMemory();
1427}
1428
1429jstring ValdiAndroid::NativeBridge::getViewNodeDebugDescription( // NOLINT
1430 fbjni::alias_ref<fbjni::JClass> /* clazz */, // NOLINT
1431 jlong viewNodeHandle) {
1432 auto viewNode = getViewNode(viewNodeHandle);
1433 if (viewNode == nullptr) {
1434 return nullptr;
1435 }
1436 return reinterpret_cast<jstring>(
1437 ValdiAndroid::toJavaObject(ValdiAndroid::JavaEnv(), viewNode->toXML()).releaseObject());
1438}

Callers

nothing calls this directly

Calls 5

getViewNodeFunction · 0.85
toJavaObjectFunction · 0.85
releaseObjectMethod · 0.65
JavaEnvClass · 0.50
toXMLMethod · 0.45

Tested by

no test coverage detected