FileDocCategorySizeDatePackage
LaunchPerformanceBase.javaAPI DocAndroid 5.1 API1445Thu Mar 12 22:22:42 GMT 2015android.test

LaunchPerformanceBase

public class LaunchPerformanceBase extends android.app.Instrumentation
Base class for all launch performance Instrumentation classes.
hide

Fields Summary
public static final String
LOG_TAG
protected android.os.Bundle
mResults
protected android.content.Intent
mIntent
Constructors Summary
public LaunchPerformanceBase()


      
        mResults = new Bundle();
        mIntent = new Intent(Intent.ACTION_MAIN);
        mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        setAutomaticPerformanceSnapshots();
    
Methods Summary
protected voidLaunchApp()
Launches intent, and waits for idle before returning.

hide

        startActivitySync(mIntent);
        waitForIdleSync();