Android Treble Architecture: Part 3 - Changes for Treble[Binder & ServiceManager]
Introduction. We saw in the earlier tutorial an overview of the changes done as part of Project Treble. We also understood how decoupling the Vendor HAL implementation from the core system framework avoids re-working on the HAL. In this tutorial let us start looking at the core differences in detail. During the analysis we will also learn the core components and the major how to do’s for being Treble compliant. Binder Changes. For Treble to work and decouple the HAL’s from the core framework, A lot of changes were done to the existing binder infrastructure. Some of these are. 1. support multiple /dev instances. 2. Support multiple selinux contexts for these owners of the binders dev. The binder.devices parameter is a comma-separated list of strings that specifies the names of the binder device nodes that will be created. Each binder device has its own context manager, and is therefore logically sepa...