RenderScript pRS = RenderScript.create(mCtx);
ScriptC_static_globals s = new ScriptC_static_globals(pRS);
pRS.setMessageHandler(mRsMessage);
Type.Builder typeBuilder = new Type.Builder(pRS, Element.I32(pRS));
Allocation A = Allocation.createTyped(pRS, typeBuilder.setX(1).create());
s.forEach_root(A);
s.invoke_static_globals_test();
pRS.finish();
waitForMessage();
pRS.destroy();