gps: Enable Pps function

Bug: 346665757
Test: b/346665757#comment7 boot-health-check-extra.
Test: Function verification at b/346665757#comment8.
Change-Id: I145d2019f7eb18ecbbfd87ce638932729a1d9b31
This commit is contained in:
Cheng Chang 2024-06-11 10:22:18 +00:00
parent 7a6b559fa5
commit a253fb00af
15 changed files with 20 additions and 10 deletions

View file

@ -278,6 +278,8 @@ PRODUCT_SOONG_NAMESPACES += \
PRODUCT_SOONG_NAMESPACES += device/google/caimito/location/caiman PRODUCT_SOONG_NAMESPACES += device/google/caimito/location/caiman
$(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT)) $(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT))
PRODUCT_PACKAGES += gps.cfg PRODUCT_PACKAGES += gps.cfg
# For GPS property
PRODUCT_VENDOR_PROPERTIES += ro.vendor.gps.pps.enabled=true
# Display LBE # Display LBE
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1

View file

@ -293,6 +293,8 @@ PRODUCT_SOONG_NAMESPACES += \
PRODUCT_SOONG_NAMESPACES += device/google/caimito/location/komodo PRODUCT_SOONG_NAMESPACES += device/google/caimito/location/komodo
$(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT)) $(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT))
PRODUCT_PACKAGES += gps.cfg PRODUCT_PACKAGES += gps.cfg
# For GPS property
PRODUCT_VENDOR_PROPERTIES += ro.vendor.gps.pps.enabled=true
# Display LBE # Display LBE
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1

View file

@ -220,6 +220,8 @@ PRODUCT_SOONG_NAMESPACES += vendor/google_devices/caimito/prebuilts
PRODUCT_SOONG_NAMESPACES += device/google/caimito/location/ripcurrent24 PRODUCT_SOONG_NAMESPACES += device/google/caimito/location/ripcurrent24
$(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT)) $(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT))
PRODUCT_PACKAGES += gps.cfg PRODUCT_PACKAGES += gps.cfg
# For GPS property
PRODUCT_VENDOR_PROPERTIES += ro.vendor.gps.pps.enabled=true
PRODUCT_VENDOR_PROPERTIES += \ PRODUCT_VENDOR_PROPERTIES += \
vendor.disable.thermal.control=1 \ vendor.disable.thermal.control=1 \

View file

@ -222,6 +222,8 @@ PRODUCT_SOONG_NAMESPACES += vendor/google_devices/caimito/prebuilts
PRODUCT_SOONG_NAMESPACES += device/google/caimito/location/ripcurrentpro PRODUCT_SOONG_NAMESPACES += device/google/caimito/location/ripcurrentpro
$(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT)) $(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT))
PRODUCT_PACKAGES += gps.cfg PRODUCT_PACKAGES += gps.cfg
# For GPS property
PRODUCT_VENDOR_PROPERTIES += ro.vendor.gps.pps.enabled=true
PRODUCT_VENDOR_PROPERTIES += \ PRODUCT_VENDOR_PROPERTIES += \
persist.device_config.configuration.disable_rescue_party=true persist.device_config.configuration.disable_rescue_party=true

View file

@ -267,6 +267,8 @@ PRODUCT_SOONG_NAMESPACES += vendor/google_devices/caimito/prebuilts
PRODUCT_SOONG_NAMESPACES += device/google/caimito/location/tokay PRODUCT_SOONG_NAMESPACES += device/google/caimito/location/tokay
$(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT)) $(call soong_config_set, gpssdk, buildtype, $(TARGET_BUILD_VARIANT))
PRODUCT_PACKAGES += gps.cfg PRODUCT_PACKAGES += gps.cfg
# For GPS property
PRODUCT_VENDOR_PROPERTIES += ro.vendor.gps.pps.enabled=true
# Display LBE # Display LBE
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1

View file

@ -10,7 +10,7 @@ gnss_device_patch_file=/vendor/firmware/kepler.bin
allow_logging_if_disconnected=0 allow_logging_if_disconnected=0
ism_stream_enable=1 ism_stream_enable=1
caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
Is1PPSTimeSyncEnable=0 Is1PPSTimeSyncEnable=1
MaxNtnRefLocAgeSecs=600 MaxNtnRefLocAgeSecs=600
GlueLayer_IsPlatformRefTimeEnable=1 GlueLayer_IsPlatformRefTimeEnable=1
chpp_betp_client=1 chpp_betp_client=1

View file

