Skip to content

Most visited

Recently visited

navigation

android.support.test.rule.logging

Classes

AtraceLogger Class contains helper methods to dump atrace info asynchronously while running the test case  
EnableTestTracingRule When applied to a test class this TestRule calls Trace.beginSection() before test method execution. 
LogBatteryInformationRule When applied to a test class this Rule resets battery information ("stats") before test method execution. 
LogDeviceGetPropInfoRule When applied to a test class this Rule executes the "getprop" device command after test method execution and logs it to a file on external storage. 
LoggingBaseRule Base class for logging rules to remove boiler-plate instance variables used by most logging rules. 
LogGraphicsStatsRule When applied to a test class this Rule performs a graphics system information reset before test method execution. 
LogLogcatRule When applied to a test class this Rule attempts to clear the Logcat buffer on the device before test method execution. 
LogNetStatsRule When applied to a test class this Rule performs a network system information reset before test method execution. 
RuleLoggingUtils Convenience methods to ensure logging rules perform certain actions in the same manner. 
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.