|
我修改了这些配置还是不生效
添加gps.default.so
BoardConfig.mk:
BOARD_HAS_GPS := true
device.mk:
PRODUCT_PACKAGES += \
android.hardware.gnss@2.0 \
android.hardware.gnss@2.0-impl \
android.hardware.gnss@2.0-service \
gps.default
log:
#logcat | grep gnss
455 455 I HidlServiceManagement: Registered android.hardware.gnss@2.0::IGnss/default
455 455 I HidlServiceManagement: Removing namespace from process name android.hardware.gnss@2.0-service to gnss@2.0-service.
296 296 E servicemanager: Could not find android.hardware.gnss.IGnss/default in the VINTF manifest.
297 297 I hwservicemanager: getTransport: Cannot find entry android.hardware.gnss@2.1::IGnss/default in either framework or device VINTF manifest.
639 639 D GnssLocationProviderJni: gnssHal 2.1 was null, trying 2.0
639 639 D GnssLocationProviderJni: gnssSetCapabilitesCb: 1856u
639 639 I GnssManager: gnss capabilities changed to [MEASUREMENTS LOW_POWER_MODE SATELLITE_BLOCKLIST MEASUREMENT_CORRECTIONS]
639 639 D GnssLocationProviderJni: gnssSetSystemInfoCb: yearOfHw=2019
639 639 D GnssLocationProviderJni: gnssNameCb: name=Google Mock GNSS Implementation v2.0
639 639 I GnssManager: gnss capabilities changed to [MEASUREMENTS LOW_POWER_MODE SATELLITE_BLOCKLIST MEASUREMENT_CORRECTIONS LOS_SATS EXCESS_PATH_LENGTH REFLECTING_PLANE]
639 639 I GnssManager: gnss hal initialized
639 639 I GnssManager: gnss hal started
639 639 E GnssLocationProviderJni: android_location_gnss_hal_GnssNative_start_antenna_info_listening: IGnssAntennaInfo interface not available.
639 657 D GnssLocationProviderJni: gnssSetCapabilitesCb: 1856u
639 657 D GnssLocationProviderJni: gnssSetSystemInfoCb: yearOfHw=2019
639 657 D GnssLocationProviderJni: gnssNameCb: name=Google Mock GNSS Implementation v2.0
|
|