Project

General

Profile

How does Android call Vendor-RIL?

Added by Gu W 4 months ago

Hi,

I am digging a bit deeper into the Radio Interface Layer Code. Currently I found out that there are 5 functions that can be called from Android on the Vendor-RIL library. (see section Solicited Command Requests on https://web.archive.org/web/20131014055623/http://www.kandroid.org/online-pdk/guide/telephony.html ). However, I cannot find two of those in LineageOS's source code: supports() and onCancel(). All other 3 functions are directly called from the libril library, which is part of Android's RIL module (e.g. see https://github.com/LineageOS/android_hardware_ril/blob/cm-14.1/libril/ril.cpp#L345 ). Those two functions are implemented in Samsung-RIL (e.g. https://git.replicant.us/replicant/hardware_ril_samsung-ril/tree/samsung-ril.c#n1427).
Is there anyone who could point me to the correct direction where those functions might be called?