Merge "Add GLES dEQP level feature flag"

This commit is contained in:
Alastair Donaldson
2020-12-17 16:06:40 +00:00
committed by Gerrit Code Review
2 changed files with 18 additions and 0 deletions

View File

@@ -12142,6 +12142,7 @@ package android.content.pm {
field public static final String FEATURE_NFC_HOST_CARD_EMULATION_NFCF = "android.hardware.nfc.hcef";
field public static final String FEATURE_NFC_OFF_HOST_CARD_EMULATION_ESE = "android.hardware.nfc.ese";
field public static final String FEATURE_NFC_OFF_HOST_CARD_EMULATION_UICC = "android.hardware.nfc.uicc";
field public static final String FEATURE_OPENGLES_DEQP_LEVEL = "android.software.opengles.deqp.level";
field public static final String FEATURE_OPENGLES_EXTENSION_PACK = "android.hardware.opengles.aep";
field public static final String FEATURE_PC = "android.hardware.type.pc";
field public static final String FEATURE_PICTURE_IN_PICTURE = "android.software.picture_in_picture";

View File

@@ -2365,6 +2365,23 @@ public abstract class PackageManager {
@SdkConstant(SdkConstantType.FEATURE)
public static final String FEATURE_VULKAN_DEQP_LEVEL = "android.software.vulkan.deqp.level";
/**
* 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 OpenGLES 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: 2021-03-01 is encoded as 0x07E50301, and would indicate that the device passes the
* OpenGL ES dEQP test suite version that was current on 2021-03-01.
*/
@SdkConstant(SdkConstantType.FEATURE)
public static final String FEATURE_OPENGLES_DEQP_LEVEL = "android.software.opengles.deqp.level";
/**
* Feature for {@link #getSystemAvailableFeatures} and
* {@link #hasSystemFeature}: The device includes broadcast radio tuner.