History log of /frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/PerfManualStatusReporter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
263d674d598f77a1f91bdfc73be808efd3446133 18-Dec-2017 Arthur Eubanks <aeubanks@google.com> Add performance test for BroadcastReceiver

This is intended to be the first of multiple performance tests around
ActivityManager.

This also refactors some of the existing performance utils so that a
BenchmarkState which accepts the elapsed time rather than measures it
can be added (ManualBenchmarkState).

This test measures the current time, sends a Broadcast, the target APK
receives it, measures the current time, and sends its measured time
back to the test APK.

Test: m ActivityManagerPerfTestsTestApp ActivityManagerPerfTests
Test: adb install $OUT/data/app/ActivityManagerPerfTestsTestApp/ActivityManagerPerfTestsTestApp.apk
Test: adb install $OUT/data/app/ActivityManagerPerfTests/ActivityManagerPerfTests.apk
Test: adb shell am instrument -w -e class \
com.android.frameworks.perftests.am.tests.BroadcastPerfTest \
com.android.frameworks.perftests.amtests/android.support.test.runner.AndroidJUnitRunner

Bug: 67460485

Change-Id: Ib1606ff60c6a845088bde5bd1a33294765b88b36
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/PerfManualStatusReporter.java