diff options
author | Etan Cohen <etancohen@google.com> | 2019-01-08 12:09:18 -0800 |
---|---|---|
committer | Etan Cohen <etancohen@google.com> | 2019-03-11 16:15:43 -0700 |
commit | ddb720a85ed39b855984aff1d14a54dde0b6a011 (patch) | |
tree | 307626c04148f02bb4b265adad708a492137fcc0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | e17575c03e1c1fb92f01fb7ff5d56e76692ddaa4 (diff) |
[CS] Support "instant failure" from factories
Add a mechanism by which a factory can declare "instant failure" for
a request - which would result in it getting an OnUnavailable()
(even without a timeout).
Factories may only do this iff:
1. They know they are the only factory which may fulfill this
request (common for transport-specific requests).
2. The know that the request can definitely not be
fulfilled at any point in the future.
Bug: 31382922
Test: atest ConnectivityServiceTest
Merged-In: I9bce0f4d85fa8cad7f8a9998819f945b778c5ac5
Change-Id: I9bce0f4d85fa8cad7f8a9998819f945b778c5ac5
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions