diff options
| author | Peter Collingbourne <pcc@google.com> | 2021-03-09 04:35:45 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-03-09 04:35:45 +0000 |
| commit | 127cb3ff8f1122973b6afa45045d4de8e6806fac (patch) | |
| tree | c8710b95215f3c62e7749ea5ce99c01ac203f11b /core/java/android/os/Build.java | |
| parent | bc77f267612fb186f3a2db28597fc43c93789712 (diff) | |
| parent | 37374c9b6b267bf09c2fa6ef1ad8a09d418034ed (diff) | |
Merge "Add support for a hw_timeout_multiplier system property." into sc-dev
Diffstat (limited to 'core/java/android/os/Build.java')
| -rwxr-xr-x | core/java/android/os/Build.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/java/android/os/Build.java b/core/java/android/os/Build.java index a5b0e8d149ef..83f78a56487a 100755 --- a/core/java/android/os/Build.java +++ b/core/java/android/os/Build.java @@ -1117,6 +1117,18 @@ public class Build { } /** + * A multiplier for various timeouts on the system. + * + * The intent is that products targeting software emulators that are orders of magnitude slower + * than real hardware may set this to a large number. On real devices and hardware-accelerated + * virtualized devices this should not be set. + * + * @hide + */ + public static final int HW_TIMEOUT_MULTIPLIER = + SystemProperties.getInt("ro.hw_timeout_multiplier", 1); + + /** * True if Treble is enabled and required for this device. * * @hide |
