aosp12/packages/apps/Car/tests/RotaryPlayground
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
res init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
src/com/android/car/rotaryplayground init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Android.bp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
AndroidManifest.xml init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
build.gradle init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
readme.md init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

readme.md

Rotary Playground: Test app for rotary controller

Building

make RotaryPlayground

Installing

adb install out/target/product/[hardware]/system/app/RotaryPlayground/RotaryPlayground.apk

Once installed, launch Rotary Playground in the Launcher, or with this adb command:

adb shell am start -n com.android.car.rotaryplayground/com.android.car.rotaryplayground.RotaryActivity

Tools

goRotary.sh

This script helps you to build, install and run the app.

  • To build
cd $ANDROID_BUILD_TOP
packages/apps/Car/tests/tools/goRotary.sh b

The apks and android.car.jar are in /tmp/rotary by default.

  • To install
packages/apps/Car/tests/tools/goRotary.sh i
  • To run
packages/apps/Car/tests/tools/goRotary.sh r