Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
src/com/android/tv/tests/jank/ | 03-May-2024 | - | 357 | 195 | ||
Android.mk | D | 03-May-2024 | 510 | 26 | 15 | |
AndroidManifest.xml | D | 03-May-2024 | 1.1 KiB | 33 | 12 | |
OWNERS | D | 03-May-2024 | 38 | 3 | 2 | |
README.md | D | 03-May-2024 | 809 | 32 | 25 |
README.md
1# Jank tests for Live Channels 2 3 4## AOSP instructions 5 6To run the jank tests 7 8```bash 9echo "Compiling" 10m -j LiveTv TVTestInput TVJankTests 11echo "Installing" 12adb install -r ${OUT}/system/priv-app/LiveTv/LiveTv.apk 13adb install -r ${OUT}/system/app/TVTestInput/TVTestInput.apk 14adb install -r ${OUT}/testcases/TVJankTests/TVJankTests.apk 15echo "Setting up test input" 16adb shell am instrument \ 17 -e testSetupMode jank \ 18 -w com.android.tv.testinput/.instrument.TestSetupInstrumentation 19echo "Running the test" 20adb shell am instrument \ 21 -w com.android.tv.tests.jank/android.support.test.runner.AndroidJUnitRunner 22 23``` 24 25If it is your first time installing LiveTv you will need to do 26 27```bash 28adb root 29adb remount 30adb push ${OUT}/system/priv-app/LiveTv/LiveTv.apk /system/priv-app/LiveTv/LiveTv.apk 31adb reboot 32```