diff options
author | Darryl L Johnson <darryljohnson@google.com> | 2021-02-02 16:08:53 -0800 |
---|---|---|
committer | Darryl L Johnson <darryljohnson@google.com> | 2021-02-04 17:47:14 -0800 |
commit | c26defea8f5c6c0244888ab586a8b702ad701c91 (patch) | |
tree | b594ff8f8fb5a2d932ae7b50aadcc9f491c5ba72 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 951b54e2e0d7fc4173875027fffebb0e120f8be8 (diff) |
Add device state request APIs to DeviceStateManager.
This change promotes DeviceStateManager to a TestApi and exposes three
additional methods:
- getSupportedStates: returns a list of state ids that can be used with
requestState().
- submitRequest: requests that the device enter the supplied state.
- cancelRequest: clears the current requested device state.
to be used initially in CTS tests.
Bug: 177235528
Bug: 177236115
Test: atest DeviceStateManagerServiceTest
Test: atest DeviceStateManagerGlobalTest
Change-Id: Ieae9208420ddecea641a5c44f1610d3cb7071b07
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions