The start up of Amazon is in the system server process.
We discuss the system server start up already.
Right?
Let's start our code analysis from system server and find out how the AMS started and what process or
threads or objects are initialized during this process.
Within System Server AMS is started from the START Bootstrap Services method within the START Bootstrap
Services method.
Here we create the instance of activity manager service.
So as you can see that the entry point of AMS is the activity manager service lifecycle class.
The class lifecycle is an internal class of activity manager service class and it extends the system
service.
As we can see in the Lifecycle constructor, it creates an instance of activity manager service and
then in the on start it calls the service dot start.
It calls the start method of activity manager service to start the AIMS service.