FileDocCategorySizeDatePackage
LaunchPerformanceBase.javaAPI DocAndroid 1.5 API1626Wed May 06 22:42:02 BST 2009android.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();