@ -27,7 +27,7 @@ ism_stream_enable=1
caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
# Enable/Disable 1PPS Time Sync policy # Enable/Disable 1PPS Time Sync policy
Is1PPSTimeSyncEnable=0 Is1PPSTimeSyncEnable=1
MaxNtnRefLocAgeSecs=600 MaxNtnRefLocAgeSecs=600
# CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK # CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK

View file

@ -10,7 +10,7 @@ gnss_device_patch_file=/vendor/firmware/kepler.bin
allow_logging_if_disconnected=0 allow_logging_if_disconnected=0
ism_stream_enable=1 ism_stream_enable=1
caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
Is1PPSTimeSyncEnable=0 Is1PPSTimeSyncEnable=1
MaxNtnRefLocAgeSecs=600 MaxNtnRefLocAgeSecs=600
GlueLayer_IsPlatformRefTimeEnable=1 GlueLayer_IsPlatformRefTimeEnable=1
chpp_betp_client=1 chpp_betp_client=1

View file

@ -27,7 +27,7 @@ ism_stream_enable=1
caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
# Enable/Disable 1PPS Time Sync policy # Enable/Disable 1PPS Time Sync policy
Is1PPSTimeSyncEnable=0 Is1PPSTimeSyncEnable=1
MaxNtnRefLocAgeSecs=600 MaxNtnRefLocAgeSecs=600
# CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK # CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK

View file

@ -10,7 +10,7 @@ gnss_device_patch_file=/vendor/firmware/kepler.bin
allow_logging_if_disconnected=0 allow_logging_if_disconnected=0
ism_stream_enable=1 ism_stream_enable=1
caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
Is1PPSTimeSyncEnable=0 Is1PPSTimeSyncEnable=1
MaxNtnRefLocAgeSecs=600 MaxNtnRefLocAgeSecs=600
GlueLayer_IsPlatformRefTimeEnable=1 GlueLayer_IsPlatformRefTimeEnable=1
chpp_betp_client=1 chpp_betp_client=1

View file

@ -27,7 +27,7 @@ ism_stream_enable=1
caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
# Enable/Disable 1PPS Time Sync policy # Enable/Disable 1PPS Time Sync policy
Is1PPSTimeSyncEnable=0 Is1PPSTimeSyncEnable=1
MaxNtnRefLocAgeSecs=600 MaxNtnRefLocAgeSecs=600
# CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK # CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK

View file

@ -10,7 +10,7 @@ gnss_device_patch_file=/vendor/firmware/kepler.bin
allow_logging_if_disconnected=0 allow_logging_if_disconnected=0
ism_stream_enable=1 ism_stream_enable=1
caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
Is1PPSTimeSyncEnable=0 Is1PPSTimeSyncEnable=1
MaxNtnRefLocAgeSecs=600 MaxNtnRefLocAgeSecs=600
GlueLayer_IsPlatformRefTimeEnable=1 GlueLayer_IsPlatformRefTimeEnable=1
chpp_betp_client=1 chpp_betp_client=1

View file

@ -27,7 +27,7 @@ ism_stream_enable=1
caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
# Enable/Disable 1PPS Time Sync policy # Enable/Disable 1PPS Time Sync policy
Is1PPSTimeSyncEnable=0 Is1PPSTimeSyncEnable=1
MaxNtnRefLocAgeSecs=600 MaxNtnRefLocAgeSecs=600
# CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK # CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK

View file

@ -10,7 +10,7 @@ gnss_device_patch_file=/vendor/firmware/kepler.bin
allow_logging_if_disconnected=0 allow_logging_if_disconnected=0
ism_stream_enable=1 ism_stream_enable=1
caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
Is1PPSTimeSyncEnable=0 Is1PPSTimeSyncEnable=1
MaxNtnRefLocAgeSecs=600 MaxNtnRefLocAgeSecs=600
GlueLayer_IsPlatformRefTimeEnable=1 GlueLayer_IsPlatformRefTimeEnable=1
chpp_betp_client=1 chpp_betp_client=1

View file

@ -27,7 +27,7 @@ ism_stream_enable=1
caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
# Enable/Disable 1PPS Time Sync policy # Enable/Disable 1PPS Time Sync policy
Is1PPSTimeSyncEnable=0 Is1PPSTimeSyncEnable=1
MaxNtnRefLocAgeSecs=600 MaxNtnRefLocAgeSecs=600
# CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK # CHIP_CONFIG_IO_OPT_HOSTIO_VIA_SECONDARY + CHIP_CONFIG_IO_OPT_CPMB_MASK