ab6ec61251786bf6b4d0407db3bc28aeefcb55db |
|
23-Feb-2018 |
Anton Hansson <hansson@google.com> |
frameworks/base: Set LOCAL_SDK_VERSION where possible. This change sets LOCAL_SDK_VERSION for all packages where this is possible without breaking the build, and LOCAL_PRIVATE_PLATFORM_APIS := true otherwise. Setting one of these two will be made required soon, and this is a change in preparation for that. Not setting LOCAL_SDK_VERSION makes the app implicitly depend on the bootclasspath, which is often not required. This change effectively makes depending on private apis opt-in rather than opt-out. Test: make relevant packages Bug: 73535841 Change-Id: I4233b9091d9066c4fa69f3d24aaf367ea500f760
/frameworks/base/tests/ActivityManagerPerfTests/test-app/Android.mk
|
24165609aaf7db5fb638408d881f9eeb7a23ad2d |
|
16-Feb-2018 |
Arthur Eubanks <aeubanks@google.com> |
Add LOCAL_MIN_SDK_VERSION to run on older builds Test: make and run ActivityManagerPerfTests and ActivityManagerPerfTestsTestApp Change-Id: I38fff6b976b6b450df16238a9fa3f103edcd0c19
/frameworks/base/tests/ActivityManagerPerfTests/test-app/Android.mk
|
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/tests/ActivityManagerPerfTests/test-app/Android.mk
|