Hi,
The CommandsInterface for GSMPhone object instantiated by the PhoneFactory is in "RIL" context.. please see the following code snippet in "PhoneFactory.java"
private static void
useNewRIL(Context context)
{
ModelInterpreter mi = null;
GSMPhone phone;
try {
if (false) {
mi = new ModelInterpreter(new InetSocketAddress("127.0.0.1", 6502));
}
phone = new GSMPhone(context, new RIL(context), sPhoneNotifier);
registerPhone (phone);
} catch (IOException ex) {
Log.e(LOG_TAG, "Error creating ModelInterpreter", ex);
}
}
This would be case for devices where the system property "ro.radio.noril" is not set.
Hope this would help you to trace the call-stack.
Warm Regards,
Anil