• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

RotaryPlayground/23-Nov-2023-2,9681,850

TestMediaApp/23-Nov-2023-4,4533,388

gradle/wrapper/23-Nov-2023-76

.gitD01-Jan-19700

.gitignoreD23-Nov-202357 86

build.gradleD23-Nov-20231.1 KiB4236

gradlewD23-Nov-20235.2 KiB173128

readme.mdD23-Nov-20231.9 KiB6141

settings.gradleD23-Nov-2023645 1816

readme.md

1# Car test apps
2
3This repository is only for car test applications.
4
5## Building
6
7If you are not contributing to the repo, you can clone the repo via `git clone sso://googleplex-android/platform/packages/apps/Car/tests --branch pi-car-dev --single-branch`. Otherwise, see [workstation setup](#workstation-setup).
8
9Install [Android Studio](go/install-android-studio). Then import the `tests` Gradle project into Android Studio.
10
11### TestMediaApp
12
13TestMediaApp should be one of the run configurations. The green Run button should build and install the app on your phone.
14
15To see TestMediaApp in Android Auto Projected:
16
171. Open Android Auto on phone
182. Click hamburger icon at top left -> Settings
193. Scroll to Version at bottom and tap ~10 times to unlock Developer Mode
204. Click kebab icon at top right -> Developer settings
215. Scroll to bottom and enable "Unknown sources"
226. Exit and re-open Android Auto
237. TestMediaApp should now be visible (click headphones icon in phone app to see app picker)
24
25### RotaryPlayground
26
27RotaryPlayground is a test and reference application for the AAOS Rotary framework to use with an external rotary input device.
28
29To buid and install RotaryPlayground into an AAOS device:
30
31```
32$ make RotaryPlayground
33$ adb install -r -g out/target/[path]/system/app/RotaryPlayground/RotaryPlayground.apk
34```
35
36## Contributing
37
38### Workstation setup
39
40Install [repo](https://source.android.com/setup/build/downloading#installing-repo) command line tool. Then run:
41
42```
43sudo apt-get install gitk
44sudo apt-get install git-gui
45mkdir WORKING_DIRECTORY_FOR_GIT_REPO
46cd WORKING_DIRECTORY_FOR_GIT_REPO
47repo init -u persistent-https://googleplex-android.git.corp.google.com/platform/manifest -b pi-car-dev -g name:platform/tools/repohooks,name:platform/packages/apps/Car/tests --depth=1
48repo sync
49```
50
51### Making a change
52
53```
54repo start BRANCH_NAME .
55# Make some changes
56git gui &
57# Use GUI to create a CL. Check amend box to update a work-in-progress CL
58repo upload .
59```
60
61