Files
frameworks_base/core/java/android/os
Jeff Sharkey 4233f032fd 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
2017-07-15 21:08:56 -06:00
..
2016-10-19 11:29:47 -07:00
2017-07-12 16:06:20 -07:00
2017-04-27 16:24:26 -07:00
2017-05-10 15:58:09 -07:00
2017-06-29 15:07:12 -07:00
2017-04-24 13:20:46 -06:00
2017-06-28 16:49:12 -07:00
2017-06-28 16:49:12 -07:00
2016-11-04 10:43:25 -07:00
2016-10-03 16:03:31 -07:00