FileDocCategorySizeDatePackage
UT_rstime.javaAPI DocAndroid 5.1 API1310Thu Mar 12 22:22:54 GMT 2015com.android.rs.test_compat

UT_rstime

public class UT_rstime extends UnitTest

Fields Summary
private android.content.res.Resources
mRes
Constructors Summary
protected UT_rstime(RSTestCore rstc, android.content.res.Resources res, android.content.Context ctx)

        super(rstc, "rsTime", ctx);
        mRes = res;
    
Methods Summary
public voidrun()

        RenderScript pRS = RenderScript.create(mCtx);
        ScriptC_rstime s = new ScriptC_rstime(pRS);
        pRS.setMessageHandler(mRsMessage);
        s.setTimeZone("America/Los_Angeles");
        s.invoke_test_rstime(0, 0);
        pRS.finish();
        waitForMessage();
        pRS.destroy();