From 4ca4eaed9e46047c306698d65deb1f6bfad9dfa7 Mon Sep 17 00:00:00 2001 From: Eric Jeong Date: Wed, 20 Oct 2021 22:19:15 -0700 Subject: Enlengthen VHAL health check interval in AA emulator - Car watchdog checks VHAL health every 3s. - Emulator VHAL can't respond within 3s sometimes due to emulator perforamnce issue. - The interval is set to 10s to avoid the crash. Bug: 193742550 Test: VHAL should not be killed by car watchdog on AA emulator Change-Id: If8d6ceccad14d70e462d31c8a2efb93ce6c42d48 --- emulator/aosp_car_emulator.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emulator/aosp_car_emulator.mk b/emulator/aosp_car_emulator.mk index c0b0b59..05248d5 100644 --- a/emulator/aosp_car_emulator.mk +++ b/emulator/aosp_car_emulator.mk @@ -34,7 +34,8 @@ PRODUCT_COPY_FILES += \ device/generic/car/emulator/cluster/display_settings.xml:system/etc/display_settings.xml PRODUCT_PRODUCT_PROPERTIES += \ hwservicemanager.external.displays=1,400,600,120,0 \ - persist.service.bootanim.displays=8140900251843329 + persist.service.bootanim.displays=8140900251843329 \ + ro.carwatchdog.vhal_healthcheck.interval=10 ifeq (true,$(ENABLE_CLUSTER_OS_DOUBLE)) DEVICE_PACKAGE_OVERLAYS += device/generic/car/emulator/cluster/osdouble_overlay else -- cgit v1.2.3