分类: LINUX
2011-11-10 11:27:32
要调试 RIL,最好的方法就是打开 radio的log:
$ adb logcat -b radio
最好加上 log语法亮度工具 coloredlogcat.py ,一些常见的LOG TAG要明白,他们是:
RIL: /hardware/ril/reference-ril/refereince-ril.c
AT: /hardware/ril/reference-ril/atchannel.c
RILD: /hardware/ril/rild/rild.c
RILC: /hardware/ril/libril/ril.cpp
RILB frameworks/base/telephony/java/com/android/internal/telephony/BaseCommands.java
RILJ: /frameworks/base/telephony/java/com/android/internal/telephony/gsm/RIL.java
GSM: /frameworks/base/telephony/java/com/android/internal/telephony/gsm/GSMPhone.java
原文地址:http://blog.csdn.net/zwj0403/article/details/6149257