• Home
Name Date Size #Lines LOC

..--

AdasLocationTestApp/06-Sep-2024-418312

BugReportApp/06-Sep-2024-11,7408,088

CarCtsFakeLauncher/06-Sep-2024-236140

CarEvsCameraPreviewApp/06-Sep-2024-942599

CarEvsMultiCameraPreviewApp/06-Sep-2024-1,4901,022

CarFrameworkPackageStubsTest/06-Sep-2024-378255

CarLibTests/06-Sep-2024-637462

CarLibUnitTest/06-Sep-2024-9,4277,282

CarTelemetryApp/06-Sep-2024-2,8362,298

CarTestDpc/06-Sep-2024-1,457984

CarVoiceServiceTriggerApp/06-Sep-2024-13765

ConcurrentHotwordDetector/06-Sep-2024-369295

ConcurrentHotwordDetectorOne/06-Sep-2024-11061

CustomizationTool/06-Sep-2024-6,2393,434

DefaultStorageMonitoringCompanionApp/06-Sep-2024-329236

DiagnosticTools/06-Sep-2024-5,1062,403

EmbeddedKitchenSinkApp/06-Sep-2024-44,48033,656

GarageModeTestApp/06-Sep-2024-1,8981,367

KitchenSinkServerlessRemoteTaskClientRRO/06-Sep-2024-8951

LaunchOnPrivateDisplayTestApp/06-Sep-2024-359178

MultiDisplaySecondaryHomeTestLauncher/06-Sep-2024-4,4702,282

MultiDisplayTest/06-Sep-2024-5,9263,480

MultiDisplayTestHelloActivity/06-Sep-2024-2,129669

NetworkPreferenceApp/06-Sep-2024-2,0491,436

OccupantAwareness/06-Sep-2024-226140

OemCarServiceTestApp/06-Sep-2024-2,8032,100

RailwayReferenceApp/06-Sep-2024-1,155842

SampleCustomInputService/06-Sep-2024-1,154795

SampleRearViewCamera/06-Sep-2024-764467

SampleVoiceAssistInputService/06-Sep-2024-542345

ThemePlayground/06-Sep-2024-3,2382,270

UserSwitchMonitorApp/06-Sep-2024-565412

UxRestrictionsSample/06-Sep-2024-991729

VendorServiceReferenceApp/06-Sep-2024-258138

android_car_api_test/06-Sep-2024-13,5779,523

carservice_test/06-Sep-2024-30,86523,934

carservice_unit_test/06-Sep-2024-145,951111,573

common_utils/06-Sep-2024-408259

fixed_activity_mode_test/06-Sep-2024-4535

obd2_app/06-Sep-2024-889522

obd2_test/06-Sep-2024-762516

usb/06-Sep-2024-1,165835

vehiclehal_test/06-Sep-2024-4,6724,202

README.mdD06-Sep-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