Snap for 7878308 from 4e18aa73ea to tm-release

Change-Id: I17a6e9a715aa110009c4c80756db04ea54f443e8
This commit is contained in:
Android Build Coastguard Worker 2021-11-03 01:01:42 +00:00
commit f9b6b51fe9
4 changed files with 20 additions and 0 deletions

View file

@ -1072,6 +1072,9 @@ $(call inherit-product, packages/modules/Virtualization/apex/product_packages.mk
PRODUCT_BUILD_PVMFW_IMAGE := true
ifeq ($(TARGET_PKVM_ENABLED),true)
PRODUCT_PACKAGES += pkvm_enabler
else
PRODUCT_COPY_FILES += \
device/google/gs101/pkvm/pkvm_experiment.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/pkvm_experiment.rc
endif
# Enable watchdog timeout loop breaker.

View file

@ -214,6 +214,7 @@ void dumpCameraLogs(int fd, const std::string &destDir) {
// sessions or starts a new session after the one with performance issues).
dumpLogs(fd, kCameraLogDir, cameraDestDir, 10, "session-ended-");
dumpLogs(fd, kCameraLogDir, cameraDestDir, 5, "high-drop-rate-");
dumpLogs(fd, kCameraLogDir, cameraDestDir, 5, "watchdog-");
}
timepoint_t startSection(int fd, const std::string &sectionName) {

13
pkvm/pkvm_experiment.rc Normal file
View file

@ -0,0 +1,13 @@
service vendor.pkvm_enable /vendor/bin/misc_writer --set-enable-pkvm
disabled
oneshot
service vendor.pkvm_disable /vendor/bin/misc_writer --set-disable-pkvm
disabled
oneshot
on property:persist.device_config.virtualization_framework_native.isolated_compilation_enabled=true
start vendor.pkvm_enable
on property:persist.device_config.virtualization_framework_native.isolated_compilation_enabled=false
start vendor.pkvm_disable

View file

@ -132,4 +132,7 @@
<bool translatable="false" name="config_wifiDefaultCoexAlgorithmEnabled">true</bool>
<!-- Whether to use the explicit vendor HAL API: IWifiStaIface.setRoamingState for disabling fw roaming. -->
<bool translatable="false" name="config_wifiUseHalApiToDisableFwRoaming">true</bool>
<!-- Indicate the driver doesn't support NL80211 Reg changed event -->
<bool translatable="false" name="config_wifiDriverSupportedNl80211RegChangedEvent">false</bool>
</resources>