diff options
author | Jeff Sharkey <jsharkey@android.com> | 2017-07-15 12:58:38 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2017-07-15 21:08:56 -0600 |
commit | 4233f032fd41e82d1ce09b48860f8ae3f73fa5e0 (patch) | |
tree | 311d8c0b7136e473895491681062a11e8f7a7d96 /rs/java/android/renderscript/ScriptC.java | |
parent | 53313d7e8153982f842910118371e1dc061248cd (diff) |
Test if allocation supported; @removed clean up.
SM.allocateBytes() doesn't offer a clear way to detect if a failed
request could ever succeed. (For example, we can never work with
pipes, or files on an unsupported storage device.) So give
developers a first-class API to test if allocation is supported.
If the underlying filesystem doesn't support fallocate(), fall back
to ftruncate() instead of failing completely.
Clean up @removed APIs that were refactoring during API 26 review
process.
Remove support for storing downloads on the /cache partition, which
doesn't exist on many devices.
Bug: 63057877
Test: bit DownloadProviderTests:*
Test: bit DocumentsUITests:com.android.documentsui.services.CopyJobTest
Test: bit DocumentsUITests:com.android.documentsui.services.MoveJobTest
Change-Id: I85d42a1a7240034b4f2a6f359011ac182bdce36e
Diffstat (limited to 'rs/java/android/renderscript/ScriptC.java')
0 files changed, 0 insertions, 0 deletions