summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorDarryl L Johnson <darryljohnson@google.com>2021-02-03 09:51:33 -0800
committerDarryl L Johnson <darryljohnson@google.com>2021-02-10 22:29:06 -0800
commit836dc0dae8c724fab9a5bab8c3eba0738500eb75 (patch)
tree7f19a7fa2e458ed1bb26b5233cbe8632832bc798 /rs/java/android/renderscript/ProgramStore.java
parent8dcb37ccc10a8c9ddbdf2fd8bfd8f1d6d34f7e19 (diff)
Add MAX/MIN_DEVICE_STATE constants to restrict possible states to range.
This adds a MAXIMUM_DEVICE_STATE and MINIMUM_DEVICE_STATE constant to DeviceStateManager that contains the max allowed device state indentifier which reserves any larger values for future defined constants in the platform. The constant will be used by CTS to validate that the set of supported states is in the range [MINIMUM_DEVICE_STATE, MAXIMUM_DEVICE_STATE]. The values match the max allowed value returned by the default provider impl which is defined in the XSD schema. Bug: 159401801 Bug: 177235528 Test: atest DeviceStateTest Change-Id: Ia5a8e2841bac19d36e9d6cd00950d09628a7f719
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions