Merge "Add Vulkan dEQP level feature flag"

This commit is contained in:
Sam Lin
2020-01-23 00:18:54 +00:00
committed by Android (Google) Code Review
2 changed files with 18 additions and 0 deletions

View File

@@ -2201,6 +2201,23 @@ public abstract class PackageManager {
@SdkConstant(SdkConstantType.FEATURE)
public static final String FEATURE_VULKAN_HARDWARE_VERSION = "android.hardware.vulkan.version";
/**
* Feature for {@link #getSystemAvailableFeatures} and
* {@link #hasSystemFeature(String, int)}: If this feature is supported, the feature version
* specifies a date such that the device is known to pass the Vulkan dEQP test suite associated
* with that date. The date is encoded as follows:
* <ul>
* <li>Year in bits 31-16</li>
* <li>Month in bits 15-8</li>
* <li>Day in bits 7-0</li>
* </ul>
* <p>
* Example: 2019-03-01 is encoded as 0x07E30301, and would indicate that the device passes the
* Vulkan dEQP test suite version that was current on 2019-03-01.
*/
@SdkConstant(SdkConstantType.FEATURE)
public static final String FEATURE_VULKAN_DEQP_LEVEL = "android.software.vulkan.deqp.level";
/**
* Feature for {@link #getSystemAvailableFeatures} and
* {@link #hasSystemFeature}: The device includes broadcast radio tuner.