前言:GPS 的 log 与其他模块不同,正常打开开发者模式很多关键类是不会打印log的,需要手动打开手机权限。
gps.conf
中的参数/system/vendor/etc/gps.conf
Change DEBUG_LEVEL = 5
IZAT_DEBUG_LEVEL = 5
DEBUG_GLOBAL_LOG_LEVEL = 5
3、重启手机 ,抓取 log
adb logcat -v threadtime -b main | tee logcat_main.log
adb logcat -v threadtime -b radio | tee logcat_radio.log