We use goldfish lights as an example to perform the calling sequence analysis from an application to the goldfish HAL. Now we can look at the kernel layer and the underlying hardware. We can also take an overview from the top to the bottom again to understand how the entire system works.
We use the preceding figure to explain goldfish kernel and hardware in detail. As you can see, the preceding figure is similar to the architecture diagram that we saw in Chapter 1, Introduction to Android System Programming. This architecture diagram is the general architecture diagram for Android, but the preceding figure is specific to goldfish.
From the diagram, we can see the parts that we are interested in the goldfish kernel and emulator hardware. From the top to the bottom, the application utilizes the Android framework to implement functionalities and access...