This repository is only for car test applications. They can be unbundled from Android devices.
git clone -b $BRANCH https://android.googlesource.com/platform/packages/apps/Car/tests
cd tests
f=`git rev-parse --git-dir`/hooks/commit-msg ; mkdir -p $(dirname $f) ; curl -Lo $f https://gerrit-review.googlesource.com/tools/hooks/commit-msg ; chmod +x $f
tests
project by Android Studio and do your magic.TestMediaApp should be one of the run configurations. The green Run button should build and install the app on your phone.
To see TestMediaApp in Android Auto Projected:
RotaryPlayground is a test and reference application for the AAOS Rotary framework to use with an external rotary input device.
Beside building in Android Studio, you can also build and install RotaryPlayground into an AAOS device:
$ make RotaryPlayground
$ adb install -r -g out/target/[path]/system/app/RotaryPlayground/RotaryPlayground.apk
RotaryIME is a sample input method for rotary controllers.
To build and install RotaryIME onto an AAOS device:
$ make RotaryIME
$ adb install -r -g out/target/[path]/system/app/RotaryIME/RotaryIME.apk
Install repo command line tool. Then run:
sudo apt-get install gitk
sudo apt-get install git-gui
mkdir WORKING_DIRECTORY_FOR_GIT_REPO
cd WORKING_DIRECTORY_FOR_GIT_REPO
repo init -u https://android.googlesource.com/platform/manifest -b $BRANCH -g name:platform/tools/repohooks,name:platform/packages/apps/Car/tests --depth=1
repo sync
repo start BRANCH_NAME .
# Make some changes
git gui &
# Use GUI to create a CL. Check amend box to update a work-in-progress CL
repo upload .
# Make some changes
git add .
git commit
git push origin HEAD:refs/for/$BRANCH