Android HAL (Hardware Abstraction Layer)培训
Introduction
Android HAL as a hardware specific implementation.
Overview of the Android Platform Architecture
The HAL Development Cycle for Hardware Vendors
Case Study: Interfacing Low-Level C/C++ with High-Level Java
Preparing the Development Environment
Setting up an Android Emulator
Creating a HAL Implementation
Understanding the File Structure of a HAL Interface (C headers, hardware/libhardware, etc.).
HAL vs HIDL (HAL Interface Definition Language)
Coding for HIDL on Android O.
Packaging Code into a Library Module (.so) File
Writing an Application Level Code in the Java API Framework
Calling the Device Hardware from a Java Service
Debugging the HAL Module
Deploying a HAL Module
Updating HAL to New Versions of Android OS
Troubleshooting
Summary and Conclusion