diff options
| author | Mike Lockwood <lockwood@android.com> | 2011-04-21 17:05:55 -0700 |
|---|---|---|
| committer | Mike Lockwood <lockwood@android.com> | 2011-04-22 07:11:20 -0700 |
| commit | 9df53fae3afd1c6b5278216be2fd33a255602aef (patch) | |
| tree | 8d0cdc8ade4364595d906dbd4d2340354ee37cc8 /graphics/java/android/renderscript/ProgramVertexFixedFunction.java | |
| parent | fb281f3ad7f78f9046fe3921fe0a2ab74fad5f82 (diff) | |
MTP: Add extended operations to support in-place editing of files
MTP does not support partial writes of files (the entire file must be transferred at once).
This makes it impossible to implement a FUSE file system for MTP
with acceptable performance.
To fix this problem, this change adds extended MTP operations to allow
partial writes to files:
SendPartialObject - allows writing a subset of a file, or appending to the end of a file
TruncateObject - allows changing the size of a file
BeginEditObject - must be called before using SendPartialObject and TruncateObject
EndEditObject - commits changes to a file after it has been edited with SendPartialObject or TruncateObject
We also add GetPartialObject64, which is the same as GetPartialObject
but has a 64 bit offset rather than 32.
Change-Id: I4b110748b97ae05cdc8aab02ecdbbbeb263f7840
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
