summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2014-06-19 14:53:18 -0700
committerChristopher Tate <ctate@google.com>2014-06-19 16:18:21 -0700
commit5a009f9008d1f18b156c142b69e173109f5e218b (patch)
tree5a8753c7e7a9a63abb184b628c0f71953e556c03 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9c46e06478ddd821c9172c77f48fa7f64a870ad0 (diff)
Adjust full restore API
Introduces a new constant, BackupTransport.NO_MORE_DATA, defined to be -1. The transport returns this constant when asked for the next chunk of streaming full restore data to indicate that it has reached EOF on the current restore target's archive stream. If the transport returns TRANSPORT_PACKAGE_REJECTED from that same method, then the OS will abort the current target's restore operation and move on to the next package in the overall restore dataset (by calling nextRestorePackage() on the transport). If the transport returns zero when asked for the next chunk of restore stream data, this will be interpreted as meaning that no data is currently deliverable but the restore download is still running properly; the caller will then retry until either data is delivered or the transport reports NO_MORE_DATA (or an error). Also sketched in the implementation of this latest API in the test LocalTransport. Bug 15330073 Change-Id: I81621cb322f831460133b7dced5bb88d2a4124e1
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions