Skip to content
Commit 433770fa authored by Arthur Eubanks's avatar Arthur Eubanks
Browse files

Add ContentProvider perf tests

Add a stub ContentProvider in ActivityManagerPerfTestsTestApp.
Add two tests for
Context.getContentResolver().acquireContentProviderClient(PKG_NAME),
one when target package is running, one when it isn't.

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.ContentProviderPerfTest \
com.android.frameworks.perftests.amtests/android.support.test.runner.AndroidJUnitRunner

BUG: 67460485

Change-Id: Ia979832436a0d3923f6569bc52d22f17bb612a0e
parent c04c265d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment