• Home
Name Date Size #Lines LOC

..--

src/com/android/tv/tests/jank/03-May-2024-357195

Android.mkD03-May-2024510 2615

AndroidManifest.xmlD03-May-20241.1 KiB3312

OWNERSD03-May-202438 32

README.mdD03-May-2024809 3225

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```