Frontier:
In view of the needs of project development, we have been learning the implementation mechanism of the Android video collection and display system at the underlying level since 2014. We have no foundation to crack the Code of these two modules, the main reference Blog is "journey to Android by Luo" and "Deng fanping's in-depth understanding of Android volume I and II". The content recorded by the Blog is mainly the difficulties and doubts encountered when I learned and became familiar with myself, as well as the special design ideas and coding methods in the Android architecture, I am here to share and learn with embedded developers. In view of my weak Java basic knowledge, I am mainly familiar with C ++-based Native-related content (in fact, C ++ is also a weakness of my own), which has many references, I hereby declare that there is no infringement, only for the purpose of learning together and making progress together.
Android source code Version: 4.2.2; hardware platform A31
1. Develop basic tools and C ++ knowledge required for Android Framework
2. Importance of Android Binder driver in Framework
3. SP, RefBase, weakref_impl, and Thread classes in Android FrameWork
4. Android4.2.2 SurfaceFlinger Startup Process (1)
5. Android4.2.2 SurfaceFlinger Startup Process (2)
6. Learning about HAL-related library search mechanisms and principles in Android
7. Android4.2.2 related events and message processing mechanisms of SurfaceFlinger
8. Understand the creation of SurfaceFlinger client from Android Bootanimation
9. Android4.2.2 SurfaceFlinger Layer creation process
10.Android4.2.2 creation of Layer and Bufferqueue of SurfaceFlinger
11. Android4.2.2 apply for and allocate dequeueBuffer in the graphic cache area of SurfaceFlinger