diff options
author | Etan Cohen <etancohen@google.com> | 2019-01-08 12:09:18 -0800 |
---|---|---|
committer | Etan Cohen <etancohen@google.com> | 2019-02-13 08:44:51 -0800 |
commit | ae574a86738cb28bef7e23ed754ccaffd807b1c5 (patch) | |
tree | defef98c18efabdfd81494726f1b9eeb245f15a7 /rs/java/android/renderscript/ProgramStore.java | |
parent | 00aa3faa09eabb0582fc0eea065b5ad59b3bde32 (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
Change-Id: I9bce0f4d85fa8cad7f8a9998819f945b778c5ac5
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions