commit | c6930847115da384171b3eefb0fe3d62768cc8be | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Mon Oct 17 17:00:45 2022 +0900 |
committer | Jiyong Park <jiyong@google.com> | Mon Oct 17 20:08:09 2022 +0900 |
tree | ce164bb56ae07937f7ad1ca086c278c19c0e5d5b | |
parent | 0f525b165c0fd69d69b434ae4f21fb2444a7317b [diff] |
Use ro.product.vendor.device to determine if running on Cuttlefish So far, we used ro.product.name to check if the tests are running on Cuttlefish or not. However, that is errorprone because Cuttlefish (as a device) can run different variants of Android having different ro.product.name values. For example, the prop is aosp_[arch] for GSI (Generic System Image). Fix this by using the device name that is in the vendor partition. The partition is not replaced even with GSI. Bug: 253638551 Test: run MicrodroidHostTestCases -- --abi x86_64 on Cuttlefish running GSI Change-Id: I6671d27a58bc4bcf7a209bbbfd7fdc5f0417ac68
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.