unplugged-system/packages/services/Car/tests
2025-10-06 13:59:42 +00:00
..
AdasLocationTestApp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
android_car_api_test Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
BugReportApp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
CarCtsFakeLauncher Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
CarEvsCameraPreviewApp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
CarLibTests Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
CarSecurityPermissionTest Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
carservice_test Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
carservice_unit_test Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
CarTelemetryApp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
CarTestDpc Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
CarVoiceServiceTriggerApp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
common_utils Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
ConcurrentHotwordDetector Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
ConcurrentHotwordDetectorOne Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
DefaultStorageMonitoringCompanionApp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
DiagnosticTools Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
EmbeddedKitchenSinkApp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
fixed_activity_mode_test Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
GarageModeTestApp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
MultiDisplaySecondaryHomeTestLauncher Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
MultiDisplayTest Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
MultiDisplayTestHelloActivity Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
NetworkPreferenceApp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
obd2_app Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
obd2_test Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OccupantAwareness Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OemCarServiceTestApp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
RailwayReferenceApp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
SampleCustomInputService Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
SampleRearViewCamera Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
ThemePlayground Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
usb Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
UserSwitchMonitorApp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
UxRestrictionsSample Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
vehiclehal_test Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
README.md Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00

Car Services Tests and Test Apps

This directory contains unit tests, instrumentation tests and sample apps.

Structure

android_car_api_test/        - Car API instrumentation tests, they use the real services
CarSecurityPermissionTest/   - Car API permission tests
carservice_test/             - Car API instrumentation tests, mocks VHAL
carservice_unit_test/        - Car services instrumented unit tests
common_utils/                - Shared utility library

# The following test directories are located relative to $ANDROID_BUILD_TOP
cts/hostsidetests/car/                      - Host-driven CTS tests
cts/tests/tests/car/                        - CTS tests (prefer this over hostsidetests)
frameworks/hardware/interfaces/automotive/  - Contains `vts/` folders for tests
hardware/interfaces/automotive/             - Contains `vts/` folders for tests
test/vts-testcase/hal/automotive/           - Host-side VTS tests

Where to add tests

Add necessary tests to all the test suits, and also don't forget to add ATS/CTS/VTS. See https://source.android.com/compatibility/tests to learn more about CTS/VTS.

Try not to repeat the same test in multiple suits, as it creates unnecessary test maintenance.

Add tests using these priorities:

  1. CTS/VTS
  2. CarSecurityPermissionTest
  3. android_car_api_test - if CTS doesn't cover
  4. carservice_test - if CTS doesn't cover
  5. carservice_unit_test