You can get this information using libRIL (Radio Interface Layer). Check the contents of the / hardware / ril / libril directory in android sources. A search in com.android.internal.telephony.RIL will also help you understand how RIL requests work.
source
share