• Home
Name Date Size #Lines LOC

..--

AdasLocationTestApp/03-May-2024-418312

BugReportApp/03-May-2024-9,9686,633

CarCtsFakeLauncher/03-May-2024-235139

CarEvsCameraPreviewApp/03-May-2024-866559

CarLibTests/03-May-2024-992731

CarSecurityPermissionTest/03-May-2024-2,1121,478

CarTelemetryApp/03-May-2024-2,8332,295

CarVoiceServiceTriggerApp/03-May-2024-14269

DefaultStorageMonitoringCompanionApp/03-May-2024-329236

DiagnosticTools/03-May-2024-5,1072,404

EmbeddedKitchenSinkApp/03-May-2024-28,24521,527

GarageModeTestApp/03-May-2024-1,9001,371

MultiDisplaySecondaryHomeTestLauncher/03-May-2024-4,0131,915

MultiDisplayTest/03-May-2024-4,3672,321

MultiDisplayTestHelloActivity/03-May-2024-2,128668

NetworkPreferenceApp/03-May-2024-2,0431,431

OccupantAwareness/03-May-2024-672448

OemCarServiceTestApp/03-May-2024-1,5571,106

RailwayReferenceApp/03-May-2024-1,158845

SampleCustomInputService/03-May-2024-1,069725

SampleRearViewCamera/03-May-2024-764467

ThemePlayground/03-May-2024-3,2292,266

UserSwitchMonitorApp/03-May-2024-346226

UxRestrictionsSample/03-May-2024-923669

android_car_api_test/03-May-2024-8,6956,061

carservice_test/03-May-2024-25,00418,936

carservice_unit_test/03-May-2024-87,74365,105

common_utils/03-May-2024-337185

fixed_activity_mode_test/03-May-2024-4535

obd2_app/03-May-2024-889522

obd2_test/03-May-2024-743519

usb/03-May-2024-1,120800

vehiclehal_test/03-May-2024-5,1254,531

OWNERSD03-May-2024120 97

README.mdD03-May-20242 KiB5226

README.md

1<!--
2  Copyright (C) 2021 The Android Open Source Project
3
4  Licensed under the Apache License, Version 2.0 (the "License");
5  you may not use this file except in compliance with the License.
6  You may obtain a copy of the License at
7
8       http://www.apache.org/licenses/LICENSE-2.0
9
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License
15  -->
16
17# Car Services Tests and Test Apps
18
19This directory contains unit tests, instrumentation tests and sample apps.
20
21## Structure
22
23```
24android_car_api_test/        - Car API instrumentation tests, they use the real services
25CarSecurityPermissionTest/   - Car API permission tests
26carservice_test/             - Car API instrumentation tests, mocks VHAL
27carservice_unit_test/        - Car services instrumented unit tests
28common_utils/                - Shared utility library
29
30# The following test directories are located relative to $ANDROID_BUILD_TOP
31cts/hostsidetests/car/                      - Host-driven CTS tests
32cts/tests/tests/car/                        - CTS tests (prefer this over hostsidetests)
33frameworks/hardware/interfaces/automotive/  - Contains `vts/` folders for tests
34hardware/interfaces/automotive/             - Contains `vts/` folders for tests
35test/vts-testcase/hal/automotive/           - Host-side VTS tests
36```
37
38## Where to add tests
39
40Add necessary tests to all the test suits, and also don't forget to add ATS/CTS/VTS. See
41https://source.android.com/compatibility/tests to learn more about CTS/VTS.
42
43Try not to repeat the same test in multiple suits, as it creates unnecessary test maintenance.
44
45Add tests using these priorities:
46
471. CTS/VTS
482. `CarSecurityPermissionTest`
493. `android_car_api_test` - if CTS doesn't cover
504. `carservice_test` - if CTS doesn't cover
515. `carservice_unit_test`
52