Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nkh-lab/aosp-ncar-vehicle-hal
AOSP VHAL example project
https://github.com/nkh-lab/aosp-ncar-vehicle-hal
android android-automotive aosp vhal
Last synced: 4 days ago
JSON representation
AOSP VHAL example project
- Host: GitHub
- URL: https://github.com/nkh-lab/aosp-ncar-vehicle-hal
- Owner: nkh-lab
- Created: 2022-01-01T22:22:38.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-19T14:14:12.000Z (11 months ago)
- Last Synced: 2023-12-19T17:40:00.553Z (11 months ago)
- Topics: android, android-automotive, aosp, vhal
- Language: C++
- Homepage:
- Size: 57.6 KB
- Stars: 12
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aosp-ncar-vehicle-hal
AOSP VHAL example project
Includes a dummy implementation of support for Google's `SYSTEM` properties [hardware/interfaces/automotive/vehicle/2.0/types.hal](https://android.googlesource.com/platform/hardware/interfaces/+/refs/tags/android-11.0.0_r48/automotive/vehicle/2.0/types.hal) and an example of extending with custom `VENDOR` properties [vendor/nkh-lab/interfaces/automotive/vehicle/1.0/types.hal](1.0/types.hal)
## Simulated VENDOR properties
Google's SYSTEM properties are not handled (only configured) but VENDOR properties are simulated. The values of some of them (e.g. VENDOR_TEST_1S_COUNTER, VENDOR_TEST_500MS_COUNTER) are simulated by timer, the value of others (e.g VENDOR_TEST_SYS_PROP) can be changed by setting the corresponding Android System Property, for example:
```
$ setprop debug.vendor.nkh-lab.VENDOR_TEST_SYS_PROP 6789
```
and value update on CAR API client side, e.g. on [CAR API Hello World](https://github.com/nkh-lab/car-api-hello-world) app:
![](doc/screenshots/CarApiHelloWorld.png)## Related projects
- [NCAR manifest](https://github.com/nkh-lab/aosp-ncar-manifest) - repo manifest project for getting AOSP source tree where given project is part of it
- [NCAR device](https://github.com/nkh-lab/aosp-ncar-device)
- [CAR API Hello World](https://github.com/nkh-lab/car-api-hello-world) - Android CAR API usage example project